Parse Error

G

Guest

I am working on a Web application and when I try to add a Web Form with zero
code on it and just type hello world I get the following:

1. The Virtual Web is setup as an application
2. All other pages work fine, just when I add new pages?
3. Rebooted, resetiis, and I searched the Web over for a resolution.

I am at loss. Any help would be great.

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 'Rjrt.QuipSap.WebUi.TestForm'.

Source Error:


Line 1: <%@ Page Language="vb" AutoEventWireup="false"
Codebehind="TestForm.aspx.vb" Inherits="Rjrt.QuipSap.WebUi.TestForm"%>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <HTML>


Source File: c:\inetpub\wwwroot\Rjrt.QuipSap.WebUi\TestForm.aspx Line: 1
 
K

Karl Seguin [MVP]

Your @Page directive is telling the JIT compiler that your page inherits
from Rjrt.QuipSap.WebUi.TestForm

ASP.NET is assuming to find that type in a dll of the bin folder. If you
don't have any codebehind and you aren't deploying any assemblies in your
bin folder, remote the Inherit=".." attribute from the @Page and try again.

Karl
 
G

Guest

Karl thanks for the response.

All I am simply doing is adding a new VB.NET Web form to the project as I
always do. Not touching the @Page directive at all. The wierd part is that
when I delete the inherits part of the directive and build the page works
fine. Then when I drag and drop a Server Contol (Label) VS.NET adds the same
exact thing that I deleted from the page directive of

Inherits="Rjrt.QuipSap.WebUi.TestForm"

I am really perplexed at this. All other apps work fine, but this one is
under Visual Source Safe and I am working as a team and wondering if that
might be the issue.
 
K

Karl Seguin [MVP]

I wouldn't think it would be a problem. To be honest, I can't think what the
problem might be. The simplest work around might be to simply have an empy
codebehind file of type Rjrt.QuipSap.WebUi.TestForm and deploy the assembly
to the bin...

Karl
 
G

Guest

Maybe it is Gremlins in the ASP.NET Application I am writting. Anyway thanks
for the Help.

I do have another question?

When developing ASP.NET 1.1 or 2.0 using Visual Source Safe I have found
that each developer should have the same exact setup on their machines. Is
this a true statement?
 

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,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top