Forms authentication and images/style sheets
If you are unable to view images and/or a style sheet is not formatting a web form and you are using forms authentication, you'll need to make the below changes to Web.config (assuming that your style sheet is in a directory named style and images in a directory named images). Forms authentication will block access to them, so you'll need to allow access to them.
xml
version ="1.0"
?>
<
configuration
>
<
appSettings
/>
<
connectionStrings
/>
<
system.web
/>
<
location
path
=
"
style
"
>
<
system.web
>
<
authorization
>
<
allow
users
=
"
*
"
/>
authorization
>
system.web
>
location
>
<
location
path
=
"
images
"
>
<
system.web
>
<
authorization
>
<
allow
users
=
"
*
"
/>
authorization
>
system.web
>
location
>
configuration
>