By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,462 Members | 799 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,462 IT Pros & Developers. It's quick & easy.

ASP.NET 2.0 - mysql.data connector complilation error

P: n/a
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
Share this Question
Share on Google+
6 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: 2
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 discussion thread is closed

Replies have been disabled for this discussion.