|
next
|
 Subject: 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
|
|
|