[Mono-aspnet-list] Mono in VS2008 error on Run Locally with Mono

Robert Jordan robertj at gmx.net
Sat May 8 10:30:48 EDT 2010

On 08.05.2010 16:12, gcutts wrote:
> I'm having the exact same problem.  I have searched for hours on how to solve
> this problem and there haven't been any useful replies.  Clearly someone
> somewhere has this working on a windows box.
> This is my situation if anyone can help:
> - VS 2008 with Mono Tools for Visual Studio installed
> - Using PostGreSQL membership provider from this page:
> http://www.postgresql.org/ftp/projects/pgFoundry/net-2-providers/
> This provider references Mono.Security and NpgSQL so I have copied over
> those references with the ones from the mono installation c:\Program Files
> (x86)\Mono-2.6.3\lib\mono\gac\ to make sure they are using the same dll
> files.

Which files did you copy into which location? Please be more verbose.

Mono comes and depends on its own Mono.Security. If you somehow
managed to overwrite Mono's dll or place another version (e.g.
that one that came with NpgSQL) into your application's "bin" folder,
then the errors you've experienced are by design. Don't do it.

If you want to run a site under both IIS and Mono, then you must
copy Mono's system-default Mono.Security.dll into your application's
bin folder. If that DLL is badly interacting with NpgSQL, then
you should file a bug with its authors.


More information about the Mono-aspnet-list mailing list