Page 1 of 1
MySQLDirect.NET2\Samples\Web\CS fails in CS2
Posted: Tue 16 May 2006 02:41
by Guest
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?)
Posted: Tue 16 May 2006 13:47
by Alexey
Try to remove this assembly:
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mysqldirectwebcs\79fd8c10\6ef8bf8d\App_Code.bzymjhke.DLL'
Recrated
Posted: Tue 16 May 2006 16:40
by Guest
Its Re-created whenever the project is open, and a Windows File Lock keeps me from deleting it when the project is open.
Posted: Tue 16 May 2006 16:50
by Guest
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.)