Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VS.NET - setting up permissions for multiple folders

Status
Not open for further replies.

schick

Programmer
Jun 12, 2001
33
US
I tried setting up a solution that contains 1 project. This project is called "cco2005". This project contains 2 folders (Admin & Users). These have been made into applications via IIS. I allowed access to the cco2005 for everyone, admin folder is only accessible by "Administrators", Users folder is only accessible by "Users". I have a web.config in each folder. When I try to access a page within the admin folder, I get an error:
"Could not load type 'CCO2005.adminlogin'" adminlogin is the name of the file i was calling.(adminlogin.aspx)
What could be wrong, is my structure wrong?

Josh
 
If the form you are trying to call is in a folder are you actually calling the full path? I know it seems silly, but worth checking.

Can you give us a bit more information about how you are attempting to access the folders?
 
To access this file, I click "View in Browser" (Visual Studio.NET 2003) for the file I'm trying to access. This file is located in the "Admin" folder which requires "authorization" as "Administrator". Rather than this page being redirected to my "login.aspx" page, it gives the error previously shown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top