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

  • Home
  • SEARCH
  • 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 907107
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:29:55+00:00 2026-05-15T16:29:55+00:00

I have a project in which I’m accessing a MySql database on my web

  • 0

I have a project in which I’m accessing a MySql database on my web server via MySql ODBC driver 3.51. So far I’ve stuck to writing the ASP.NET C# code for this web app in notepad and just using runtime compiles on the server side to operate everything. So instead of using something like:

<%@ Page Title="Add Order" Language="C#" MasterPageFile="~/main_layout.Master" AutoEventWireup="true" CodeBehind="order_add.aspx.cs" Inherits="Orders.order_add" %>

I’ve been using:

<script language="c#" runat="server" src="cs/orders.cs"></script>

within the header of the page to load the C# code to access the database. That was quickly becoming a bear to manage and I see numerous advantages to creating my web application the way Microsoft and God intended.

But when I take the exact same code and pull it from my previous work and put it into Visual Studio 2010 (Express) I get a connection error.

ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

Presumably it can’t find the connection to the database. I’ve checked the connection string, stored in the Web.Config file, to validate that the information is correct and it’s spot on. What is the difference in what I’m doing here that is causing my failure?

Other notes: this is the MySql 3.51 ODBC Driver on Windows 7 64bit, Microsoft Visual Web Developer 2010 Express

  • 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-15T16:29:56+00:00Added an answer on May 15, 2026 at 4:29 pm

    Upgrading to MySql ODBC 5.1 Driver seems to have fixed the issue. Just installed the latest driver and updated the connection string from 3.51 to 5.1 and viola, it worked. Odd why – but oh well. Mine is not to question why…

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

Sidebar

Related Questions

I have a project which is essentially a game server where users connect and
I have migration project which i have to start to migrate EJB2.1 enterprise web
I have a project which consists of GWT client end and a Tomcat server
I have a project which generates snapshots of a database, converts it to XML
I have .NET project which use CDO ActiveX. Everyhting works fine on Windows Server
I have a project which uses TCP/IP communication to communicate with a server. For
I have a project which is a Web Site, not Web Application and have
I have a project which is source controlled using Subversion and VisualSVN. Since the
I have a project which contains different components that everyone works on. We have
I have a project which it's domain contain following classes: Courier Customer Food Order

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.