For more information, see http://q.cnblogs.com/q/34874/.
W3wp.exe at the site will be accidentally terminated
EventLog information:
An unhandled exception occurred and the process was terminated.
Application ID: DefaultDomain
Process ID: 43644
Exception: System. Runtime. Serialization. SerializationException
Message: Unable to find assembly 'lucene. Net, Version = 2.9.4.1, Culture = neutral, PublicKeyToken = 85089178b9ac3181 '.
StackTrace: at System. Runtime. Serialization. Formatters. Binary. BinaryAssemblyInfo. GetAssembly ()
At System. Runtime. Serialization. Formatters. Binary. ObjectReader. GetType (BinaryAssemblyInfo assemblyInfo, String name)
At System. runtime. serialization. formatters. binary. objectMap .. ctor (String objectName, String [] memberNames, BinaryTypeEnum [] attributes, Object [] typeInformationA, Int32 [] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray attributes)
At System. Runtime. Serialization. Formatters. Binary. _ BinaryParser. ReadObjectWithMapTyped (BinaryObjectWithMapTyped record)
At System. Runtime. Serialization. Formatters. Binary. _ BinaryParser. Run ()
At System. Runtime. Serialization. Formatters. Binary. ObjectReader. Deserialize (HeaderHandler handler, _ BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
At System. Runtime. Serialization. Formatters. Binary. BinaryFormatter. Deserialize (Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
At System. AppDomain. Deserialize (Byte [] blob) at System. AppDomain. UnmarshalObject (Byte [] blob)
The specific causes and solutions are as follows:
Http://support.microsoft.com/kb/911816
This problem occurs because the Default policy for unhandling exceptions has been changed in. NET Framework 2.0. By default, the policy for unhandling exceptions is to end the working process.
In Microsoft. NET Framework 1.1 and Microsoft. NET Framework 1.0, unprocessed exceptions on managed threads are ignored. Unless you attach a debug program to capture exceptions, you may not be aware of the error.
ASP. NET uses the Default policy for unhandled exceptions in. NET Framework 2.0. When an unhandled exception is thrown, ASP. NET-based applications unexpectedly exit.
If an exception occurs in the request context, the above action will not occur. Such exceptions are still caused HttpExceptionObject processing and packaging. Exceptions in the request context do not end the working process. However, unprocessed exceptions outside the request context (such as exceptions in the timer thread or callback function) may cause the worker process to end.
Install httpmodule: http://unhandledexception.codeplex.com/