Newly added asp.net webforms cannot parse

D

Do

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\WebForm3.aspx
Line: 1
 
D

Dmitriy Lapshin [C# / .NET MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top