anonymous authentication

G

Guest

Hi,
I have a problem when I browse my asp.net pages. The style sheet is not
loaded. If I try to browse the style sheet from the IIS I get this message :
"You are not authorized to view this page".

In my config file I have this settings:

<authentication mode="Forms">
<forms loginUrl="AppLogin.aspx" name=".ASPXFORMSAUTH" protection="All"
slidingExpiration="true"/>
</authentication>

<authorization>
<deny users="?" />
</authorization>

And in my IIS I have marked the Enable Anonymos Access. I am running a
Windows Server 2003.

What can I do to fix this?

Thanks
Julia
 
K

Kevin Spencer

Let's have a look at the HTML for the StyleSheet Link.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
B

Bruce Barker

if you style sheet is name.css or name.html, (not aspx) then security is
handled by iis only. iis use directory security, so check the permission of
the stylesheet directory for the anonymous accout given to iis.


-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top