473,407 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Difficulty publishing ASP.NET site

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.
Jun 27 '08 #1
2 1104
Did you google it?
Check out folowing links

http://forums.asp.net/p/1011934/1829242.aspx
http://www.velocityreviews.com/forum...errorquot.html

George
"daveh551" <ge****@gmail.comwrote in message
news:7a**********************************@t54g2000 hsg.googlegroups.com...
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.

Jun 27 '08 #2
George,

Thanks so much for your response.

I was so completely baffled by where the error was coming from that I
couldn't imagine what terms to google for.

After a quick read of the two links you gave, I had hoped that I might
have the answer since they both deal with exactly the error I"m
getting, but apparently not.

The first suggests that the problem is that the connection string is
embedded in the XSD file, and when you use a different server, then it
can no longer find the DB and can't parse the file. But in examining
my XSD files, they are taking the connections string from the
web.config file, where it has been changed. So that one didn't help.

The second one traced the problem apparently to conflicting versions
of the MySql connector. But since I am including the MySQL connector
dll that I used for development in the web load (and I believe I have
verified that it is using the one I am including - when I delete mine,
it gets a "can't find assembly" error, and when I put it back it gets
to the parser error), this does not seem to be the problem either.

I do appreciate your help though.
On Apr 16, 3:00 pm, "George Ter-Saakov" <gt-...@cardone.comwrote:
Did you google it?
Check out folowing links

http://forums.asp.net/p/1011934/1829...sing-mysql-ren...

George

"daveh551" <gee...@gmail.comwrote in message

news:7a**********************************@t54g2000 hsg.googlegroups.com...
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.
Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Doc | last post by:
I'm trying to get to the bottom of a problem I've been having with publishing a freebie website. I'm using a program called WebEasy. Using a very simple site upload as an example, in this case a...
1
by: philip | last post by:
I tried to publish on my address 'philippewarein.com' a minimal site. There is only one page, with some words : "This is my first site" This is the HTML code of this page, code created by Visual...
5
by: rmgalante | last post by:
I've been using the VS2005 Publish utility on one of my projects for about six months. I have a large site with hundreds of files, thousands if you include the code behind files. So I thought...
2
by: Max2006 | last post by:
Hi, After I right-click on my web application project file and choose "Publish ." and do the publishing, the result publishable files does not include the *.ashx files. Is it by design? How...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.