You must Sign In to post a response.
  • Category: JQuery

    "Permission denied" in Jquery


    I am getting "Permission denied" error when i am seeing my application in IE11 and the remaining functionality are not working after i got this error. Please provide your suggestion on this.

    Simiyon A
  • #766462

    where your Jquery Placed may be placed some other server.

    can you share your jquery code with snapshots then reply members easily find out your issue.

    Name : Dotnet Developer-2015
    Email Id :

    'Not by might nor by power, but by my Spirit,' says the LORD Almighty.

  • #766474
    Permission denied is the basic scripting error, From the post on jquerys forum, you have to have the content type meta as the first item in your head tag.
    see below snippet

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "">
    <html xmlns="" xml:lang="de">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript" src="/ietest/jquery.js"></script>
    <script type="text/javascript" src="/ietest/test.js"></script>
    <a href="#">Test</a>

    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • #766511
    If you are getting this error while loading a script:
    Please put 'Content-Type meta' i.e. <-meta> tag as the first tag inside <-head> tag of your page, after that place all the .JS, .CSS or any other contents.
    If you are getting this error while calling some default jQuery functions like .load(), .blur(), .focus() with respect to controls:
    Try to find proper control using getElementById("xyz") and check whether that control is null or not, then only call these functions.

  • #766528
    Hi Simiyon.

    It seems you are trying to load the scripts which are out side the current page. The placement of script tags are important while working with JQuery.
    Just remove all the code and put simple alert("alert"); message and see where the actual problem is.
    Another reason for that "Permission Denied" is the path of the file given in your script might be wrong path.

    Sridhar Thota.
    Editor: DNS Forum.

  • #766531
    The "Permission denied" is clearly showing that the resource is in not accessible place.

    Following are some tips to find out your problem.
    1. Make sure you placed the script inside your appliction as follows
    <script type="text/javascript" src="JS/Javascript.js"></script>

    2. Are you getting the exception only in IE?
    a. if it is occurring in only IE make sure you id not disable the script running
    b. Try the following also
    IE -> Tools menu, click Internet Options.
    On the Security tab, click Trusted sites, and then click Sites.
    In the Add this Web site to the zone box, type the URL of the Web site that is affected, and then click Add.
    Click OK.

    3. Try to add the mata tab
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    By Nathan
    Direction is important than speed

  • Sign In to post your comments