473,322 Members | 1,480 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Two web forms in one project?

Hi, friends

I have created two web forms in a vb.net project. The strange thing is
the WebForm1.aspx works perfect while the WebForm2.aspx totally does not
work. I got following error message:

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 'WebApp1.WebForm2'.

Source Error:
Line 1: <%@ Page Language="vb" AutoEventWireup="false"
Codebehind="WebForm2.aspx.vb" Inherits="WebApp1.WebForm2"%>Line 2:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <HTML>

Source File: c:\inetPub\wwwroot\WebApp1\WebForm2.aspx Line: 1

Could anyone tell me where is the problem?

Alice

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #1
2 1572
Well, you don't give us much to go on. Can you add a third page and copy
your code/controls into it and try it out?
"Alice Z." <al***********@yahoo.com> wrote in message
news:er**************@TK2MSFTNGP10.phx.gbl...
Hi, friends

I have created two web forms in a vb.net project. The strange thing is
the WebForm1.aspx works perfect while the WebForm2.aspx totally does not
work. I got following error message:

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 'WebApp1.WebForm2'.

Source Error:
Line 1: <%@ Page Language="vb" AutoEventWireup="false"
Codebehind="WebForm2.aspx.vb" Inherits="WebApp1.WebForm2"%>Line 2:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <HTML>

Source File: c:\inetPub\wwwroot\WebApp1\WebForm2.aspx Line: 1

Could anyone tell me where is the problem?

Alice

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 21 '05 #2
Hi,

Do you have these forms in separte sub directories and do
these sub directories have web.config file in them?
Thanx
Deep
-----Original Message-----
Well, you don't give us much to go on. Can you add a third page and copyyour code/controls into it and try it out?
"Alice Z." <al***********@yahoo.com> wrote in message
news:er**************@TK2MSFTNGP10.phx.gbl...
Hi, friends

I have created two web forms in a vb.net project. The strange thing is the WebForm1.aspx works perfect while the WebForm2.aspx totally does not work. I got following error message:

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 'WebApp1.WebForm2'.
Source Error:
Line 1: <%@ Page Language="vb" AutoEventWireup="false"
Codebehind="WebForm2.aspx.vb" Inherits="WebApp1.WebForm2"%>Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> Line 3: <HTML>

Source File: c:\inetPub\wwwroot\WebApp1 \WebForm2.aspx Line: 1
Could anyone tell me where is the problem?

Alice

*** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!

.

Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: ALthePal | last post by:
Hi, I'm not sure if we are able to or even how to loop through the web forms in a VB.NET project during design time. In MSAccess we are able to go through the database -> forms collection and...
3
by: 20041210.20.eclipse | last post by:
Hi, I'm using MS Visual Studio .NET 2003 Standard on WinXP Home on a DELL Notebook. It is not possible to create a project that contains windows forms. When trying to create a Windows Forms...
3
by: Gustavo L. Fabro | last post by:
Greetings! I'm a newbie in Visual C++ .NET (have programmed in Borland C++ and Builder for long) and I am trying to do a very simple thing, but I'm stuck. I created an (unmanaged) DLL project...
2
by: Rob | last post by:
I was working on a project and everything was going fine, then all of a sudden the form set as my startup object stopped loading. I tried setting some others as the startup object, and some of my...
6
by: ALthePal | last post by:
Hi, I'm not sure if we are able to or even how to loop through the web forms in a VB.NET project during design time. In MSAccess we are able to go through the database -> forms collection and...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.