troubleshooting Question

How can I get my web.config file to ignore my css and images folder

Avatar of ThePrettyGeek
ThePrettyGeekFlag for United States of America asked on
.NET ProgrammingASP.NETVisual Basic.NET
5 Comments1 Solution703 ViewsLast Modified:
Ive got forms authentication kinda working in an ASP app but it wants to protect everything and there is a css folder and an images folder, both of which, because of the authentication are being protected to the point that when I run the site in Visual Studio all I see is white background with the logon page the formating and the images do not show up.

Im attaching that part of my web.config file in the code section(slightly edited for security reasons)

Ive scowered the MSDN sites and googled all over the place and this authentication is driving me nutts.

<authentication mode="Forms">
     <forms name=".ADAuthCookie" loginUrl="Login.aspx"  protection="All" defaultUrl="newpage.aspx" domain="" timeout="90" path="/" />
      <deny users="?" />
      <allow users="*" />

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros