Solved

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

Posted on 2008-10-24
7
154 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
  • 5
  • 2
7 Comments
 
LVL 13

Expert Comment

by:TechTiger007
Comment Utility
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
Comment Utility
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
Comment Utility
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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 13

Accepted Solution

by:
TechTiger007 earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
the issue wasn't the database, it was something else. I am awarding you credit for helping.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video discusses moving either the default database or any database to a new volume.

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now