[Mono-aspnet-list] Mono on CentOS - Error compiling a resource required to service this request

JustinN dogbertuk2000 at gmail.com
Wed Mar 28 09:08:10 UTC 2012

I've installed Mono successfully on my CentOS box.
It was working fine until I added MySQL support.

I have renamed the file mysql.data.dll to MySql.Data.dll, and registered it
in the GAC. I have edited both machine.config files to have the following

<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient"
description=".Net Framework Data Provider for MySQL"
type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data,
Version=, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />

My web.config looks like this:


This all runs perfectly on my local Windows machine, but on the CentOS box I
get the following error:

Compilation Error

Description: Error compiling a resource required to service this request.
Review your source file and modify it to fix this error.

Compiler Error Message: : at System.Reflection.AssemblyName..ctor
(System.String assemblyName) [0x00000] in <filename unknown>:0

I spent a good few hours last night trying to fix the issue, and got no
where. Any help would be highly appreciated.

Version information: Mono Runtime Version: 2.10.2 (tarball Mon Apr 18
19:06:50 UTC 2011); ASP.NET Version: 2.0.50727.1433

Please ask me if you need any further clarification to help me solve this

View this message in context: http://mono.1490590.n4.nabble.com/Mono-on-CentOS-Error-compiling-a-resource-required-to-service-this-request-tp4511763p4511763.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.

More information about the Mono-aspnet-list mailing list