c# - Parser Error Debugging VS2008 -


when create new vs2008 asp.net application builds fine. when start debugging below error in browser. i've rebuilt app. inherits clause of markup page matches class in code-behind c#. clues?

server error in '/' application. --------------------------------------------------------------------------------  parser error  description: error occurred during parsing of resource required service request. please review following specific parse error details , modify source file appropriately.   parser error message: not load type 'webapplication3._default'.  source error:    line 1:  <%@ page language="c#" autoeventwireup="true" codebehind="default.aspx.cs" inherits="webapplication3._default" %> line 2:   line 3:  <!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">   source file: /default.aspx    line: 1    -------------------------------------------------------------------------------- version information: microsoft .net framework version:2.0.50727.4952; asp.net version:2.0.50727.4927  

try removing namespace inherits attribute:

<%@ page language="c#" autoeventwireup="true" codebehind="default.aspx.cs" inherits="_default" %> 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -