I've just uploaded MySql.Data.dll to the cgi-bin folder on the remote hosting server and am still getting the same error... I haven't tried removing the MySql.Data.dll reference and uploading.. shall i try that?Do i have to remove the MySql.Data.dll form
cgi-bin on the remote server?
First make sure your hosting provider does indeed give you asp.net (if it is linux based there is no asp.net there)
Next how did you upload your project?
You should upload to the root:
all aspx files, all ascx files, and the global.asax file. also web.config. all images and scripts and the bin folder which will have your dlls inside of it.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
My Blog If you get the answer to your question, please mark it as the answer.
Graphicreep
0 Points
16 Posts
Re: Can't connect to the MySQL database online. Please help!
Apr 21, 2008 10:05 AM|LINK
I've just uploaded MySql.Data.dll to the cgi-bin folder on the remote hosting server and am still getting the same error... I haven't tried removing the MySql.Data.dll reference and uploading.. shall i try that?Do i have to remove the MySql.Data.dll form cgi-bin on the remote server?
ralph.varjab...
Participant
1108 Points
207 Posts
Re: Can't connect to the MySQL database online. Please help!
Apr 21, 2008 10:09 AM|LINK
In ASP.NET the folder that you have to put your dlls in is called bin and not cgi-bin. It has to be under the root of your application.
My Blog
If you get the answer to your question, please mark it as the answer.
Graphicreep
0 Points
16 Posts
Re: Can't connect to the MySQL database online. Please help!
Apr 21, 2008 10:57 AM|LINK
In the root folder of the remote host there are only - htdocs; logfiles; private folders. And in htdocs -> aspnet_client and cgi-bin
Graphicreep
0 Points
16 Posts
Re: Can't connect to the MySQL database online. Please help!
Apr 21, 2008 10:57 AM|LINK
Double post 234567890
Graphicreep
0 Points
16 Posts
Re: Can't connect to the MySQL database online. Please help!
Apr 21, 2008 10:57 AM|LINK
2345678901
ralph.varjab...
Participant
1108 Points
207 Posts
Re: Can't connect to the MySQL database online. Please help!
Apr 21, 2008 11:13 AM|LINK
First make sure your hosting provider does indeed give you asp.net (if it is linux based there is no asp.net there)
Next how did you upload your project?
You should upload to the root:
all aspx files, all ascx files, and the global.asax file. also web.config. all images and scripts and the bin folder which will have your dlls inside of it.
My Blog
If you get the answer to your question, please mark it as the answer.
Graphicreep
0 Points
16 Posts
Re: Can't connect to the MySQL database online. Please help!
Apr 21, 2008 11:56 AM|LINK
It's ASP.NET enabled server. Here are the details:
Operating system
This is my local root folder below:
I have uploaded all of the above into the htdocs folder.
My MySQL database is hosted in a different location on a remote server. I have entered those details into the conn string.
I have these options on my control panel:
ralph.varjab...
Participant
1108 Points
207 Posts
Re: Can't connect to the MySQL database online. Please help!
Apr 21, 2008 02:57 PM|LINK
The only thing I see missing is the "bin" folder under your root folder.
This bin folder would be in your local solution also under the root of your web application.
My Blog
If you get the answer to your question, please mark it as the answer.
Graphicreep
0 Points
16 Posts
Re: Can't connect to the MySQL database online. Please help!
Apr 22, 2008 04:33 PM|LINK
I've looked both locally and on the remote server, and I can't find bin folder anywhere I'm afraid ???
ralph.varjab...
Participant
1108 Points
207 Posts
Re: Can't connect to the MySQL database online. Please help!
Apr 22, 2008 05:07 PM|LINK
It should be under your asp.net web project folder.
My Blog
If you get the answer to your question, please mark it as the answer.