Print Page | Close Window

ASP.NET & MySQL

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=23953
Printed Date: 29 March 2026 at 2:58pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: ASP.NET & MySQL
Posted By: iSec
Subject: ASP.NET & MySQL
Date Posted: 26 July 2007 at 4:21pm

I've been trying to setup a MySQL database using a asp.net script, but when I excute it I get an error saying:

Quote Not Found

The requested document was not found on this server.
 
the page which it tries to redirect to DOES exist!
 
The .NET framework is installed on the server
The ODBC .Net data provider is installed on the server
The MySQL ODBC Driver-MyODBC 3.51 is installed on the server
 
The permissions are all properly setup for Network Services on:
C:\Windows\Temp
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
 
Anyone has an idea?


-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard



Replies:
Posted By: michael
Date Posted: 26 July 2007 at 6:52pm
You may have to show some code to see what you are doing...


-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: iSec
Date Posted: 27 July 2007 at 12:18am
Hello Michael,
 
I was actually hoping that you would take a look at this issue Big%20smile
 
Earlier today I researched it further, to get the actual error message I went into web.config and changed the "RemoteOnly" to "Off" and retried excuting the script, and I got the actual error message. It is a problem with MySQL not accepting the credentials I provided... I don't know why... I'm 100% sure that the login info I provided are all correct.
 
I'm at work now I don't have the detailed error on me...
 
So the problem now is getting MySQL to work... It works on other scripts, and to confirm i downloaded the mysql version of Web Wiz NewsPad... and I was able to set it up using MySQL on that same server. I will reinstall MySQL tonight and see if I can get it to work using the root login.


-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard


Posted By: iSec
Date Posted: 27 July 2007 at 10:25am
Problem solved... was a permission issue. I reinstalled MySQL and used the command line to create the db, added user, and granted all priviliges to it... and the script ran just fine.

-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net