This topic is locked

Unable to connect

2/27/2005 1:14:14 PM
ASPRunner.NET General questions
author

The ASPRunner.Net wizard is great and I receive no errors during setup. After completion, and when I go to open the page in the browser (aspx page), I get the following error:
"Error: Unable to connect to any of the specified MySQL hosts"
I do have MySQL database running on a seperate machine, but the system DSN server tests are all fine. Any help appreciated.
skes.

500193 2/28/2005

What version of framework and mysql do you have?

Please write detailed description of the error.

500194 2/28/2005

Hey..thanks.
I'm using MySQL version 4.1 and Microsoft .Net Framework 1.1. The MySQL data server is on a WIN2K Server operating system, and the .Net Framework is on a WinXP Pro running IIS 5.1.
After successful setup of ASPRunner, I went through the wizard to establish the ASPX pages. The first thing I noticed was that ASPRunner could not locate/find my instance of MYSQL ODBC 3.51 driver. It did know that I had a System DSN that used this OBDC driver and it pulled up the tables within the MYSQL database.
After completing the wizard and opening up the web browser, I get the error message: "Error: Unable to connect to any of the specified MySQL hosts"
The page loads okay, and shows the empty table. I just do not see any data.
Thanks for any help.
Skes

Sergey Kornilov admin 3/3/2005

Hi,
your setup looks okay.
Please zip and send me the whole content of ASPRunner.NET output folder ( ASP.NET files, include files, script that creates database tables) along with the project file. I'll find what's wrong running it on my test box.