[Mono-list] ASP .NET with VS 2005 - Cannot find type _Default [Final solution]

Vasili Sviridov vsviridov at exceede.com
Tue Feb 12 13:34:21 EST 2008


Eric wrote:
> New users such as myself trying to program an ASP .NET hello program with VS 2005 seem to stumple upon this server error:
>
> <code>
> Server Error in '/' Application
> Parser Error
>
> Description: Error parsing a resource required to service this request. Review your source file and modify it to fix this error.
>
> Error message:
>
> Cannot find type _Default
>
> File name: /var/www/html/asp/Default.aspx
>
>     Line: 1
> Source Error:
>
> <%@ Page Language="C#" AutoEventWireup="true"  CodeFile="html/asp/Default.aspx.cs" Inherits="_Default" %>
> </code>
>
> I've been googling, searching on this list, noticed many posts related to that problem, but no solution so far... People who use VS 2005, please let us know how you've set it up!
>
> Thanks!
>
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>   
Rename your class in both aspx and in codebehind to something different 
than default.


More information about the Mono-list mailing list