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

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -