473,414 Members | 1,740 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,414 software developers and data experts.

ASP.NET 2.0 - mysql.data connector complilation error

Hi asp.net guru's, i have developped this site in ASP.NET 2.0 in the
2005 web delopment beta1 version from microsoft, the site works fine
local, but when I move it to my IIS 6.0 with ASP.NET 2.0 I get some
errors, http://porse.asp.syska.dk/ I use the mysql connector
http://www.mysql.com/products/connector/net/ how do I make it work on
the IIS 6.0, do I need to register the dll file or something....

hope there are some that can help me, thanks in advance...

Server Error in '/' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration
file required to service this request. Please review the specific error
details below and modify your configuration file appropriately.

Parser Error Message: File or assembly name 'MySql.Data,
Version=1.0.3.31712, Culture=neutral, PublicKeyToken=c5687fc88969c44d',
or one of its dependencies, was not found.

Source Error:
Line 13: Because this affects performance, set this value to
true only during development.
Line 14: -->
Line 15: <compilation debug="true">
Line 16: <assemblies>
Line 17: <add assembly="MySql.Data, Version=1.0.3.31712,
Culture=neutral,
PublicKeyToken=C5687FC88969C44D"/></assemblies></compilation>
Source File: C:\Inetpub\ASP_NET\Porse\web.config Line: 15
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.40607.42;
ASP.NET Version:2.0.40607.42
Nov 19 '05 #1
6 4915
Mikael Syska wrote:
Parser Error Message: File or assembly name 'MySql.Data,
Version=1.0.3.31712, Culture=neutral, PublicKeyToken=c5687fc88969c44d',
or one of its dependencies, was not found.


Copy the assembly in the bin dir of your web app or install it in the GAC of the
deployment server (see gacutil.exe)

--
Software is like sex: it's better when it's free -- [Linus Torvalds]

Fabio Marini - A+, RHCT, MCDBA, MCAD.NET
To reply: news [at] mamakin1976 [dot] plus [dot] com
Nov 19 '05 #2
Fabio wrote:
Mikael Syska wrote:
Parser Error Message: File or assembly name 'MySql.Data,
Version=1.0.3.31712, Culture=neutral,
PublicKeyToken=c5687fc88969c44d', or one of its dependencies, was not
found.

Copy the assembly in the bin dir of your web app or install it in the
GAC of the deployment server (see gacutil.exe)


Hey,

How in the .NET 2.0 framework I have added the assembly, but it still
gives me this error, are there are way that I can raise the debug level
to get more information out so I can see what the problem is?

It really bugs me that I can't get it working other than in VS 2005 were
I'm am developing it..

any one?

kind regards
Mikael Syska
Nov 19 '05 #3
Mikael Syska wrote:
How in the .NET 2.0 framework I have added the assembly, but it still
gives me this error, are there are way that I can raise the debug level
to get more information out so I can see what the problem is?


What do you mean by "raise the debug level"?

Have you tried to install the connector on the deployment server?

--
Software is like sex: it's better when it's free -- [Linus Torvalds]

Fabio Marini - A+, RHCT, MCDBA, MCAD.NET
To reply: news [at] mamakin1976 [dot] plus [dot] com
Nov 19 '05 #4
Mikael Syska wrote:
Line 13: Because this affects performance, set this value to
true only during development.
Line 14: -->
Line 15: <compilation debug="true">
Line 16: <assemblies>
Line 17: <add assembly="MySql.Data, Version=1.0.3.31712,
Culture=neutral,
PublicKeyToken=C5687FC88969C44D"/></assemblies></compilation>


Is line 17 necessary? I never had to add it to my MySQL apps, but then again
..Net 2.0 could be different (and buggy considering it's still beta?)

--
Software is like sex: it's better when it's free -- [Linus Torvalds]

Fabio Marini - A+, RHCT, MCDBA, MCAD.NET
To reply: news [at] mamakin1976 [dot] plus [dot] com
Nov 19 '05 #5
Fabio wrote:
Mikael Syska wrote:
Line 13: Because this affects performance, set this value
to true only during development.
Line 14: -->
Line 15: <compilation debug="true">
Line 16: <assemblies>
Line 17: <add assembly="MySql.Data,
Version=1.0.3.31712, Culture=neutral,
PublicKeyToken=C5687FC88969C44D"/></assemblies></compilation>

Is line 17 necessary? I never had to add it to my MySQL apps, but then
again .Net 2.0 could be different (and buggy considering it's still beta?)

solved it, the installer from www.mysql.com made some nasty errors when
it was installed, removed it from the gac, and just put it in the bin
folder.... thank for the help

// ouT
Nov 19 '05 #6
I just wanted to share my experience on this.. i;ve long used mysql and asp before and i was completely satisfied with it. however, when i used mysql as my db for an asp.net 2 portal ( http://www.aspnetdir.com - just for ur reference ) i ran into errors after errors. surprisingly, most of those errors turned up to be in the mysql bug list. so what im really trying to say is.. if you're into asp.net 2, go and use ms sql -- it is asp.net 2's best partner for its database. it's what i did, now im happy as a clam :)
May 3 '06 #7

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

Similar topics

0
by: Mike Chirico | last post by:
Interesting Things to Know about MySQL Mike Chirico (mchirico@users.sourceforge.net) Copyright (GPU Free Documentation License) 2004 Last Updated: Mon Jun 7 10:37:28 EDT 2004 The latest...
2
by: wink martindale | last post by:
Hello all, I am building a vb.net app, using mysql and corelabs connector. I am having a bit of difficulty with a dbnull error. Here is some sample code: Do While myReader3.Read()...
5
by: asadikhan | last post by:
Hi, I am trying to configure my asp.net application to work with MySQL using Connector/NET and I wish to use connection pooling. What is the best way to do this? This is what I have so far: ...
2
by: Bill | last post by:
Hi, I try to connect to Mysql using the Mysql Connector 1.0.7. with asp.net 2.O. In "mysql.aspx", i put: <%@ import namespace="System.Data"%> <%@ Import Namespace = "MySql.Data.MySqlClient"...
3
by: filip.norrgard | last post by:
Hi All! I've been developing an ASP.Net 2.0 web application using the Visual Studio 2005 tools. Currently datagrids on a page are filled with data from a dataset (a .xsd file in the "project")...
4
by: Tracey | last post by:
I have a Mysql database hosted on a remote server. Previously, I could always connect to those databases using the 3.51 ODBC connector and linking the tables in Access. The benefit of this is that...
1
by: Carmine [www.thetotalsite.it] | last post by:
Hi, I am using ASP.Net 2.0 with the MySQL Connector .Net 5.1.2.2. I added these lines to the web.config to make the connector.net able to handle the SqlConnection object (and so to bind it to a...
1
by: sethupnr | last post by:
when i'm using a simple JSP-mysql code it shows some HTTP status 500 error.But simple JSP program without databse is running , Please help how to solve this problem. I'm new to JSP. my...
6
by: shivapadma | last post by:
i want to access mysql database server from jsp program for this i downloaded mysql-connector-java-3.1.14.zip mysql-connector-java-3.1.14 folder contains mysql-connector-java-3.1.14-bin.jar...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.