views:

7

answers:

0

I am using NHibernate Lucene search in my project.

Lucene.Net.dll - v - 2.3.1.3 NHibernate.dll - v - 2.1.0.4000

I have build NHibernate.Search.dll with above two references. The auto indexing happens in async mode with every record update.

Now the problem is, on some machine we get follwoing 2 errors when auto indexing process kicks in. If w3wp IIS process repeatly finds this errors appearing then the application pool is getting shut down and user is getting Service unavailable message. This doesn't happen on all machines & I am not sure if its the environment specific error or some indexing attributes are not set right. For your added information in some entities I am using Store.YES attribute option and single (.net) data type is used without any data bridge. I am not even sure if this factors are relevant. Please advise....

Error Log 1 --------------------------------------------------------

Event Type: Error Event Source: .NET Runtime 2.0 Error Reporting Event Category: None Event ID: 5000 Date: 6/25/2010 Time: 1:25:28 AM User: N/A Computer: ABC-3779D0BD Description: EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.3959, P3 45d6968e, P4 mscorlib, P5 2.0.0.0, P6 4a7cd8f7, P7 4687, P8 4b, P9 nhibernate.search.impl.search, P10 NIL.


Error Log 2 ----------------------------------------------------------

Event Type: Error Event Source: ASP.NET 2.0.50727.0 Event Category: None Event ID: 1334 Date: 6/25/2010 Time: 1:25:27 AM User: N/A Computer: ABC-3779D0BD Description: An unhandled exception occurred and the process was terminated.

Application ID: DefaultDomain

Process ID: 3204

Exception: System.Runtime.Serialization.SerializationException

Message: Unable to find assembly 'NHibernate.Search, Version=2.0.0.1001, Culture=neutral, PublicKeyToken=null'.

StackTrace: at System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssemb­­ ly() at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryA­­ ssemblyInfo assemblyInfo, String name) at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable) at System.Runtime.Serialization.Formatters.Binary.ObjectMap.Create(String name, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable) at System.Runtime.Serialization.Formatters.Binary._BinaryParser.ReadObjectWit­­ hMapTyped(BinaryObjectWithMapTyped record) at System.Runtime.Serialization.Formatters.Binary._BinaryParser.ReadObjectWit­­ hMapTyped(BinaryHeaderEnum binaryHeaderEnum) at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run() at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(Hea­­ derHandler 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.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeObject­­ (MemoryStream stm) at System.AppDomain.Deserialize(Byte[] blob) at System.AppDomain.UnmarshalObject(Byte[] blob)

---------------------------------------------------------------------------­­-------

Regards, Atul