1
votes

I have just started setting up an existing project in classic asp on my local environment and I am stuck getting this error "Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed"

The line where I am getting the error is as follows:

Server.CreateObject("WebCache.SqlStream")

Please help me in getting this error fixed.

I am using IIS 7.5 on Windows 7 machine.

1

1 Answers

2
votes

The problem is the ProgId WebCache.SqlStream is not registered with COM, this can happen for a number of reasons.

  • The most common reason is the DLL file associated with the COM component is not registered on the server this can be done using the regsvr32.exe "fullpath\dllname.dll"

  • The DLL file is registered but has been moved or there is a permission issue (usually in relation to reading the corresponding registry keys).

  • The system is x64 architecture and the ASP application is running in 32-bit mode in the application pool. What happens in this scenario is the DLL is registered using the 64 bit version of regsvr32.exe this places the ProgId into the 64 bit registry hive. To fix this you need to run the 32 bit version of regsvr32.exe. In 64 bit Windows Server Operating systems and Windows Vista (or above) it can be found in %SystemRoot%\SysWOW64 which contains 32 bit equivalents of Windows system files.

There is also some useful information about what to check in this Microsoft Support Article - PRB: Server Object Error 'ASP 0177:80040154' Server.CreateObject