CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting
3 Months Free and Free Setup - ASP.NET Web Hosting



Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 7/25/2007 9:23:54 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 89 Favorited: 0 Favorite
5 Items, 1 Pages 1 |< << Go >> >|
Zadeh
Asp.Net User
Column 'InvariantName' is constrained to be unique7/25/2007 9:23:54 AM

0/0

Hi

I have a problem,

I make a web site with Visiual Studio 2005 in C#. I use Sql server for my database.

Web site work on my local machine without any problem.

Web site wast work since yesterday at server machine. (It was work before)

I get an error message like this;

 

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 'MySql.Data.MySqlClient' is already present.

Source Error:

Line 106:    <add name="LocalMySqlServer" connectionString="" />
Line 107:  </connectionStrings>
Line 108:  <system.data>
Line 109:    <DbProviderFactories>
Line 110:      <add name="Odbc Data Provider" invariant="System.Data.Odbc" description=".Net Framework Data Provider for Odbc" type="System.Data.Odbc.OdbcFactory, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

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


I don't use mysql and I didn't change anyting at datatables, classes or dadabase last4 days.

 

Bruce L
Asp.Net User
Re: Column 'InvariantName' is constrained to be unique7/25/2007 7:46:53 PM

0/0

This error usually means that you are trying to insert data into the database which the column is set to be unique.

For example, if you have an ID field that is set to be unique, you cannot insert another row with the same ID. 

I would check the database content to make sure you do not have any duplicate data there.


Bruce
DiscountASP.NET: Developer Ready ASP.NET Web Hosting
- Microsoft Gold Certified Partner
- Voted 2007, 2006 & 2005 Best ASP.NET Web Hosting by asp.netPRO Magazine
Zadeh
Asp.Net User
Re: Column 'InvariantName' is constrained to be unique7/26/2007 7:02:39 AM

0/0

But error comes from startup. There is no use of database and it works on local and another server.

When I was delete dataset xsd web page start normaly.

This problem occur when I start to web page with dataset in app_Code. If I delete dataset.xsd there will no problem (except I cant use database.)

 

Rex Lin - MSFT
Asp.Net User
Re: Column 'InvariantName' is constrained to be unique7/30/2007 4:16:49 AM

0/0

HI, Zadeh: 

To overcome this problem you need to add the following string to your web.config as well:

<remove invariant="CoreLab.Oracle">


Best Regards,
__________________________________________________
Sincerely,
Rex Lin
Microsoft Online Community Support

If there is any question or the issue is not resolved, please feel free to mark the thread as not resolved
Rex Lin - MSFT
Asp.Net User
Re: Column 'InvariantName' is constrained to be unique7/31/2007 2:26:21 AM

0/0

HI, Zadeh: 


We are marking this issue as "Answered". If you have any new findings or concerns, please feel free to unmark the issue.
Thank you for your understanding!


Best Regards,
__________________________________________________
Sincerely,
Rex Lin
Microsoft Online Community Support

If there is any question or the issue is not resolved, please feel free to mark the thread as not resolved
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Column 'InvariantName' is constrained to be unique - ASP
Error: "Column 'InvariantName' is constrained to be unique. Value ... I am using ASP.Net 2.0 with the MySQL Connector .Net 5.1.2.2. ... I added these lines to the web.config to make the connector.net able to handle the ...
management studio does not work - TechNet Forums Mar 3, 2007 ... An error occurred creating the configuration section handler for system.data: Column 'InvariantName' is constrained to be unique. ...
dotnet framework aspnet Error: "Column 'InvariantName' is constrained to be unique. Value 'MySql.Data. MySqlClient' is already present." - Carmine [www.thetotalsite.it] 30-Nov-07 Go ...
March 2007 - Posts - Hilton Giesenow's Jumbled Mind Mar 14, 2007 ... handler for system.data: Column 'InvariantName' is constrained to be unique. Value 'Microsoft.SqlServerCe.Client' is already present. ...
Archive of Newsgroup microsoft.public.dotnet.framework.aspnet for ... Error: "Column 'InvariantName' is constrained to be unique. Value 'MySql.Data. posted by Carmine [www.thetotalsite.it] on Fri, 30 Nov 2007 ...
Installation Error resulting in SQL Server 2005 issues - MSDN Forums An error occurred creating the configuration handler for system.data: Column ' InvariantName' is constrained to be unique. Value 'Microsoft.SqlServerCe. ...
.NET ASP [Archive] - Page 13 - bytes Creating SelectCommand at page load time · ASP:Menu Targeting Another Frame · Error: "Column 'InvariantName' is constrained to be unique. Value 'MySql.Data. ...
An Introduction to ADO.NET Constraint: A DataTable contains yet another property called Constraints of ..... and at least one unique column is returned as part of the. row schema. ...
J & J Configuration) - Column 'InvariantName' is constrained to be unique. Value ' Microsoft.SqlServerCe.Client' is already present. (System.Data) " ...












dropdownlist useing selected value

label indent - padright ?

form validation on ssl pages

http/1.0.425 http error

passive ftp upload

stopping page refresh

how can i hide a part of my url?

persist querystring after session expiry

can you create form objects?

help on datalist like controls

dataset with multiple databases

webrequests + webresponses.

detecting site visitor's connection speed

on dialog save click ,main page grid was not refeshing

why is my e-mail being trapped as spam by hotmail

truncation of text in form

creating reusable user controls

linkbutton problem

how to: export to excel

creating a loading page

web user control more than once on page.

validating a text box

caputre the value of parameter passes from a form to other form

response.redirect to unc path

compiler error message: cs0103: the name 'cyberstore' does not exist in the current context

multiple validation groups

help: automaticly clearing listbox

migrating from code inline to code behind and nothing works..why???

problem with client validation because visual studio adds their own onclick.

the type or namespace name 'dts' could not be found ??

  Privacy | Contact Us
All Times Are GMT