473,405 Members | 2,354 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,405 software developers and data experts.

Handle xml in ASP

Ray
Hi, Al
There is a xml file, I want to read/write it in ASP. As following source code,
dim objXm
Set objXML = Server.CreateObject("Microsoft.XMLDOM"
objXML.async = Fals
objXML.load server.mappath("../online.xml"
If objXML.parseError.errorCode <> 0 The
response.write "parse online.xml error(" & xsl & ")
response.en
End I

dim rootNod
Set rootNode = objXML.documentElemen

... ...

objXML.Save server.mappath("../online.xml"
But when I open this page, an error occured in last line (-- objXML.Save server.mappath("../online.xml") --)
error information

Error Type
msxml3.dll (0x80070005
Access is denied.
I think it should be caused Not write-right, but I have add the right to the xml file
Somebody can help me
Thank

Jul 19 '05 #1
3 1513
On Fri, 28 May 2004 03:11:06 -0700, Ray
<an*******@discussions.microsoft.com> wrote:
Hi, All
There is a xml file, I want to read/write it in ASP. As following source code,
dim objXml
Set objXML = Server.CreateObject("Microsoft.XMLDOM")
objXML.async = False
objXML.load server.mappath("../online.xml")
If objXML.parseError.errorCode <> 0 Then
response.write "parse online.xml error(" & xsl & ")"
response.end
End If

dim rootNode
Set rootNode = objXML.documentElement

... ....

objXML.Save server.mappath("../online.xml")
But when I open this page, an error occured in last line (-- objXML.Save server.mappath("../online.xml") --).
error information:

Error Type:
msxml3.dll (0x80070005)
Access is denied.
I think it should be caused Not write-right, but I have add the right to the xml file.
Somebody can help me?


Added the right for *which account*?

Jeff
Jul 19 '05 #2
Ray
Add right to anonymous account.
Jul 19 '05 #3
On Fri, 28 May 2004 19:16:05 -0700, Ray
<an*******@discussions.microsoft.com> wrote:
Add right to anonymous account.


And you're sure the file/folder path is correct? You've done a
Response.Write of the Server.MapPath statement to be sure?

Jeff
Jul 19 '05 #4

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

Similar topics

0
by: Kong Li | last post by:
Follow up to this thread, the latest Oracle 9i release 2 patchset (9.2.0.5) fixed the handle count leak problem. The problem is in Oracle client component. Thanks. Kong ----- From: Kong...
7
by: Tony Johansson | last post by:
Hello!! Assume I have a handle body pattern with classes called Handle and Body. In the Body class I store one int value for example 7 or some other integer value. In the Handle class I have...
0
by: Tony Johansson | last post by:
Hello! Here I have two classes these are called Handle and Body and a main. You have the class definition below. Some basic information. In the Handle class is there a pointer to the Body. Each...
2
by: Indiana Epilepsy and Child Neurology | last post by:
Before asking this questions I've spent literally _years_ reading (Meyer, Stroustrup, Holub), googling, asking more general design questions, and just plain thinking about it. I am truly unable to...
14
by: Howard | last post by:
Hi, I recently had a problem where I decided to store objects in a vector. (Previously, I had always stored pointers in vectors). Well, naturally, when storing an object in a vector, using...
6
by: Leandro Berti via DotNetMonster.com | last post by:
Hi All, I wrote a code to do serial communication with an equipament. When i use the code outside of threaded class it seens work properly, but when i put inside a class and execute a thread in...
7
by: Ken Varn | last post by:
I am working in managed C++. I have a Mutex object in which I need to replace the Handle property with a new handle. The new handle is being constructed using Win32 CreateMutex call. I need to...
13
by: Abhishek | last post by:
Hi, how do I pass the handle of a control to the win32 api mouse_event. so that it will create the click event on that application only even if there is any other window in front of it. I dont...
2
weaknessforcats
by: weaknessforcats | last post by:
Handle Classes Handle classes, also called Envelope or Cheshire Cat classes, are part of the Bridge design pattern. The objective of the Bridge pattern is to separate the abstraction from the...
3
by: Peterwkc | last post by:
Hello all C++ expert programmer, I have a handle class which point to another class and use the pointer as object. I follow the code from C++ articles submited by someone in this forum....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.