I am using a COM object that I am able to create/destroy on a given virtual
as long as the virtual has at least one request every 15 minutes. If more
than 15 minutes pass I receive the error message below when I attempt to
create this object:
Server object error 'ASP 0177 : c0000005'
Server.CreateObject Failed
/foo/bar.asp, line 2
c0000005
If the virtual (with application protection in high/medium/low) is unloaded
the script will work as stated above. Other pages in the virtual are able
to be served, as long as they don't attempt to create the given COM object.
I have looked at the threads in the dllhost.exe process before and after the
15 minute point and 4 threads go away.
Before:
asp.dll!HttpExtensionProc
asp.dll!HttpExtensionProc
collator.dll!NIMakeICommand
COMSVCS.DLL!CoCreateActivity
COMSVCS.DLL!DispManGetContext
dllhost.exe
kernel32.dll!FlsSetValue
kernel32.dll!FlsSetValue
kernel32.dll!FlsSetValue
msvcrt.dll!endthreadex
msvcrt.dll!endthreadex
msvcrt.dll!endthreadex
msvcrt.dll!endthreadex
msvcrt.dll!endthreadex
msvcrt.dll!endthreadex
msvcrt.dll!endthreadex
msvcrt.dll!endthreadex
msvcrt.dll!endthreadex
ntdll.dll!EtwRegisterTraceGuidsW
ntdll.dll!RtlRandomEx
ntdll.dll!RtlUpdateTimer
ole32.dll!CoGetMalloc
ole32.dll!CoGetMalloc
oledb32.dll!DllGetClassObject
oledb32.dll!DllGetClassObject
W3TP.dll
W3TP.dll
W3TP.dll
W3TP.dll
Missing after 15 minutes:
kernel32.dll!FlsSetValue
msvcrt.dll!endthreadex
ntdll.dll!EtwRegisterTraceGuidsW
ole32.dll!CoGetMalloc
This is experienced on Windows 2003 with IIS6 (in either IIS5 compatibility
mode or regular mode), however on Windows 2000 this isn't experienced.
Thanks
Dave