Re: Error loading class when developing web pages under folders
From: John Saunders (johnwsaundersiii_at_notcoldmail.com)
Date: 06/10/04
- Next message: Rob T: "Re: Hidden Texbox"
- Previous message: Rob T: "Re: Hidden Texbox"
- In reply to: Duron: "Re: Error loading class when developing web pages under folders"
- Next in thread: John: "Re: Error loading class when developing web pages under folders"
- Reply: John: "Re: Error loading class when developing web pages under folders"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 10 Jun 2004 12:50:30 -0400
"Duron" <johnnykhlee@seed.net.tw> wrote in message
news:OsX2VvrTEHA.556@tk2msftngp13.phx.gbl...
> Hi Ravindra,
>
> I've done some more tests. Here are something I found,
>
> First, if I simply create a new folder, say Member, and then add a new web
> page, say Default.aspx, it is working fine, no matter if there is another
> Default.aspx at the root.
>
> Then, I copied Web.config into /Member. After this, if I try to run
> /Member/Default.aspx, an error message says I have to make this folder an
> web application in IIS. I did so. But then the old error (can not load
> namespace MySite._Default) occurs.
>
> I haven't done many things to Web.config except the following,
>
> <authentication mode="None">
> </authentication>
> <authorization>
> <allow users="*" />
> </authorization>
>
> The reason why I add Web.config to that folder is because I want the root
> folder be free to access while /Member needs certification. How do people
> normally do this in VS.NET?
People normally use <location> tags.
-- John Saunders johnwsaundersiii at hotmail
- Next message: Rob T: "Re: Hidden Texbox"
- Previous message: Rob T: "Re: Hidden Texbox"
- In reply to: Duron: "Re: Error loading class when developing web pages under folders"
- Next in thread: John: "Re: Error loading class when developing web pages under folders"
- Reply: John: "Re: Error loading class when developing web pages under folders"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|