Mailing List Archive

Concurrency Error?
Hi,

I am experiencing this error:

"
Error: An error occurred while getting new row from user defined Table
Valued Function :
System.InvalidOperationException: Handle is not initialized.
System.InvalidOperationException:
at System.Runtime.InteropServices.GCHandle.FromIntPtr(IntPtr value)
"

when putting more than one search function in the same assembly (we are
calling lucene via c#) and using SQL server UDF functions (written in c#)
that ultimately call Lucene. We have locks in the FillRow methods as well as
in the as in the actual udf functions, which have a header like:

[.Microsoft.SqlServer.Server.SqlFunction(FillRowMethodName = "FillRow",
TableDefinition = "id INT, Score DECIMAL(18,12), Level INT")]
.

Any ideas why this is please?

Many thanks.

--
View this message in context: http://lucene.472066.n3.nabble.com/Concurrency-Error-tp3870169p3870169.html
Sent from the Lucene - C Developer mailing list archive at Nabble.com.
Re: Concurrency Error? [ In reply to ]
(the error is intermittent)

--
View this message in context: http://lucene.472066.n3.nabble.com/Concurrency-Error-tp3870169p3870178.html
Sent from the Lucene - C Developer mailing list archive at Nabble.com.