User-2146400267 posted
Hello,
My new Dynamic Data site works fine on my local instance. When I published it to the web server, and tried to browse to it, I got the following error:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0433: The type 'Site' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\60a1b342\40be5752\assembly\dl3\e3698cb8\5e16c3c9_3959c901\App_Code.DLL' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\60a1b342\40be5752\assembly\dl3\dac16fe3\100375cb_3959c901\App_Web_-qgnhmeh.DLL'
Source Error:
Line 110:
Line 111: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
Line 112: public class site_master : global::Site {
Line 113:
Line 114: private System.Web.UI.ITemplate @__Template_ContentPlaceHolder1;
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\60a1b342\40be5752\App_Web_site.master.cdcab7d2.2wdf3tbd.0.cs Line: 112
This is a vanilla Dynamic Data project. I changed nothing other than the one line in Global.asax for the data connection.
Any thoughts?
Thanks!