PRB: Server.CreateObject Fails for Local Servers(EXEs)ID: Q156675
|
When you call Server.CreateObject on a local server, the following error appears:
As a result, the local server is not launched.Initialization of dynamic-link library C:\Winnt35\System\User32.dll failed. The process is terminating abnormally.
This error occurs because Internet Information Server (IIS) attempts to launch the local server using the IUSR_computername(Internet Guest) account. The IUSR_computername account does not have access to the window station and desktop, so the User32.dll file fails to load. This problem does not occur if you launch an In-Proc(DLL) server because it runs in the same process space as IIS, which has already loaded User32.dll at startup.
In order to launch servers from Denali, you must complete the following
steps. Step 1 is necessary for both In-Proc(DLL) and Local(EXE) servers,
while step 2 is necessary only for local servers.
For the latest Knowledge Base articles and other support information on Visual InterDev and Active Server Pages, see the following page on the Microsoft Technical Support site:
http://support.microsoft.com/support/vinterdev/
Additional query words:
Keywords : kbenv kbASP kbCOMt kbJScript kbScript kbVBScript kbGrpASP
Version : winnt:
Platform : winnt
Issue type : kbprb
Last Reviewed: May 27, 1999