title: Error ASP 0177: 8007007e CreateObject fails for COM DLL
body: <p>We have been trying to install a COM DLL on a new server. The interface is Classic ASP. The Map Connector DLL seems to be the problem but that is as far as I am able to get.</p>
  
  <p>We are unable to get the pages served by IIS to give anything other than a 500 error.</p>
  
  <p>When tracing the ASP:</p>
  
  <pre>
  127.  -ASP_SCRIPT_TRACE_COM_CALL_END 
  
  
  FilePath
  C:\INETPUB\WWWROOT\MILER\GLOBAL.ASA 
  
  LineNumber
  6 
  
  CurrentStatement
  set g_pcmsrv=Server.CreateObject("PCMServer.PCMServer") 
  
  SizeOfStatement
  55 
  
  
  0 ms
  
  
  128.  -ASP_LOG_ERROR 
  
  
  LineNumber
  6 
  
  ErrorCode
  ASP 0177 : 8007007e 
  
  Description
  Server.CreateObject Failed
  </pre>
  
  <p>The DLL is <code>PCMSRV32.DLL</code> in <code>c:\windows</code></p>
  
  <p>GLOBAL.ASA:</p>
  
  <pre><code>Sub Application_OnStart
  
  
  set g_pcmsrv=Server.CreateObject("PCMServer.PCMServer")
  set application("g_pcmsrv") = g_pcmsrv
  
  set g_pcmmapmgr=Server.CreateObject("Pcmgole.PCMMapMgr")
  set application("g_pcmmapmgr") = g_pcmmapmgr
  
  
  End Sub
  
  Sub Session_OnStart
  set Session("currentTrip") = application("g_pcmsrv").NewTrip("NA")
  set Session("map") = application("g_pcmmapmgr").createMap()
  End Sub
  
  Sub Session_OnEnd
  set Session("currentTrip") = Nothing
  set Session("map") = Nothing
  End Sub
  
  Sub Application_Onend
  Set application("g_pcmsrv")=Nothing
  Set application("g_pcmmapmgr")=Nothing
  End Sub
  </code></pre>