MySQLDirect.NET2\Samples\Web\CS fails in CS2

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
Guest

MySQLDirect.NET2\Samples\Web\CS fails in CS2

Post by Guest » Tue 16 May 2006 02:41

Error 1 The type 'Web.Global' is ambiguous: it could come from assembly 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mysqldirectwebcs\79fd8c10\6ef8bf8d\App_Code.bzymjhke.DLL' or from assembly 'C:\Program Files\CoreLab\MySQLDirect.NET2\Samples\Web\Cs\bin\Web.DLL'. Please specify the assembly explicitly in the type name. C:\Program Files\CoreLab\MySQLDirect.NET2\Samples\Web\Cs\Global.asax

I'm not sure what to do with this error. How do I specify one version of Web.Global (and which should it be?)

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Tue 16 May 2006 13:47

Try to remove this assembly:
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mysqldirectwebcs\79fd8c10\6ef8bf8d\App_Code.bzymjhke.DLL'

Guest

Recrated

Post by Guest » Tue 16 May 2006 16:40

Its Re-created whenever the project is open, and a Windows File Lock keeps me from deleting it when the project is open.

Guest

Post by Guest » Tue 16 May 2006 16:50

I was able to fix this myself by re-installing the Mysqldirect.net2 package, then opening the project in VS2005 by doing file open web and opening it from the localhost/MySqlDirectWebCs directory instead of opening the solution file manually. (This may have to do with the recent 'Web project' updates for VS2005 that MS has released.)

Post Reply