Hi,
I have developed the a class in C# using .Net framework 1.0 SDK which is derived from ServiceCompnonent. This class is hosted in IIS 6.0 and OS is Windows 2000 profesional.
Some time when server is too busy I got an exception that "The run-time environment has detected an inconsistency in its internal state. Please contact Microsoft Product Support Services to report this error. Error in .\obja.cpp(157), hr = 80131014: Couldn't get an IUnknown from GetObjectInterface we expected". After this exception IIS is terminated.
If I restart the IIS, then it works fine.
Does anybody have any idea, why is corruption is going on onto server?
regards,
Pankaj
Mattias Sj?gren - 29 Dec 2003 22:32 GMT
Pankaj,
>Does anybody have any idea, why is corruption is going on onto server?
I'm not sure what's going on, no. But the HRESULT you're getting
(0x80131014) is defined in CorError.h as
#define COR_E_APPDOMAINUNLOADED EMAKEHR(0x1014) // access unloaded
appdomain
Mattias

Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.