Groups | Blog | Home
all groups > inetserver asp components > october 2003 >

inetserver asp components : Server.CreateObject error


sam_desh NO[at]SPAM yahoo.com
10/28/2003 12:50:25 PM
I am getting an error while executing the line, Server.CreateObject.

The error is

Server object, ASP 0177 (0x800AEA5F)

I am using IIS5, Windows 2000 Server.
I have made sure that the dll is registered. I could not find any help
for the 800aea5f.

Any help will be highly appreciated!!!

Thanks,
Aaron Bertrand - MVP
10/28/2003 3:55:22 PM
[quoted text, click to view]

Is that the whole line? If not, could you include it all please?

sam_desh NO[at]SPAM yahoo.com
10/29/2003 7:06:19 AM
The entire line has

dim obj
set obj = Server.CreateObject("a.b")

a: dll name
b: class name

I am using this in VS.NET. Do we need to declare the dll somewhere in
the VS.Net before using it? This is because other calls made by
Server.CreateObject work fine. It is only this dll that is causing
problem.

Please let me know about it.

Thanks,
Sameer
[quoted text, click to view]
Ange
12/9/2004 9:59:47 AM
Hello.

I am getting the same error, and I cannot find any answer.
does anyone know the solution now?
thanks in advance.
Ange.
Dar
4/15/2005 12:00:00 AM
I've had this problem a couple of times now. The error is just not recognised by Microsoft at all, so you're on your own. Try this:

1) Confirm that the web server has only one PROG ID assigned for the component in question. If in doubt, remove all registry information for the component and re-register it. Make sure that any newly compiled version is binary compatible with the current one.

2) I had a component which was set to single threaded instead of apartment threaded and thought this might cause a problem. Sadly, I could not isolate this as the cause, but among changing other things, changing this resolved the problem.

3) Restart IIS (and Component Services if the DLL is regsitered there)

4) Check directory security for the component on the web server. Ensure that the correct IIS user has access to the component

5) If all else fails, kick the web server (or any machine you can find really) and post here again with any updated information on the error

From http://www.developmentnow.com/g/60_2003_10_0_0_254236/Server-CreateObject-error.ht

Posted via DevelopmentNow.com Group
AddThis Social Bookmark Button