Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
|
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 18th, 2003, 08:13 AM
Registered User
 
Join Date: Jun 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default xmlDoc.save Permissions

I have seen a few issues for server-side write permissions but I'm doing this locally with no scripting.

How can I ensure this error doesn't arise on a local system?

Function is client-side Javascript:

function saveXML() {
  try {
    xmlDoc.save(xmlDoc.XMLDocument)
  }
  catch (e) {
    displayError("Error updating XML feed: " + e.message + ". Please check your local directory and file permissions.", 8000)
  }
}
 
Old June 19th, 2003, 09:08 AM
Authorized User
 
Join Date: Jun 2003
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to beyondforsaken Send a message via MSN to beyondforsaken
Default

Just right click properties of the vitual directory and click on security and add ASP.NET to enable it to write to local machine





Similar Threads
Thread Thread Starter Forum Replies Last Post
Permissions Problem dparsons ASP.NET 1.0 and 1.1 Professional 0 June 22nd, 2006 08:14 AM
Can't save XMLDoc to a xml file using JScript induriprakash Javascript 2 May 13th, 2005 02:44 PM
database permissions marmer All Other Wrox Books 1 November 15th, 2004 09:46 AM
Permissions w/o server Snib Pro PHP 12 August 11th, 2004 04:54 PM
Permissions rwalker Crystal Reports 1 June 23rd, 2004 04:33 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.