PDA

View Full Version : ASP Error Mesage ASP0177


newbie coder
05-18-2006, 12:13 PM
I have attempted to substaniate an instance of an object several times on different pages, as follows:
dim objAd
set objAd = Server.CreateObject("MSWC.AdRotator")

dim objNL
set objNL = Server.CreateObject("MSWC.NextLink")

dim objFSO,objFile
set objFSO = Server.CreateObject("Scripting.FileSystemObject")

Each time I've encountered an ASP error:
Server Object failed: 'ASP0177 800401F3'
Invalid class string

My computer underwent a massive virus attack about a month ago, could that have caused this situation?

Spudhead
05-18-2006, 12:27 PM
Tip: if your computer says something that you don't understand, Google it first.


First check you have the correct version of mfc42.dll
Perhaps you registered the component with regsvr32 in one subdirectory and moved it to another. Reregister it.
Perhaps IIS or the login context of the application running the component does not have proper security permissions to access the component or the directory you installed it to.
Maybe your server is running low on memory.
Maybe you need to restart the IIS server or machine after registering the component.

Tip from the top: One user solved the problem which he had on his 2nd NT-Server, by setting read/write access for the user "IUSR_xx" in the directory containing the OCX component.