Asp.net Publishing Broke Site - "App_WebReferences is not allowed because the application is precompiled"

When publishing site to live, trying to go to site gives a Server Error – Runtime Error.  Looking in the Application logs on the server  gave "The directory App_WebReferences/ is not allowed because the application is precompiled."  This was causing a bit of stress to a programmer in a our company since he tried to publish a change during business ours.  

Solution

When publishing the options that work are to have “Delete all existing files prior to publish”, and “Precompile during publishing” checked.  And “Exclude files from the App_Data” unchecked.


Comments

Popular posts from this blog

Telerik - Custom Group Footers In RadGrid

Bootstrap Modal Popup is Grayed Out