Click to See Complete Forum and Search --> : Automation error
msdnexpert
Jan 16th, 2001, 09:24 AM
Dear all,
I have got this serious error. I have some COM components (Activex DLL) on my web server. When I invoke an ASP page that creates a reference to the DLL I get an error message "Automation server cannot create object". I can't figure out why this error occurs. And once this error occurs the object gets hanged in the web server and I have to restart the web server. Any ideas suggestions.
Ianpbaker
Jan 16th, 2001, 09:28 AM
Hi msdnexpert
I take it it has been registerd with regsvr32 and if you have changed the dll it has been re-registerd
Ian
msdnexpert
Jan 16th, 2001, 09:55 AM
Yes Ian it has been registered ans re-registered whenever it was recompiled.
Ianpbaker
Jan 16th, 2001, 09:58 AM
Have you got it hooked up with MTS oris it running solely off of IIS
msdnexpert
Jan 16th, 2001, 10:10 AM
Well Ian I have hooked it in the web server.
msdnexpert
Jan 16th, 2001, 10:10 AM
Well Ian I have hooked it in the web server not in MTS
Ianpbaker
Jan 16th, 2001, 10:29 AM
was it running before hand or is it the first time you've tried the pages. I've asked these thing beecuase the only time i've had anything like this happening was when the dll wasn't registered properly and when MTS decided to go awol on me
msdnexpert
Jan 16th, 2001, 07:01 PM
Well Ian it was running previously and it stopped running all of a sudden. I just can't figure out the reason for it.
Ianpbaker
Jan 17th, 2001, 03:01 AM
The only thing I can think of doing is unregistering the DLL (regsvr32 /u) restarting the web server, deleting the dll and then putting it back in and registering it. If you do that and it still doesn't work, then i'm stumped
Ian
msdnexpert
Jan 17th, 2001, 04:43 AM
Dear Ian,
Thanks for the replies. Well actually I had tried unregestring,deleting and regestering the DLL umpteen number of times before I posted here. Also I have been able to resolve the problem to some extent. The error occurs because of some security rights. The default user on my web server named "PLUTO" is IUSER_PLUTO. I had changed some of the directory security settings for my website which I am unable to roll back. The default web user has very little privileges. It has only guest privilege. Before I encountered the problem it was working fine. Then I made some changes in the directory security settings. I had enabled the option Allow Anonymous Access after which I have been facing this problem. Now I had to make some changes in the default web user and give him Administrator privileges as well. Only then did i stop getting the error.
Well I am trying to roll back to my previous state. Well after reading this long story do you have any clues/ideas.
Ianpbaker
Jan 17th, 2001, 04:54 AM
Is the dll residing in one of the folders where you have changed the security rights. If it is try un-regestring it and stick it in the system32 folder and give it a try. Just a hunch
Ian
msdnexpert
Jan 18th, 2001, 04:02 AM
Dear Ian,
The DLL is residing in the web server. The error seems to occurs because the directory security has been set to Allow Anonymous Access. Once I remove this setting the error just goes off. But I can't understand why? Actually a web site should be configured to allow anonymous access.
Ianpbaker
Jan 18th, 2001, 04:11 AM
Ok then looking at this from the other side. has the IIS user account got the right NT privelleges for the physical folder where the dll is residing. ?
Ianpbaker
Jan 18th, 2001, 04:18 AM
Sorry msdn
ignore the above post. try the following. open up win explorer, goto the folder www root folder and go to the security settings. select the IUSER_PLUTO account and then tick the tick box that says Replace permissions on sub directories and apply. If that doesn't work then I'm completly out of idea's
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.