|
-
Jan 16th, 2001, 10:24 AM
#1
Thread Starter
Hyperactive Member
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.
-
Jan 16th, 2001, 10:28 AM
#2
Fanatic Member
Hi msdnexpert
I take it it has been registerd with regsvr32 and if you have changed the dll it has been re-registerd
Ian
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
Jan 16th, 2001, 10:55 AM
#3
Thread Starter
Hyperactive Member
Yes Ian it has been registered ans re-registered whenever it was recompiled.
-
Jan 16th, 2001, 10:58 AM
#4
Fanatic Member
Have you got it hooked up with MTS oris it running solely off of IIS
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
Jan 16th, 2001, 11:10 AM
#5
Thread Starter
Hyperactive Member
Well Ian I have hooked it in the web server.
-
Jan 16th, 2001, 11:10 AM
#6
Thread Starter
Hyperactive Member
Well Ian I have hooked it in the web server not in MTS
-
Jan 16th, 2001, 11:29 AM
#7
Fanatic Member
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
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
Jan 16th, 2001, 08:01 PM
#8
Thread Starter
Hyperactive Member
Well Ian it was running previously and it stopped running all of a sudden. I just can't figure out the reason for it.
-
Jan 17th, 2001, 04:01 AM
#9
Fanatic Member
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
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
Jan 17th, 2001, 05:43 AM
#10
Thread Starter
Hyperactive Member
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.
-
Jan 17th, 2001, 05:54 AM
#11
Fanatic Member
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
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
Jan 18th, 2001, 05:02 AM
#12
Thread Starter
Hyperactive Member
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.
-
Jan 18th, 2001, 05:11 AM
#13
Fanatic Member
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. ?
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
Jan 18th, 2001, 05:18 AM
#14
Fanatic Member
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
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|