Parser Error Message: Could not load type

J

John G.

I am getting the following error when attempting to browse a page,
"WebForm1.aspx", in a web forms project sub-folder,
"/FormsAuth1/Protected/".

Parser Error Message: Could not load type 'FormsAuth1.WebForm1'
Line 1: <%@ Page Codebehind="WebForm1.aspx.vb"
Inherits="FormsAuth1.WebForm1"%>

The IIS virtual folder "/Default Web Site/FormsAuth1/Protected" is
configured as an application. I'm calling the page directly in IE by typing
"http://localhost/FormsAuth1/Protected/Webform1.aspx" in the address box.
The goal is to apply Forms Authentication to the pages in the folder
"Protected". What's the right way to build & access .aspx pages in a
sub-folder?

Using Windows 2000 Pro / VS.NET V1.0 / Framework 1.0.3705 / IIS 5.0 / IE
6.0.

Thanks.
 
K

Kevin Spencer

Your Inherits attribute indicates that you have a Namespace called
"FormsAuth1" that contains a class named "WebForm1". Do you?

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
J

John G.

Probably not. WebForm1 is in a sub-folder, which seems to be the root
cause. Apparently, I'm having difficulty understanding how to construct &
implement sub-folders / sub-applications. Pointers to any articles on the
subject would be useful. Thanks for your time.
 

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,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top