Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Using the source
Gaj
#1 Posted : Tuesday, 20 October 2009 11:59:45 PM(UTC)
Rank: Member

Joined: 7/10/2009(UTC)
Posts: 17
Location: Leeds

I've just tried to get the application set up on VS 2008 and am getting an error:

Quote:
Could not load file or assembly 'System.Data.SQLite' or one of its dependencies. An attempt was made to load a program with an incorrect format.


I'm using the sql server with 3.5 web.config, any ideas.

Cheers,
Gaj
Roger Martin
#2 Posted : Wednesday, 21 October 2009 6:21:46 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

See note #2 in this thread. In short, delete or rename one of the SQLite dll's.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Gaj
#3 Posted : Thursday, 22 October 2009 12:46:34 AM(UTC)
Rank: Member

Joined: 7/10/2009(UTC)
Posts: 17
Location: Leeds

Hi there, I got it working fine thanks, but now I'm trying to integrate active directory but get the following error after updating the web.config

Quote:
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty.

Source Error:

Line 139: <membership>
Line 140: <providers>
Line 141: <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="LocalSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression=""/>
Line 142: </providers>
Line 143: </membership>


Source File: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config Line: 141


Any ideas?
Roger Martin
#4 Posted : Saturday, 24 October 2009 2:27:00 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

Your app is trying to implement the membership configuration it inherits from machine.config. This probably means you are missing <clear/> from the beginning of the providers configuration in web.config. Review the AD directions for sample code.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.