I\'m trying to execute classic ASP pages on a windows 2008 64 bit R2 box.
Initially the problem was with registering dlls : That\'s now fixed. Register DLL file on W
Just ran into this same error while trying to use my own com control and in my case it turned out to be caused by my dll being compiled in debug mode.
There are two ways around that:
Run IIS in debug mode. For 32 bit you use the following line: C:\Windows\SysWOW64\inetsrv>w3wp.exe -debug
Note that you have to stop the IIS service and for 64 bit you use the one in System32.
Compile a release version :)