473,769 Members | 8,283 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.CreateOb ject("MSXML2.Se rverXMLHTTP.4.0 ");
objXMLSend = Server.CreateOb ject("MSXML2.DO MDocument.4.0") ;
objXMLReceive = Server.CreateOb ject("MSXML2.DO MDocument.4.0") ;

objXMLSend.asyn c = false;
objXMLSend.load XML (strXMLOUT);

objSrvHTTP.open ("POST",strURL, false);
objSrvHTTP.setR equestHeader("a pplication","x-www-form-urlencoded");
objSrvHTTP.send (objXMLSend);
objXMLReceive = objSrvHTTP.resp onseXML;
Response.Conten tType = "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 5635
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******** *************@n ews1.news.adelp hia.net...
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.CreateOb ject("MSXML2.Se rverXMLHTTP.4.0 ");
objXMLSend = Server.CreateOb ject("MSXML2.DO MDocument.4.0") ;
objXMLReceive = Server.CreateOb ject("MSXML2.DO MDocument.4.0") ;

objXMLSend.asyn c = false;
objXMLSend.load XML (strXMLOUT);

objSrvHTTP.open ("POST",strURL, false);
objSrvHTTP.setR equestHeader("a pplication","x-www-form-urlencoded");
objSrvHTTP.send (objXMLSend);
objXMLReceive = objSrvHTTP.resp onseXML;
Response.Conten tType = "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*****@ielear ning.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.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******** *************@n ews1.news.adelp hia.net...
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.CreateOb ject("MSXML2.Se rverXMLHTTP.4.0 ");
objXMLSend = Server.CreateOb ject("MSXML2.DO MDocument.4.0") ;
objXMLReceive = Server.CreateOb ject("MSXML2.DO MDocument.4.0") ;

objXMLSend.asyn c = false;
objXMLSend.load XML (strXMLOUT);

objSrvHTTP.open ("POST",strURL, false);
objSrvHTTP.setR equestHeader("a pplication","x-www-form-urlencoded");
objSrvHTTP.send (objXMLSend);
objXMLReceive = objSrvHTTP.resp onseXML;
Response.Conten tType = "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
3098
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 TYPE="TypeLib" NAME="Microsoft XML, v4.0" UUID="{F5078F18-C551-11D3-89B9-0000F81FE221}" VERSION="4.0"--> But when I write the following code in an ASP server-side JavaScript:
1
1678
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 utilities to validate and parse using the MSXML4 parser?
1
3854
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 html file. The vb.net module peforms following task: load the xml file in XMLDocument object ( I can't use XpathDocument object) load the xsl file in XSLTransform object perform the transformation.
2
1563
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 line using MSXML4.0 is correct <Output>First List Item = Hello</Output> The output using MSXML3.0 or the DOTNET XSL transform is <Output> = </Output>
3
3645
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 getting JS1135 errors saying that some variable was not declared. This scripts worked perfectly with MSXML4. Is there a guide for migraiton from MSXML to .NET or can you just give me some tips on how to resolve this issues without having to change...
4
5942
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 it's HTTP connection. This works fine until I start using a proxy server with authorization rather than a direct HTTP connection. I keep getting a 407 un-authorized response. I've have looked at both the CNTLMAuthObject and CBasicAuthObject objects...
0
1144
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 _tmain()
4
6913
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 "<interactive input>", line 1, in ?
0
1771
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. I have a function which first does... //get the current process p = Process.GetCurrentProcess(); //get all the dlls this class is using
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10219
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10049
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9998
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8876
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3567
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.