c# - ASP.net default login.aspx page missing images -


i using default asp.net web application in visual studio 2010. when starting site , going login page, missing of graphics. after logging in graphics return.

i have tried adding exceptions path in web.config no luck. maybe have wrong path? using default styles.

<authentication mode="forms">   <forms loginurl="~/account/login.aspx" timeout="2880" /> </authentication>  <authorization>   <deny users="?" /> </authorization> ...  <location path="~/account/login.aspx"> <system.web>   <authorization>     <allow users="*"/>   </authorization> </system.web> </location> 

the site default new asp.net web application in visual studio 2010 plus in web.config

it formatting/syntax issue.

when allow access in web.config should be:

<location path="styles"> 

not

<location path="~/styles"> 

Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -