Column 'InvariantName' is constrained to be unique


Configuration Error

If you are using a vendor supplied .Net provider on your target platform (server), this probably means that you defined a 'type' string and a 'invariant' name in your database connection that conflicts with a provider already installed on the server.  When you supply a 'type' string in your database connection, CodeCharge Studio adds a DbProviderFactories entry for the provider in your web.config file.  When a provider is installed, a similar entry already exists in the machine.config file on the server.  To use a different provider from the one that is installed, you must use an 'invariant' name that is unique.   Changing the 'invariant' name in your database connection may fix this problem.

See also
Using a Custom Provider