OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: problem saving microsoft.xmldom object

[ Lists Home | Date Index | Thread Index ]
  • To: xml-dev@lists.xml.org
  • Subject: Re: problem saving microsoft.xmldom object
  • From: Martin Honnen <mahotrash@yahoo.de>
  • Date: Thu, 01 Jul 2004 16:35:19 +0200
  • In-reply-to: <003c01c45e99$7b53c030$9203a8c0@ldz.lv>
  • Organization: Liberty Development
  • References: <003c01c45e99$7b53c030$9203a8c0@ldz.lv>
  • Reply-to: Martin.Honnen@gmx.de
  • Sender: news <news@sea.gmane.org>
  • User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)

Martins Keruss wrote:

> In the source code
>  Set objXMLDoc = CreateObject("Microsoft.XMLDOM") objXMLDoc.async = 
> False objXMLDoc.load("C:\dati\aaa.xml") objXMLDoc.save("C:\dati\sample.xml")
> an message 'objXMLDoc.save permission denied' occured.
> Can You please help to solve this probl?

Where do you run that VBScript in? If it is IE that is a script embedded 
in a HTML page then forget about it, you can't save from there. If it is 
an ASP page or a Windows Script Host script then make sure ASP or 
Windows Script Host has writing permissions for the directory/file used.
You might want to use an appropriate newsgroup on the news server 


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS