<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>The famous 'Class not registered'</title><link>http://msmvps.com/blogs/bernard/archive/2005/03/22/39216.aspx</link><description>Typically, you will encounter this error with XP Pro IIS 5.1. As usual, there's way to solve it, however the root cause of this is still unknown :) Anyway, you will get this in event log: Event Type: Warning Event Source: W3SVC Event Category: None Event</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>IIS - Internal Server Error, Class not registered &amp;laquo; Caveman&amp;#8217;s Blog</title><link>http://msmvps.com/blogs/bernard/archive/2005/03/22/39216.aspx#1637111</link><pubDate>Mon, 23 Jun 2008 21:15:56 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1637111</guid><dc:creator>IIS - Internal Server Error, Class not registered « Caveman’s Blog</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;IIS - Internal Server Error, Class not registered &amp;amp;laquo; Caveman&amp;amp;#8217;s Blog&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1637111" width="1" height="1"&gt;</description></item><item><title>IIS - Internal Server Error, Class not registered &amp;laquo; Caveman&amp;#8217;s Blog</title><link>http://msmvps.com/blogs/bernard/archive/2005/03/22/39216.aspx#1637110</link><pubDate>Mon, 23 Jun 2008 21:15:53 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1637110</guid><dc:creator>IIS - Internal Server Error, Class not registered « Caveman’s Blog</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;IIS - Internal Server Error, Class not registered &amp;amp;laquo; Caveman&amp;amp;#8217;s Blog&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1637110" width="1" height="1"&gt;</description></item><item><title>IIS - Internal Server Error, Class not registered &amp;laquo; Caveman&amp;#8217;s Blog</title><link>http://msmvps.com/blogs/bernard/archive/2005/03/22/39216.aspx#1637108</link><pubDate>Mon, 23 Jun 2008 20:59:28 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1637108</guid><dc:creator>IIS - Internal Server Error, Class not registered « Caveman’s Blog</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;IIS - Internal Server Error, Class not registered &amp;amp;laquo; Caveman&amp;amp;#8217;s Blog&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1637108" width="1" height="1"&gt;</description></item><item><title>IIS - Internal Server Error, Class not registered &amp;laquo; Caveman&amp;#8217;s Blog</title><link>http://msmvps.com/blogs/bernard/archive/2005/03/22/39216.aspx#1637107</link><pubDate>Mon, 23 Jun 2008 20:59:26 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1637107</guid><dc:creator>IIS - Internal Server Error, Class not registered « Caveman’s Blog</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;IIS - Internal Server Error, Class not registered &amp;amp;laquo; Caveman&amp;amp;#8217;s Blog&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1637107" width="1" height="1"&gt;</description></item><item><title>IIS - Internal Server Error, Class not registered &amp;laquo; Caveman&amp;#8217;s Blog</title><link>http://msmvps.com/blogs/bernard/archive/2005/03/22/39216.aspx#1637104</link><pubDate>Mon, 23 Jun 2008 20:58:50 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1637104</guid><dc:creator>IIS - Internal Server Error, Class not registered « Caveman’s Blog</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;IIS - Internal Server Error, Class not registered &amp;amp;laquo; Caveman&amp;amp;#8217;s Blog&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1637104" width="1" height="1"&gt;</description></item><item><title>IIS - Internal Server Error, Class not registered &amp;laquo; Caveman&amp;#8217;s Blog</title><link>http://msmvps.com/blogs/bernard/archive/2005/03/22/39216.aspx#1637103</link><pubDate>Mon, 23 Jun 2008 20:58:48 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1637103</guid><dc:creator>IIS - Internal Server Error, Class not registered « Caveman’s Blog</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;IIS - Internal Server Error, Class not registered &amp;amp;laquo; Caveman&amp;amp;#8217;s Blog&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1637103" width="1" height="1"&gt;</description></item><item><title>class not registered</title><link>http://msmvps.com/blogs/bernard/archive/2005/03/22/39216.aspx#1619017</link><pubDate>Sat, 10 May 2008 19:17:35 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1619017</guid><dc:creator>class not registered</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;class not registered&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1619017" width="1" height="1"&gt;</description></item><item><title>error code 8004e00f</title><link>http://msmvps.com/blogs/bernard/archive/2005/03/22/39216.aspx#1578701</link><pubDate>Wed, 09 Apr 2008 00:23:15 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1578701</guid><dc:creator>error code 8004e00f</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;error code 8004e00f&lt;/p&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1578701" width="1" height="1"&gt;</description></item><item><title>www.consultmelive.com &amp;raquo; To fix http 500 error on HP Pavillion 5000 after Dot Net and IIS Install.</title><link>http://msmvps.com/blogs/bernard/archive/2005/03/22/39216.aspx#482658</link><pubDate>Wed, 10 Jan 2007 23:05:36 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:482658</guid><dc:creator>www.consultmelive.com » To fix http 500 error on HP Pavillion 5000 after Dot Net and IIS Install.</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://consultmelive.com/2007/01/10/to-fix-http-500-error-on-hp-pavillion-5000-after-dot-net-and-iis-install/"&gt;http://consultmelive.com/2007/01/10/to-fix-http-500-error-on-hp-pavillion-5000-after-dot-net-and-iis-install/&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=482658" width="1" height="1"&gt;</description></item><item><title>re: The famous 'Class not registered'</title><link>http://msmvps.com/blogs/bernard/archive/2005/03/22/39216.aspx#203754</link><pubDate>Tue, 24 Oct 2006 02:11:21 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:203754</guid><dc:creator>Chris</dc:creator><description>Awesome! I don't normally leave comments, but this just saved me too much time not to voice my appreciation. Well Done.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=203754" width="1" height="1"&gt;</description></item><item><title>re: The famous 'Class not registered'</title><link>http://msmvps.com/blogs/bernard/archive/2005/03/22/39216.aspx#193614</link><pubDate>Sat, 21 Oct 2006 00:21:23 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:193614</guid><dc:creator>Steve</dc:creator><description>I thought I should add to Ravi's problem with McAfee Virus scan..

This problems also occurs when Norton AntiVirus Auto Protect is enabled.

So, when installing IIS remember to switch your virus scanner OFF!&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=193614" width="1" height="1"&gt;</description></item><item><title>re: The famous 'Class not registered'</title><link>http://msmvps.com/blogs/bernard/archive/2005/03/22/39216.aspx#186415</link><pubDate>Thu, 19 Oct 2006 00:46:34 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:186415</guid><dc:creator>qbernard</dc:creator><description>&lt;p&gt;So you got the same error again?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=186415" width="1" height="1"&gt;</description></item><item><title>re: The famous 'Class not registered'</title><link>http://msmvps.com/blogs/bernard/archive/2005/03/22/39216.aspx#184747</link><pubDate>Wed, 18 Oct 2006 15:40:17 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:184747</guid><dc:creator>Mark</dc:creator><description>I was getting all of the above.  However my event log also showed that MSDTC was not starting up. My fix script was as follows:

:: repair MSDTC
cd c:\windows\system32\

msdtc -uninstall 
msdtc -install
msdtc -resetlog

:: repair IIS Package

cd c:\windows\system32\inetsrv

rundll32 wamreg.dll, CreateIISPackage 
regsvr32 asptxn.dll 
IISRESET 

Ran in under a minute and worked like a charm.

This was my first time using ASP on this XPSP2 box, so it may never have been working.  The MSDTC errors go way back in my log.  I cannot provide any insight as to the all important when did it started.  Root cause(s) remain unknown...  &lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=184747" width="1" height="1"&gt;</description></item><item><title>re: The famous 'Class not registered'</title><link>http://msmvps.com/blogs/bernard/archive/2005/03/22/39216.aspx#130730</link><pubDate>Mon, 18 Sep 2006 01:33:48 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:130730</guid><dc:creator>qbernard</dc:creator><description>&lt;p&gt;Yeah, glad you fixed it.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=130730" width="1" height="1"&gt;</description></item><item><title>re: The famous 'Class not registered'</title><link>http://msmvps.com/blogs/bernard/archive/2005/03/22/39216.aspx#130539</link><pubDate>Sun, 17 Sep 2006 17:34:49 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:130539</guid><dc:creator>Frank M. Allen (aka frankienapoli)</dc:creator><description>Success!!!

Here is what I found on my HP dv8000z.

It looks like the MSDTC service was never installed.  

All I did was:

uninstall IIS.
run msdtc.exe -install
run msdtc.exe -resetlog
start msdtc service
install iis
run aspnet_regiis -i

In IE I type

/localhost

and get the welcome page.

I start VS, create a C# Web App that defaults to 
/localhost/WebApplication1

and I go back to IE

/localhost/WebApplication1/WebForm1.aspx

and it works.

Thanks all for all the info.  Because this is showing up on the HP boxes, I suspect they just neglected to install MSDTC service when they set the boxes up.

Anyway, I hope that helps someone else.  I was anticipating a long afternoon but didn't have to edit the registry at all and it took about 15 mins.

Good luck all.

Frank&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=130539" width="1" height="1"&gt;</description></item><item><title>re: The famous 'Class not registered'</title><link>http://msmvps.com/blogs/bernard/archive/2005/03/22/39216.aspx#128358</link><pubDate>Fri, 15 Sep 2006 06:12:05 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:128358</guid><dc:creator>qbernard</dc:creator><description>&lt;p&gt;Thanks Ray for sharing your solution.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=128358" width="1" height="1"&gt;</description></item><item><title>re: The famous 'Class not registered'</title><link>http://msmvps.com/blogs/bernard/archive/2005/03/22/39216.aspx#125629</link><pubDate>Wed, 13 Sep 2006 11:19:25 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:125629</guid><dc:creator>Ray</dc:creator><description>I had a slightly different problem. My ASP just would not execute...no error messages to lead me on, the page just loaded forever.

I tried all the fixes noted above, but it still did not work. I even reinstalled with McAfee disabled and did all the fixes again.

By chance I picked up a tip through another forum that my GLOBAL.ASA file could be the problem, so I renamed it and WHAM, the ASP ran like a dream! However, that was not the end of my misery because no database access was possible without GLOBAL.ASA, so I continued my research and discovered that the Function FrontPage_FileExists(fspath) was the guilty party. I modified it as follows:

Function FrontPage_FileExists(fspath)
	On Error Resume Next
	FrontPage_FileExists = False
	set fs = CreateObject("Scripting.FileSystemObject")
	'begin of replacement part
	if (fs.FileExists(fspath)) then
		FrontPage_FileExists = True
	end if
	'end of replacement part
	'begin of deleted part
	' Err.Clear
	' set istream = fs.OpenTextFile(fspath)
	' if Err.Number = 0 then
	' FrontPage_FileExists = True
	' istream.Close
	' end if
	' set istream = Nothing
	'end of deleted part
	set fs = Nothing
End Function

Again, that was not the complete solution as I got an ODBC error as follows:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager]Data source name not found and no default driver specified. 

The solution to that is too long to describe here, but you can find it at:
http://support.microsoft.com/kb/306345/EN-US/

After doing what they told me I restarted the IIS using IISRESET and I was SOLVED!!

I hope this helps somebody as it is invaluable information that can take days to find...&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=125629" width="1" height="1"&gt;</description></item><item><title>Unwilling ASP'</title><link>http://msmvps.com/blogs/bernard/archive/2005/03/22/39216.aspx#124541</link><pubDate>Tue, 12 Sep 2006 21:04:25 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:124541</guid><dc:creator>Ray</dc:creator><description>My problem is that my ASP pages just will not execute on XP Pro...no error messages or anything, they just freeze up and do nothing. It's the most frustrating thing I have ever encountered!!!

I disabled McAfee, uninstalled and reinstalled, ran all the tips above (no errors), set security permissions, did the works. Pure HTML works fine, but when I load an ASP page the browser loads forever...a permanent FREEZE with no error messages.

Is there somebody who can shed some light on this behaviour? Please...
Ray &lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=124541" width="1" height="1"&gt;</description></item><item><title>re: The famous 'Class not registered'</title><link>http://msmvps.com/blogs/bernard/archive/2005/03/22/39216.aspx#118016</link><pubDate>Fri, 08 Sep 2006 12:33:12 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:118016</guid><dc:creator>Mike K</dc:creator><description>Thansk for the great tip. I ran the cited KB and dll commands in the top post and it FINALLY works after 2 days of searching for the answer.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=118016" width="1" height="1"&gt;</description></item><item><title>re: The famous 'Class not registered'</title><link>http://msmvps.com/blogs/bernard/archive/2005/03/22/39216.aspx#115410</link><pubDate>Thu, 07 Sep 2006 02:45:40 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:115410</guid><dc:creator>qbernard</dc:creator><description>&lt;p&gt;I don't know what is loaded with dv8000z. is it XP Pro, are you having the 'class not registered' error msgs or ? &amp;nbsp;have you install IIS ?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=115410" width="1" height="1"&gt;</description></item></channel></rss>