views:

31

answers:

1

I have login control on a page that is automatically redirected to if the user requests a page that he/she does not have access to.

The page paths to scripts are rendering fine, however, firebug is reporting 3 errors.

Hovering the mouse over the errors reveals problems with the link.

http://localhost:1535/testingproject/loginregister.aspx?ReturnUrl=%2ftestingproject%2fscripts%2fjquery%2fjquery-1.3.2.min.js

I have no idea what it's complaining about, but as a result my site isn't displaying correctly.

Any ideas?

+1  A: 

It's not able to access the jQuery scripts folder.

What happens when you try to access the script directly? If it sends you to the login page, you can add this line to your web.config -

<location path="scripts/jquery" allowOverride="true">
    <system.web>
        <authorization>
            <allow users="*"/>
        </authorization>
    </system.web>
</location>

This will allow all the users to access the file without logging in.

Kirtan