Friday, March 16, 2012

Newly added asp.net webforms cannot parse

Hi,
I simply try to add new default webforms to my project and none of them
can load.
Has anybody received an error like this?

Thanks,

Do

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 type 'nspi1.WebForm3'.

Source Error:

Line 1: <%@dotnet.itags.org. Page Language="vb" AutoEventWireup="false"
Codebehind="WebForm3.aspx.vb" Inherits="nspi1.WebForm3"%>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <html
Source File: c:\hosting\webhost4life\member\userb\nspi1.3\WebFo rm3.aspx
Line: 1

-----------------------
--
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573Hi,

Try to rebuild the project and re-load the page in the browser. You might be
having this error as the page class the newly added page inherits from in
its @.Page directive has not been compiled into the code-behind assembly.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Do" <doduong12141214@.hotmail.com> wrote in message
news:e%23KSrMFmDHA.2676@.TK2MSFTNGP11.phx.gbl...
> Hi,
> I simply try to add new default webforms to my project and none of them
> can load.
> Has anybody received an error like this?
> Thanks,
> Do
> 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 type 'nspi1.WebForm3'.
> Source Error:
> Line 1: <%@. Page Language="vb" AutoEventWireup="false"
> Codebehind="WebForm3.aspx.vb" Inherits="nspi1.WebForm3"%>
> Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> Line 3: <html>
> Source File: c:\hosting\webhost4life\member\userb\nspi1.3\WebFo rm3.aspx
> Line: 1
>
> -----------------------
--
> --
> Version Information: Microsoft .NET Framework Version:1.1.4322.573;
ASP.NET
> Version:1.1.4322.573
Hi,

Try to rebuild the project and re-load the page in the browser. You might be
having this error as the page class the newly added page inherits from in
its @.Page directive has not been compiled into the code-behind assembly.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Do" <doduong12141214@.hotmail.com> wrote in message
news:e%23KSrMFmDHA.2676@.TK2MSFTNGP11.phx.gbl...
> Hi,
> I simply try to add new default webforms to my project and none of them
> can load.
> Has anybody received an error like this?
> Thanks,
> Do
> 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 type 'nspi1.WebForm3'.
> Source Error:
> Line 1: <%@. Page Language="vb" AutoEventWireup="false"
> Codebehind="WebForm3.aspx.vb" Inherits="nspi1.WebForm3"%>
> Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> Line 3: <html>
> Source File: c:\hosting\webhost4life\member\userb\nspi1.3\WebFo rm3.aspx
> Line: 1
>
> -----------------------
--
> --
> Version Information: Microsoft .NET Framework Version:1.1.4322.573;
ASP.NET
> Version:1.1.4322.573

0 comments:

Post a Comment