Click here to Skip to main content
16,017,944 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone.I host an asp.net website on my pc at home using Server 2008 with IIS 7. The website uses ASP Membership allowing me to restrict what users I allow on the website which includes what pages are available to each user. Awhile ago I started using webservices created using Visual Basic 2008 which allow some of my VB programs to comunicate with my server. The problem is I can only put the services in the root of my website which is starting to make it look untidy, If I put the service in a sub folder created in the website and try communicating with it to test by using a webbrowser ie : www.mysite/myservices/service1.svr I get errors because it reverts back to my login page within the root of the website. Is there a way of making the sub folder seperate from the security of the main website, so I can request information from the service without it reverting to my login page first?
Posted

1 solution

In your main web site you can the access settings to sub folder/pages
check below answer
Forms Authentication: Allow anonymous access to some pages.[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900