arachnode.net
An Open Source C# web crawler with Lucene.NET search using SQL Server 2008/2012/2014/2016/CE An Open Source C# web crawler with Lucene.NET search using MongoDB/RavenDB/Hadoop

Completely Open Source @ GitHub

Does arachnode.net scale? | Download the latest release

console application give an error

rated by 0 users
Answered (Verified) This post has 1 verified answer | 2 Replies | 2 Followers

Top 50 Contributor
11 Posts
muratdurmus posted on Sat, Jul 17 2010 11:28 PM

I follow the installation doc. and when run console app its give me that error. i couldnt run  

The type initializer for 'Lucene.Net.Store.FSDirectory' threw an exception.

Answered (Verified) Verified Answer

Top 10 Contributor
1,905 Posts
Verified by arachnode.net

Did you get the source from .zip or from source control?

Also, what is the rest of the exception?

StackTrace?

InnerException?

Is the LuceneDotNetIndex directory pointed to a valid location?

Did you switch to the release configuration?

You are likely experiencing this MS bug: http://www.eggheadcafe.com/community/aspnet/2/38396/exception-handling-does-not-propagate-in-release.aspx and this http://bytes.com/topic/net/answers/434196-c-net-app-debug-version-works-well-but-release-version-doesnt.

Just checked in a fix to include debug information for the Plugins project.  Nice bug MS.

For best service when you require assistance:

  1. Check the DisallowedAbsoluteUris and Exceptions tables first.
  2. Cut and paste actual exceptions from the Exceptions table.
  3. Include screenshots.

Skype: arachnodedotnet

All Replies

Top 10 Contributor
1,905 Posts
Verified by arachnode.net

Did you get the source from .zip or from source control?

Also, what is the rest of the exception?

StackTrace?

InnerException?

Is the LuceneDotNetIndex directory pointed to a valid location?

Did you switch to the release configuration?

You are likely experiencing this MS bug: http://www.eggheadcafe.com/community/aspnet/2/38396/exception-handling-does-not-propagate-in-release.aspx and this http://bytes.com/topic/net/answers/434196-c-net-app-debug-version-works-well-but-release-version-doesnt.

Just checked in a fix to include debug information for the Plugins project.  Nice bug MS.

For best service when you require assistance:

  1. Check the DisallowedAbsoluteUris and Exceptions tables first.
  2. Cut and paste actual exceptions from the Exceptions table.
  3. Include screenshots.

Skype: arachnodedotnet

Top 10 Contributor
1,905 Posts

The fix for the MS bug is checked in, but can also be fixed by added debug info to the RELEASE configuration for the Plugins project.

For best service when you require assistance:

  1. Check the DisallowedAbsoluteUris and Exceptions tables first.
  2. Cut and paste actual exceptions from the Exceptions table.
  3. Include screenshots.

Skype: arachnodedotnet

Page 1 of 1 (3 items) | RSS
An Open Source C# web crawler with Lucene.NET search using SQL 2008/2012/CE

copyright 2004-2017, arachnode.net LLC