Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server.CreateObject

Status
Not open for further replies.

larrygot

Programmer
May 15, 2001
33
US
My ASP pages work fine on one NT 4 server running IIS 4.0 . On another NT 4 machine the following error appears once a data connection is attempted within the code:

-
Server object error 'ASP 0177 : 8002801d'

Server.CreateObject Failed

/datamatch/index-new.asp, line 14

Library not registered.
-

I can't find information addressing this on Microsoft's site. Any help would be appreciated. Thanks.
 
I would have to see more of the code but it looks like its calling a DLL that has not been registered on the server.
 
It is sure that you are using a library that is not registered.

a. To find out what library is not registered:
1. Open a Regedit (from start->run->regedit)
2. Look for the string that you gave as argument to the Server.CreateObject (for example "Scripting.FileSystemObject") with F3
3. When you have found it in the same key there should be a key called InProcServer(COM standard for COMM DLLs) that has a file name and a path in it.
4. That is the library you have to register (let's name the full-path library xxx)

b. To register your library at a command prompt you type
regsvr32 xxx
(if you wish to unregister a bad registration you type
regsvr32 /u xxx) s-)

Blessed is he who in the name of justice and good will, shepards the week through the valley of darknees...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top