Solved

app will connect to mysql db on local, but not on the server it was moved to

Posted on 2008-10-24
7
158 Views
Last Modified: 2013-11-07
I have a vb.net app built in visiual studio 2005  and this app hit's the mysql db fine on my local machine. I put this application into test on a microsoft 2003 server and then was moved to another server for specific reasons and worked fine on the other server. When the app got moved to another microsft 2003 server, I keep getting a 'Exception of type 'System.Web.HttpUnhandledException' was thrown' everytime the application tries to connect to the mysql db. The drivers on the server are odbc 3.51 and 5. Also there is no dns. what could be the issue. If you need sample code or anything from me just ask.

Thanks in advance!
0
Comment
Question by:bschave2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
7 Comments
 
LVL 13

Expert Comment

by:TechTiger007
ID: 22799144
1. Have you modifed the connection string to point to new database?
2. Do you have mysql client component installed in the server where your application is running? You can download it from mysql web site
0
 

Author Comment

by:bschave2
ID: 22799187
the database is on a separate server, so it points to the same server. I will find out about the mysql client.
0
 

Author Comment

by:bschave2
ID: 22799301
there are multiple clients I believe mysql5, 5.1, and 5.2. the mysql.data.dll file in my bin is version 1.0.10.1.
0
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 
LVL 13

Accepted Solution

by:
TechTiger007 earned 500 total points
ID: 22799479
so you have mysql client in the server.
Can you add a try catch block  where your application is trying to connect to database and find out what is the exception thrown. Since you have not handled the exception it says Unhandled exception
0
 

Author Comment

by:bschave2
ID: 22799887
I have to have the tech update the files in test. I added error handling, so I will know in a little while, what the issue was specifically.

0
 

Author Comment

by:bschave2
ID: 22812661
the exception is not being thrown while connecting to the database. I don't know what else the issue could be.
0
 

Author Closing Comment

by:bschave2
ID: 31516499
the issue wasn't the database, it was something else. I am awarding you credit for helping.
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question