XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Yitzhak KhabinskySubject: SS2011 cannot save XML files using UNC path
Author: Yitzhak Khabinsky
Date: 09 Nov 2010 08:44 AM
Originally Posted: 09 Nov 2010 08:19 AM
This is an old bug which exists in SS at least since SS2007 version. After that SS2010 and SS2011 came out, but the bug is still unresolved.

The original post: “Cannot use UNC paths, get save errors.”
http://www.stylusstudio.com/SSDN/default.asp?action=9&read=7340&fid=23&FirstTopic=1&LastTopic=9999

My environment:
• SS2011 Enterprise Suite, Build 1756a
• Client machine OS – Windows 7 Enterprise
• XML file located on the Windows Server 2008 R2 server where I am a local admin.

The fully qualified file path is the following:
\\lmsdev\c$\inetpub\wwwroot\LandManagementMVC\Web.config

Problem definition:
SS2011 successfully opens an existing XML file from the file share, but cannot save file back. The SS2011 opens up a dialog box showing the following error message:

---------------------------
Stylus Studio 2011 XML Enterprise Suite
---------------------------
Failed to create directory "\\lmsdev\":
The specified path is invalid.
---------------------------
OK
---------------------------

I captured message boxes content verbatim, using CTRL+C, CTRL+V technique.

Looking at the file system reveals that SS2011 renames the original file to web.config.bak name. Upon clicking on the OK button on dialog box with the error message, SS2011 renames file back to its original name web.config and all the modifications to the XML file are gone.

Some extra insight.
While trying to close a tab with the un-saved XML file SS2011 produces the following message box:

---------------------------
Stylus Studio 2011 XML Enterprise Suite
---------------------------
Save changes to file:////lmsdev/c$/Inetpub/wwwroot/LandManagementMVC/Web?
---------------------------
Yes No Cancel
---------------------------

File extension .config is suspiciously missing.

Any other program I tried so far, like MS Notepad, Notepad++, and MS Visual Studio 2010 are able to open and save mentioned above Web.config file without any problem.

Regards,
Yitzhak

Postnext
Bob ChauvinSubject: SS2011 cannot save XML files using UNC path
Author: Bob Chauvin
Date: 09 Nov 2010 08:44 AM
Yeah, annoying. The SS recommended work around is to use a mapped drive.

SS2010

Posttop
Yitzhak KhabinskySubject: SS2011 cannot save XML files using UNC path
Author: Yitzhak Khabinsky
Date: 09 Nov 2010 10:49 AM
Originally Posted: 09 Nov 2010 08:54 AM
Unfortunately, I have too many servers and Web sites to manage so it is not practical for me to map all of them.

"Open file" and "Save file" it is a basic functionality for any file editor.

In the original post, circa 2008, Progress Software Corp. promised that this particular bug will be fixed in the upcoming SS2010 release...

Regards,
Yitzhak

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.