Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Error: 'jQuery' is undefined when using authorization in Web.config

$
0
0

Hi,

I want to restrict unauthorised access to any page to any user so I added

<authorization>
      <deny users="?"/>
</authorization>

in web.config file of my application. That problem is solved but I got a new problem.

My login page uses jQuery code for validation and some animation. So, when I added above code in config file I get Error: 'jQuery' is undefined error pop-up message in window. Once i log in then other pages are working fine. I just get javascript error message only in login page when above code is set in config file.

Can anyone help regarding this.


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>