Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 479
  • Last Modified:

style sheet not showing in secure page asp.net

somehow my style sheet is not kicking off , until the user logs in using the form in the login page, I want to show the style on all pages regardless of login status.. can you help?


web congfig
       <authentication mode="Forms">
        <forms loginUrl="Login.aspx" name="adAuthCookie" timeout="20" path="/" >
        </forms>
        </authentication>
        <authorization>
        <deny users="?" />
        <allow users="*" />
        </authorization>
        <identity impersonate="true" />


MasterPage

<link href="styles/style.css" rel="stylesheet" type="text/css" />

Open in new window

0
TonyReba
Asked:
TonyReba
  • 3
1 Solution
 
AntyraelCommented:
Sorry if I'm completely missing how asp works, I'm not familiar with it.

But, would it help if you put the stylesheet link higher up, before the authentication stuff?
0
 
TonyRebaAuthor Commented:
acording to this post
is something I misssing in my web config, can someone explain?

http://forums.asp.net/p/1550711/3801747.aspx
0
 
TonyRebaAuthor Commented:
I found the solution already:

http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/Q_25484226.html?sfQueryTermInfo=1+10+30+css+locat+path+secur

basically I was missing to add location path for my style sheet  so I could be accessed!!

0
 
TonyRebaAuthor Commented:
I found the solution in other post EE
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now