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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error: Server execution failed

Status
Not open for further replies.

september

Programmer
Jun 20, 2000
2
CA
I have found lots of information on this error - but being a rooky to DCOM & MTS I can't make it go away!!<br><br>I have a simple DLL written in Visual C++.&nbsp;&nbsp;I used MTS to register the DLL to use in our websites.&nbsp;&nbsp;On my machine a the office test server it works fine.&nbsp;&nbsp;The same DLL registered on our production server does not work.&nbsp;&nbsp;I get the error:<br><br>Server object error 'ASP 0177 : 80080005' <br><br>Server.CreateObject Failed <br><br>/checkout/asptear_test.asp, line 9 <br><br>Server execution failed <br><br>More Info:<br>I use the command Server.CreateObject<br><br>In MTS the Package is set up to use &quot;Interactive User - the current logged on user&quot;<br><br>Both Administrator (the logged in user on the production machine) and Everyone have &quot;Login as Batch&quot; privilege.&nbsp;&nbsp;Although I don't really know what this means, or who need this priviledge...<br><br>I ran DCOMCFG, everything looks like it does in my help file<br><br>I checked the registry, all the path's and CLSID appear to be right.<br><br>In the Event logs I get the following messages:<br><br>The server {855A1C80-AE01-11D1-962A-080009AC281A} did not register with DCOM within the required timeout. <br><br>Handle Closed:<br>&nbsp; Object Server: Security Account Manager<br>&nbsp; Handle ID: 1603120<br>&nbsp; Process ID: 2162779264<br><br>&nbsp;Object Open:<br>&nbsp; Object Server: Security Account Manager<br>&nbsp; Object Type: SAM_DOMAIN<br>&nbsp; Object Name: BRAIN<br>&nbsp; New Handle ID: -<br>&nbsp; Operation ID: {0,7468262}<br>&nbsp; Process ID: 2162779264<br>&nbsp; Primary User Name: SYSTEM<br>&nbsp; Primary Domain: NT AUTHORITY<br>&nbsp; Primary Logon ID: (0x0,0x3E7)<br>&nbsp; Client User Name: <br>&nbsp; Client Domain: <br>&nbsp; Client Logon ID: (0x0,0x3B3B)<br>&nbsp; Accesses CreateLocalGroup <br> LookupIDs <br> <br>&nbsp; Privileges -<br>&nbsp;<br>Object Open:<br>&nbsp; Object Server: Security Account Manager<br>&nbsp; Object Type: SAM_DOMAIN<br>&nbsp; Object Name: BRAIN<br>&nbsp; New Handle ID: -<br>&nbsp; Operation ID: {0,7468262}<br>&nbsp; Process ID: 2162779264<br>&nbsp; Primary User Name: SYSTEM<br>&nbsp; Primary Domain: NT AUTHORITY<br>&nbsp; Primary Logon ID: (0x0,0x3E7)<br>&nbsp; Client User Name: <br>&nbsp; Client Domain: <br>&nbsp; Client Logon ID: (0x0,0x3B3B)<br>&nbsp; Accesses CreateLocalGroup <br> LookupIDs <br> <br>&nbsp; Privileges -<br>&nbsp;<br><br>I hope this is enough info (I have been collecting it for 2 days!!).&nbsp;&nbsp;We have all the service packs installed (VS 6, MDAC 2.1, NT).&nbsp;&nbsp;BTW all the machines are NT running SQL 7.0 and IIS 5.0.<br><br>TIA<br>September<br>
 
The web server sometimes doesn't have sufficient user privilege to do some of the stuff you want it to.&nbsp;&nbsp;You may find this problem will go away if you specify a username with which you can run the package.<br><br>Hope this helps
 
I have since switched to logon as 'This User', this user being Administrator.&nbsp;&nbsp;It doesn't make any difference.&nbsp;&nbsp;Even with &quot;Intereactive User - currently logged on user&quot; I was logged onto the machine with Administrator.
 
Don't run it under a local system Account, I think it may be trying to use network resources, but I changed mine to this user and used a domain account and it worked!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top