locked
Some strange error after publishing RRS feed

  • Question

  • 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!

    Monday, December 8, 2008 9:45 AM

Answers

  • User-1005219520 posted

    The ASP.Net development (AKA Cassani or what you are probably calling local server) masks many errors - I highly recommend testing with IIS7 on Vista/SP1 before deploying. Your error has nothing to do with Dynamic Data directly- You can get this pretty good error message from a variety of reasons - look at these posts and  these

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, December 8, 2008 2:12 PM

All replies

  • User-1005219520 posted

    The ASP.Net development (AKA Cassani or what you are probably calling local server) masks many errors - I highly recommend testing with IIS7 on Vista/SP1 before deploying. Your error has nothing to do with Dynamic Data directly- You can get this pretty good error message from a variety of reasons - look at these posts and  these

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, December 8, 2008 2:12 PM
  • User-2146400267 posted

     Got-cha.

     Thanks!

    Monday, December 8, 2008 2:41 PM