The information in this article applies to:
SYMPTOMSWhen calling a Desktop Application (such as Microsoft Word) from Active Server Pages (ASP), the following behavior might occur:
CAUSE
The error occurs because the server is running in the IUSR_computername account and cannot connect to the window station and desktop of the Internet Information Server (IIS) process in the LocalSystem account.
RESOLUTION
You can resolve this problem by configuring the server using the RunAs registry value to run under a user account. You can specify The interactive user if an interactive user is logged on; otherwise, use a specific user account if an interactive user is not logged on. If you specify The interactive user, the server runs in the interactive user's account and connects to the interactive desktop. If a specific user account is specified, the server runs in that account and connects to its own window station and desktop.
If you are using a DLL to create an instance of the Desktop Application, you'll also have to create a Microsoft Transaction Server (MTS) package for your DLL, and give this package the identity of The interactive user if an interactive user will be logged on when the server is launched. Or select This user and specify a user if an interactive user will not be logged on when the server is launched. STATUSThis behavior is by design. MORE INFORMATIONSteps to Reproduce BehaviorCreate an ASP page with the following code:
View the ASP page from a browser (such as Internet Explorer 4.0).
The Browser does not responding at all.
REFERENCESFor additional information, click the article number below to view the article in the Microsoft Knowledge Base: Q156223 How To Launch OLE Servers from ISAPI Extensions Q159311 Instantiating Remote Components in MTS and IIS Additional query words: kbDSupport
Keywords : kbASP kbInternet kbMTS kbInetDev kbDSupport |
Last Reviewed: December 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |