That's strange. I have had no problems with connecting to MySQL with ASP.NET when I was on the 1.1 server (using the code I sent in an above post). When I was moved to the 2.0 server, though, everything broke (and is still broken - haven't decided what I want to do from here).
No errors...
Same here. This lack of support for other data providers is disappointing, especially since my site has been down since the move as a result. I could convert my data to MS SQL server, but for my particular needs, I prefer to use MySQL. Support tells me I need to update my code so it runs in...
aggie -
To connect to MySQL using ASP.NET 1.1, I used the MySQL Connector/NET:
http://dev.mysql.com/downloads/connector/odbc/3.51.html
This has always worked well for me, including when my site was hosted on Jodo. Just copy the MySql.Data.dll to your /bin folder and you're ready to go...
It seems to me it is impossible to connect to MySQL from ASP.NET through Jodo :(
I tried connecting via the MySQL connector, and received the following error: "System.Security.SecurityException: That assembly does not allow partially trusted callers."
I also tried connecting via ODBC and...
I was recently moved to a server that supports ASP.NET 2.0, and I'm trying to connect to my mysql databases with ASP.NET 2.0. I was able to do it quite easily with .NET 1.1, but it's no longer working since the switch.
Take this script for example:
<%@ Page Language="C#" Debug="true" %>...
I am a new user to JodoHost. I'm wondering what forum I should monitor for announcements regarding ASP.NET 2.0 availability. I'm anxious to use it.
Thank you.
My sites got nailed with that on my former provider, which was the straw that broke the camel's back, so to speak, which is why I recently moved my sites to JodoHost.
Alternatively, if you e-mail the contents of Server.GetLastError().GetBaseException().GetHtmlErrorMessage() you can see the exact message and line numbers the user would normally see (of course, I'd still recommend a redirect to an error page, and only send the details to admin)...