D
daveh551
I've developed a site using Visual Studio 2005, ASP.NET, C#, and a
MySQL database. I've gotten it debugged under the visual studio
environment, and moved it over to the server on my Domain Controller
(Window 2000 Server, IIS 5.0) and checked it out outside the
development environment.
So I went ahead and got a hosting account (GoDaddy Economy), imported
my MySQL database and checked it out, copied my site using the "Copy
Web Tool" in VS, changed the connection strings in the web.config
file, and tried to fire it up.
The first thing I got was that it couldn't load the MySql connector
assembly that was called for (<add assembly="MySql.Data",
Version="5.2.1.0",...>. When I called their tech support the tried to
convince me there was something wrong with my connection string, and
when I insisted that wasn't my problem, the fell back to "We provide
the hosting space. The rest is up to you!" (Oh, well, I guess you get
what you pay for!).
I solved the problem (I think) by including the MySql.Data.dll in the
bin directory. But now it's blowing up with a "Parser Error" on line 1
of the .xsd file for the dataset I'm using. At least line 1 is what's
high-lighted in red on the error page. Line 1 is nothing more than the
XML version definition:"<?xml version="1.0" encoding="utf-8"?>" (The
error was "Failed to generate code. Exception of type
'System.Data.Design.InternalException' was thrown.")
What the heck? I have no idea how to even begin to figure out what has
gone wrong between my environment and theirs that can cause this. Both
my environment and theirs are running .NET Framework 2.0.50727.
Can anyone provide any help? Thanks.
MySQL database. I've gotten it debugged under the visual studio
environment, and moved it over to the server on my Domain Controller
(Window 2000 Server, IIS 5.0) and checked it out outside the
development environment.
So I went ahead and got a hosting account (GoDaddy Economy), imported
my MySQL database and checked it out, copied my site using the "Copy
Web Tool" in VS, changed the connection strings in the web.config
file, and tried to fire it up.
The first thing I got was that it couldn't load the MySql connector
assembly that was called for (<add assembly="MySql.Data",
Version="5.2.1.0",...>. When I called their tech support the tried to
convince me there was something wrong with my connection string, and
when I insisted that wasn't my problem, the fell back to "We provide
the hosting space. The rest is up to you!" (Oh, well, I guess you get
what you pay for!).
I solved the problem (I think) by including the MySql.Data.dll in the
bin directory. But now it's blowing up with a "Parser Error" on line 1
of the .xsd file for the dataset I'm using. At least line 1 is what's
high-lighted in red on the error page. Line 1 is nothing more than the
XML version definition:"<?xml version="1.0" encoding="utf-8"?>" (The
error was "Failed to generate code. Exception of type
'System.Data.Design.InternalException' was thrown.")
What the heck? I have no idea how to even begin to figure out what has
gone wrong between my environment and theirs that can cause this. Both
my environment and theirs are running .NET Framework 2.0.50727.
Can anyone provide any help? Thanks.