Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Access Denied. Access Denied.To: NULL Date: 10/4/2005 11:32:00 AM Hello:
The following code I have used in JavaScript file to get the xml from
.aspx. It is giving access denied error while executing Load method.
the error because of any browser security?
QS="NewAutoFill.aspx?RequestFlag=1";
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.Load("POST", QS, true);
xmlhttp.setRequestHeader("Content-Type",
"application/x-www-form-urlencoded");
if (xmlhttp.readyState == 4)
{
var xml = new ActiveXObject("Microsoft.XMLDOM");
xml.async = false;
xml.loadXML( xmlhttp.responseText ) ;
if(!xml.documentElement)
return;
xml.documentElement.setAttribute("FILL_SRCHID",SrchID)
xml.documentElement.setAttribute("FILL_DISP_ID",ObjID)
}
xmlhttp.Send(PostFields);
Any ideas how to fix the error.
Regards,
Praveen
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
