Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RedirectFromLoginPage does not appear to work
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00865724
Message ID:
00865760
Vues:
16
Chris,

You shouldn't need to copy your DLL to another directory. The bin directory off of the root virtual directory is where it should be read from. Are you only using one virtual directory or have you setup different ones for each sub-directory?

For the deny users statement, make sure the valid users are listed first in the web.config. Make sure you are placing the authentication information in the we.config in the root directoy. You can not use web.config files in sub-folders for authentication.

>Hi Cathi - sorry to bother you again!
>
>After scouring the internet I discovered that this error is normally caused when the pages can't locate the .dll
>
>I have my root folder (has login form and general forms etc) with various other folders one of which is a folder that contains all the secure forms etc including my startup.aspx page and also a webconfig etc. This "secure" folder had no bin directory so I copied the bin directory from the root folder to the secure folder and after a few errors and re-builds my startup.aspx works fine! But if I switch to
>
><deny users="?" />
>
>the login page appears and I am back to where I started!
>
>Is it normal to have to copy the bin directory into subsequent folders you create on the site? Or am I not setting things out right!
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform