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

Possibly still a hard-coded connection string?

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

Top 10 Contributor
Male
101 Posts
Kevin posted on Mon, Feb 16 2009 3:26 PM

I'm thinking the latest version of IsDisallowed.cs I pulled down still has a hard-coded connection string?

 

Answered (Verified) Verified Answer

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

In Version 1.2 and later the connectionString is no longer subject to the restriction defined in this thread.

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
Male
101 Posts
Kevin replied on Mon, Feb 16 2009 6:18 PM

I notice too that I have to edit the Settings.Settings file to get it to refresh and pull in my connectionstring from the app.config file (in the DataSource project).

I don't do a lot of strongly typed datasets, but I wonder is there a way to tweak this so it will pull automatically and not seem to hard-code this and require an edit?

Thx

 

Top 10 Contributor
1,905 Posts

Yeah, you're right.

I think I have an answer on how to put the connectionString in Application.config...

<later>

I just checked in a fix for the ConnectionString woes.  The settings designer file and the functions project now point to ApplicationSettings.ConnectionString.  I'm actually surprised that the Functions project works the way it does.  You can't add a reference to System.Configuration from Visual Studio but you can if you edit the project file directly.  Strange...???

Of course, this means that it works on my machine but won't elsewhere...

- Mike

 

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

In Release 1.1 the ConnectionString for the Functions project is hardcoded, but as a temporary measure, there exists a check on startup to ensure the ConnectionString in Application.config is the same as the one in IsDisallowed.cs.

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

In Release 1.1 the ConnectionString for the Functions project is hardcoded, but as a temporary measure, there exists a check on startup to ensure the ConnectionString in Application.config is the same as the one in IsDisallowed.cs.

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
Verified by arachnode.net

In Version 1.2 and later the connectionString is no longer subject to the restriction defined in this thread.

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

copyright 2004-2017, arachnode.net LLC