[ http://issues.apache.org/jira/browse/LUCENENET-21?page=all ]
George Aroush closed LUCENENET-21.
----------------------------------
Resolution: Invalid
This is a question, and not an issue to be fixed. (see previouse comment.)
> Problem with FSDirectory.SetDisableLocks
> ----------------------------------------
>
> Key: LUCENENET-21
> URL: http://issues.apache.org/jira/browse/LUCENENET-21
> Project: Lucene.Net
> Issue Type: Bug
> Environment: XP Pro, Visual Studio.NET
> Reporter: Srinivas Vadrevu
>
> When I try to execute the method SetDisableLocks in the local machine, it
> works fine, but when I deploy to my hosting directory, it throws the
> following exception:
> The type initializer for 'Lucene.Net.Store.FSDirectory' threw an exception.
> at Lucene.Net.Store.FSDirectory.SetDisableLocks(Boolean doDisableLocks) at
> RadioSaiIndexer.search(String queryString) in
> d:\hosting\svadrevu\sse\App_Code\RadioSaiIndexer.cs:line 75
> IndexPath=d:\hosting\svadrevu\sse\App_Data\tftdindex
> I think it has something to do with the lock directory and write permissions.
> I had similar problem, when i didn't disable locks, as it is trying to write
> outside the application directory. But now I cannot even disable locks as it
> is throwing an exception. Can anyone please help with this issue?
> Thanks a bunch,
> Sree.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira