My application behaves works on one URL but not another. Very confused!!

My application behaves works on one URL but not another. Very confused!!

Postby geoffHome » Tue 12 Dec 2006 02:25

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: An error occurred creating the configuration section handler for system.data: Column 'InvariantName' is constrained to be unique. Value 'CoreLab.MySql' is already present.

This error hasn't occurred before.
I have not got a clue what is happening here.

I can deploy this application to the same host but a different URL and it will work.

Below is the web.config file I'm using:









name="MySQLDirect .NET Data Provider"
invariant="CoreLab.MySql"
description="CoreLab MySQLDirect .NET Data Provider"
type="CoreLab.MySql.MySqlDirectFactory, CoreLab.MySql, Version=3.50.15.0, Culture=neutral, PublicKeyToken=09af7300eec23701" />


















connectionStringName="MySqlSessionServices"
writeExceptionsToEventLog="false"/>







type="CoreLab.MySql.Web.Providers.MySqlRoleProvider, CoreLab.MySql.Web, Version=3.50.15.0, Culture=neutral, PublicKeyToken=09af7300eec23701"
description="MySqlDirect role provider"
connectionStringName="MySqlSessionServices"
ApplicationName="testSite"/>






type="CoreLab.MySql.Web.Providers.MySqlMembershipProvider, CoreLab.MySql.Web, Version=3.50.15.0, Culture=neutral, PublicKeyToken=09af7300eec23701"
connectionStringName="MySqlSessionServices"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
requiresUniqueEmail="false"
passwordFormat="Hashed"
maxInvalidPasswordAttempts="5"
passwordAttemptWindow="10"
minRequiredNonalphanumericCharacters="1"
ApplicationName="testSite"/>









description="MySqlDirect profile provider"
connectionStringName="MySqlSessionServices"/>



























































***********************************

If then I get the following error.

This application was precompiled with personalization turned off, but it appears to have been turned on after the precompilation, which is not supported.

A well stated set of examples particularly wrt web.config configuration for Roles and Membership would be most helpful!!!!!!!
geoffHome
 
Posts: 28
Joined: Tue 09 May 2006 23:55

Postby Alexey » Tue 12 Dec 2006 07:34

Please describe in what circimstances the error occurs.
If possible, send us small test project to reproduce it, include definition of
your own database objects.
Use e-mail address provided in the Readme file.
Do not use third party components.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

What ReadMe file?

Postby geoffHome » Tue 12 Dec 2006 21:02

What ReadMe file?
geoffHome
 
Posts: 28
Joined: Tue 09 May 2006 23:55

Postby Alexey » Wed 13 Dec 2006 12:14

This one:
%ProgramFiles%\CoreLab\MySQLDirect.NET\readme.html
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for MySQL