Re: Error loading class when developing web pages under folders

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: John Saunders (johnwsaundersiii_at_notcoldmail.com)
Date: 06/10/04


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


Relevant Pages

  • Re: Page and Images not found on Localhost
    ... I didn't know that even images could be declared as server controls. ... which may not have been declared as a server control. ... I designated the "project" folder as an application in IIS. ... is the root for anything under it. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Virtual Directory, Paths, Local and Deployed Problem
    ... If you are looking to get to the /images folder from the root. ... In production: http://www.site1.com/images/mygif.gif ... make this a virtual folder in IIS. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: This will stump you
    ... > folder, they are not in the web's root. ... Convert the folder to a subweb - ... > Also clear your IE Temp files ...
    (microsoft.public.frontpage.client)
  • Re: Allocating Internal Flash as Root
    ... folder representing theflash. ... is causing theflashto be mounted, not as the root, by like a storage card. ... have set all the registry settings that I could find in the help ... I boot up the system. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Sometime the JavaScript function becomes undefined
    ... Can't I capture that folder name and store it in a session variable? ... application is the web site root you'll have to use ... and this in the master ... I always get openWindow is undefined. ...
    (microsoft.public.dotnet.framework.aspnet)