Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6226145
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T08:58:18+00:00 2026-05-24T08:58:18+00:00

Reason why: http://bugs.mysql.com/bug.php?id=61933 I recompiled the connector from source, incremented tit a version to

  • 0

Reason why: http://bugs.mysql.com/bug.php?id=61933

I recompiled the connector from source, incremented tit a version to 6.4.3.1, but now this (possibly) trivial question blocks me.

How do I set the full provider name in the connection string in app.config? I have the official 6.4.3 connector installed.

The error I get is when I add a new entity data model, and select from an existing database. This I traced to the above linked (silly) bug.

I couldn’t find a better title for this question.


Microsoft Visual Studio

An error occurred while connecting to the database. The database might be unavailable. An exception of type ‘System.Data.ProviderIncompatibleException’ occurred. The error message is: ‘The provider did not return a ProviderManifestToken string.

The inner exception caught was of type ‘System.FormatException’, with this error message: ‘Input string was not in a correct format.’.’.

OK


Solution

  1. Download MySQL Connector/6.4.3 sources, and extract it.

  2. In the MySql.Data.Entity project, replace…:

  3. (ProviderServices.cs:188) With: double version = double.Parse(connection.ServerVersion.Substring(0, 3), System.Globalization.CultureInfo.InvariantCulture);

  4. (ProviderManifest.cs:73) With: double version = double.Parse(manifestToken, System.Globalization.CultureInfo.InvariantCulture);

  5. Create a new sign key and name it ConnectorNet (same name as in the assemblyinfo.cs)

  6. Add .1 to the AssemblyVersion in AssemblyInfo.cs in the MySql.Data project, this 1 file is shared with the rest: [assembly: AssemblyVersion(“6.4.3.1”)]

  7. Put Release as target configuration, you can also disable the .Tests projects from being built.

  8. As admin, install them with gacutil. Here you also get the public key token.

  9. Locate Machine.config note it is important to know what .NET fx you compiled the project(s) to use.

  10. Search for DbProviderFactories, and comment out the existing MySQL Data Provider, copy it and replace in the duplicate entry, by adding the .1 in version and the public key token.

<!-- add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.4.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" / -->

<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.4.3.1, Culture=neutral, PublicKeyToken=XXXXXXXXXXXXXXX" />
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T08:58:19+00:00Added an answer on May 24, 2026 at 8:58 am

    Connection string doesn’t contain path to provider assembly. Connection string’s providerName is only reference to provider registered in system.data\DbProviderFactories:

    <system.data>
        <DbProviderFactories>
          <remove invariant="MySql.Data.MySqlClient" />
          <add name="MySQL Data Provider" 
               invariant="MySql.Data.MySqlClient" 
               description=".Net Framework Data Provider for MySQL"  
               type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.4.3.1, Culture=neutral, PublicKeyToken=YourToken" />
    </system.data>
    

    The invariant from factory registration is what you reference in providerName of connection string. You can try to put your new connector assembly to your application directory or strongly name the assembly install it to GAC.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Actually, there was (is still) a bug in jQuery: http://bugs.jqueryui.com/ticket/4511 . The reason for
For some reason my submit button isn't centered. http://prime.programming-designs.com/test_forum/viewboard.php?board=0 #submitbutton{ margin: auto; border: 1px
The page in question is featured here: http://www.allwebcafe.com/news/news-article.php?id=78 For some reason, when a user
http://churchsafeplan.com/overview.php?content=0201#intro For some strange, strange reason, the function accordian is not working. Seems as
I am looking at this tutorial http://www.codeproject.com/KB/cpp/authforwebservices.aspx and I am wondering what the reason
I'm working with code igniter and for some reason, the url http://mysite.com/account/100 gives me
I have no idea why, but for some reason the top navigation at http://www.wilwaldon.com/crossing/badnav.html
For some reason http://shirazraqs.com is causing mobile Safari to crash. I've never seen anything
Please check this page: http://islandhideaway.weebly.com/ For whatever reason, the flash slideshow moves over 1
For some reason, my menu bar is shifted to right in Safari: http://www.danydiop.com/danydiop/ In

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.