Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

can not login in qvs with safari through web form?

can not login in qvs with safari through web form?

I check it ,it throw a Exception ,

network_err:xmlhttprequest exception 101

5 Replies
adhudson
Creator II
Creator II

Hi,

     Check whether you have enough permissions to the server/access point.

     And also check for intranet or related settings in safari.

Regards

Andrew Hudson

adhudson
Creator II
Creator II

Hi,

     Which version of QVS you are using?

     Please refer to the URL below.

     http://stackoverflow.com/questions/3076547/xmlhttprequest-exception-101-on-nested-ajax-queries

     I suspect if it is a bug. Try to install the latest updated version of QVS, if you are using the old one.

Regards

Andrew Hudson

Not applicable
Author

I use Qvs 10.0 SR4.

Not applicable
Author

function TryLogin(url, username, password, jQuery,callback) {

    url = url || "/QvAJAXZfc/Authenticate.aspx";

   jQuery.ajax({type:Get,

     url: url,

     async: true,

     password:password,

     username:username,

     complete:function(xmlhttp, status){

     var ok = (200 <= xmlhttp.status && xmlhttp.status < 300) || xmlhttp.status == 1223; // status 204 -> 1223 in IE

     if (ok) {

       callback(true);

     } else {

       callback(false);

     }

   }});

  return;

    var xmlhttp;

    if (window.XMLHttpRequest) {

        xmlhttp = new XMLHttpRequest()

    } else {

        xmlhttp = new ActiveXObject("MSXML2.XMLHTTP");

    }

    xmlhttp.onreadystatechange = function() {

        if (xmlhttp.readyState == 4) {

//alert([1,xmlhttp.status])

            var ok = (200 <= xmlhttp.status && xmlhttp.status < 300) || xmlhttp.status == 1223; // status 204 -> 1223 in IE

//alert([2,ok])

            if (ok) {

                callback(true);

            } else {

                callback(false);

            }

        }

    };

    xmlhttp.open("Get", url, true, username, password);

    try {

        xmlhttp.send(null);//error here

    } catch (e) {

        alert(e.message)

        callback(null);

    }

}

Not applicable
Author

Was this issue ever solved I am currently having the same issue with both Safari and IOS Devices? 

We are running Qvs 11 SR2