PRB: DCOM and ASP - A Security Package Specific Error OccurredID: Q201843
|
When attempting to access a Distributed Component Object Model (DCOM) object from Active Server Pages (ASP) using NTLM authentication one of the following errors occurs:
Server object error 'ASP 0177 : 80070721'
Server.CreateObject Failed
/<file>.asp, line ##
A security package specific error occurred.
-or-
80070721 RPC_S_SEC_PKG_ERROR "A security package specific error occurred."
Windows NT Challenge/Response (NTLM) Authentication will not allow access to any network resources beyond the Internet Information Server (IIS) computer. This is because NTLM authentication does not pass a user's credentials over the wire, rather it only passes a security token created at the time the user is authenticated on the network.
This means that the username and password are unavailable to IIS when it is challenged for access to a network resource, and IIS is unable to create and pass a user's security token over the network. Thus, access to network resources requiring authentication will be denied.
However, if the browser (Internet Explorer) is running on the same computer as the Internet Information Server, this error will not occur using NTLM since the username and password credentials are available.
There are a few options available to work around this problem, the merits of each are described as follows:
Microsoft Internet Information Server\Server Administration\Security\Authentication\Setting Up SSL on Your Server
Q176799 INFO: Using DCOM Config (DCOMCNFG.EXE) on Windows NT
This behavior is by design.
- computer(1): IIS server
- computer(2): DCOM server
- computer(3): Internet Explorer client
Server.CreateObject("ProgID.ClassID")
Server object error 'ASP 0177 : 80070721'
Server.CreateObject Failed
/<file>.asp, line ##
A security package specific error occurred.
For additional information, please see the following article(s) in the Microsoft Knowledge Base:
Q158229 INFO: Security Ramifications for IIS Applications
Q156223 HOWTO: Launching OLE Servers from ISAPI Extensions
Additional query words: kbDSupport kbSecurity kbErrMsg
Keywords : kbole kbASP kbCOMt kbDCOM kbInternet kbSecurity kbGrpASP kbInetDev
Version : winnt:4.0
Platform : winnt
Issue type : kbprb
Last Reviewed: February 24, 1999