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 vs Service

rated by 0 users
Not Answered This post has 0 verified answers | 1 Reply | 1 Follower

posted on Fri, Apr 30 2010 5:17 PM

I compiled the solution. I can run Arachnode fine from the console.... But...

I installed the service with installutil. Now I can't get the service to start. The console still runs fine though. It keeps failing at...

 

Configuration system failed to initialize

 

   at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)

   at System.Configuration.ClientConfigurationSystem.PrepareClientConfigSystem(String sectionName)

   at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)

   at System.Configuration.ConfigurationManager.GetSection(String sectionName)

   at System.Configuration.ConfigurationManager.get_ConnectionStrings()

   at Arachnode.Configuration.ApplicationSettings.get_ConnectionString() in C:\Downloads\Webcrawler_Arachnode_Licensed\Licensed\Configuration\ApplicationSettings.cs:line 126

   at Arachnode.SiteCrawler.Crawler..ctor() in C:\Downloads\Webcrawler_Arachnode_Licensed\Licensed\SiteCrawler\Crawler.cs:line 75

All Replies

Top 10 Contributor
1,905 Posts

Copy the ConnectionStrings.config from the Console directory (\bin) into the Service directory (\bin) and it will work.

The DEMO needs to be updated for the Service.  (I just fixed a bug...)

(Don't know who you are - would you register?  Big Smile)

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 (2 items) | RSS
An Open Source C# web crawler with Lucene.NET search using SQL 2008/2012/CE

copyright 2004-2017, arachnode.net LLC