473,320 Members | 1,945 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Access Error with msxml4.dll

I keep getting an Access is denied error using msxml4.dll I have seen a
number of posts on other sites mention it and say they fixed it but not one
says how they did.

Here is the code that I am trying to execute (in jscript).

var objSrvHTTP;
var objXMLSend;
var objXMLReceive;
objSrvHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP.4.0");
objXMLSend = Server.CreateObject("MSXML2.DOMDocument.4.0");
objXMLReceive = Server.CreateObject("MSXML2.DOMDocument.4.0");

objXMLSend.async = false;
objXMLSend.loadXML (strXMLOUT);

objSrvHTTP.open ("POST",strURL,false);
objSrvHTTP.setRequestHeader("application","x-www-form-urlencoded");
objSrvHTTP.send (objXMLSend);
objXMLReceive = objSrvHTTP.responseXML;
Response.ContentType = "text/xml";
Response.Write (objXMLReceive.xml);

I have had this with any site that I have tried to get a response from so I
am fairly sure it is the new version of msxml since my other 2.0 versions
still work.

On one I can get the content back directly through the browser but not with
this call.


Jul 19 '05 #1
2 5621
what is in strURL?
at what statement is the error occurring?

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Jason Burr" <jb***@tameinfo.com> wrote in message
news:FW*********************@news1.news.adelphia.n et...
I keep getting an Access is denied error using msxml4.dll I have seen a
number of posts on other sites mention it and say they fixed it but not one says how they did.

Here is the code that I am trying to execute (in jscript).

var objSrvHTTP;
var objXMLSend;
var objXMLReceive;
objSrvHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP.4.0");
objXMLSend = Server.CreateObject("MSXML2.DOMDocument.4.0");
objXMLReceive = Server.CreateObject("MSXML2.DOMDocument.4.0");

objXMLSend.async = false;
objXMLSend.loadXML (strXMLOUT);

objSrvHTTP.open ("POST",strURL,false);
objSrvHTTP.setRequestHeader("application","x-www-form-urlencoded");
objSrvHTTP.send (objXMLSend);
objXMLReceive = objSrvHTTP.responseXML;
Response.ContentType = "text/xml";
Response.Write (objXMLReceive.xml);

I have had this with any site that I have tried to get a response from so I am fairly sure it is the new version of msxml since my other 2.0 versions
still work.

On one I can get the content back directly through the browser but not with this call.


Jul 19 '05 #2
Turns out that all of my code was fine the issue lies in changes with
version 4 and it attaching properties of your browser settings to IIS the
solution is here if anyone else runs into this problem after installing
version 4.

http://support.microsoft.com/default...en-us;820882#6

FYI the error reports as the .open line however as I understand it the real
error is on the .send

"Mark Schupp" <ms*****@ielearning.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
what is in strURL?
at what statement is the error occurring?

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Jason Burr" <jb***@tameinfo.com> wrote in message
news:FW*********************@news1.news.adelphia.n et...
I keep getting an Access is denied error using msxml4.dll I have seen a
number of posts on other sites mention it and say they fixed it but not one
says how they did.

Here is the code that I am trying to execute (in jscript).

var objSrvHTTP;
var objXMLSend;
var objXMLReceive;
objSrvHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP.4.0");
objXMLSend = Server.CreateObject("MSXML2.DOMDocument.4.0");
objXMLReceive = Server.CreateObject("MSXML2.DOMDocument.4.0");

objXMLSend.async = false;
objXMLSend.loadXML (strXMLOUT);

objSrvHTTP.open ("POST",strURL,false);
objSrvHTTP.setRequestHeader("application","x-www-form-urlencoded");
objSrvHTTP.send (objXMLSend);
objXMLReceive = objSrvHTTP.responseXML;
Response.ContentType = "text/xml";
Response.Write (objXMLReceive.xml);

I have had this with any site that I have tried to get a response from so I
am fairly sure it is the new version of msxml since my other 2.0

versions still work.

On one I can get the content back directly through the browser but not

with
this call.



Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Vince C. | last post by:
Hi, I've created a web application with Visual Interdev and I've added Microsoft XML, version 4 in project's references. A META tag has been successfully added in global.asa: <!--METADATA...
1
by: T | last post by:
Is there a way to use the Visual Studio .NET IDE to validate a schema using the MSXML4 parser? Similarly, is there a way to get the .NET framework utilities, such as the xsd.exe and wsdl.exe...
1
by: jd | last post by:
I have an xsl file to generate xml in to an html file. The size of the xsl is 300kb and size of the xml is 47 kb (the size of xml is variable). I am using VB.net to convert the xml file into an...
2
by: VernonR | last post by:
I'm having problems getting the .NET 1.1 XSL transform to cross reference using ID / IDREF correctly. I have collapsed to a simple set of files to show the problem more clearly... The output...
3
by: Eugen Gulinsky | last post by:
Hello guys, I am having problems trying to migrate our MSXML4-compatible stylesheets containing large msxsl:script blocks to a formate understandable by System.Xml:Xsl.XslTransform. I keep...
4
by: Dave Langley | last post by:
I'm using VC++ to write an VC++ unmanaged client to communicate to a C#.NET web service. I have the proxy class for the unmanaged client and it uses the default CSoapSocketClientT<> template as...
0
by: Rafat Subhan via .NET 247 | last post by:
(Type your message here) #include "stdafx.h" #using <mscorlib.dll> using namespace System; #import <msxml4.dll> using namespace MSXML2; using namespace MSXML2::ServerXMLHTTPClass; int...
4
by: mirandacascade | last post by:
O/S : Win2K vsn of Python: 2.4 Hoping to find information that provide information about error messages being encountered. Pythonwin session: Traceback (most recent call last): File...
0
by: =?Utf-8?B?RHVja3dvbg==?= | last post by:
Hello everyone, I need to get the version number of a couple of DLLs (comctl32.dll and msxml4.dll). I don't have the full path because I don't want to assume they will be in the system32 folder....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.