I am a developer and am trying to create a very basic "Hello World" .NET 3.5 web app. However, whenever I publish the code I am getting the following error.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load the assembly 'App_Web_default.aspx.cdcab7d2'. Make sure that it is compiled before accessing the page.
Source Error:
Line 1: <%@ page language="C#" autoeventwireup="true" inherits="_Default, App_Web_default.aspx.cdcab7d2" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Here are the steps I'm taking.
- Open VS2008 and create a new website using C# and .NET Framework 3.5.
- Update Default.aspx to say "Hello World"
- Make the following changes to web.config
** add
<customErrors mode="Off"/>
** comment out<authentication mode="Windows" />
- Publish the site, checking the boxes for "Allow this precompiled site to be updateable" and "Use fixed naming and single page assemblies"
What I would like to know is if this is something I am doing wrong or something our web admins have setup incorrectly.
Would/could it have anything to do with where the /bin directory is located?