Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
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?)
- Posts: 2756
- Joined: Mon 13 Mar 2006 07:43
Try to remove this assembly:
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mysqldirectwebcs\79fd8c10\6ef8bf8d\App_Code.bzymjhke.DLL'
Its Re-created whenever the project is open, and a Windows File Lock keeps me from deleting it when the project is open.
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.)