Welcome to Vortx Community Forum, where you can ask questions and receive answers from the staff at Vortx and other members of the community.

If you had a user account on our previous forums website, you will need to register a new account here.

Learn more about...

AspDotNetStorefront
DotFeed

XmlPackage debug="true" page dump

I just made a change to the Simple Product package "product.SimpleProduct.xml.config" changing the debug attribute of the package element to "true".

The <package version="2.1" displayname="Simple Product" debug="true" includeentityhelper="true"> is all that is changed and the install is unmodified so this is production code except for the change from false to true.

Seems that this is not by design. Was it missed or is there some other possible cause. A breadcrumb would be helpful.

Server Error in '/' Application.


The given path's format is not supported.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NotSupportedException: The given path's format is not supported.

Source Error:

 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:
 

[NotSupportedException: The given path's format is not supported.]
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +14404806
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +211
   System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) +210
   System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) +22
   System.IO.StreamWriter..ctor(String path, Boolean append) +130
   System.IO.File.CreateText(String path) +47
   AspDotNetStorefrontCore.XmlPackage2..ctor(String PackageName, Customer cust, Int32 SkinID, String UserQuery, String AdditionalRuntimeParms, String OnlyRunNamedQuery, Boolean UseExtensions) +5527
   AspDotNetStorefrontCore.XmlPackageManager.GetXmlPackageDisplayName(String packageName, Nullable`1 skinId) +222
   AspDotNetStorefrontCore.<>c__DisplayClasse.<GetXmlPackageInfosByPrefix>b__5(String filePath) +48
   System.Linq.WhereSelectArrayIterator`2.MoveNext() +82
   System.Linq.<SelectManyIterator>d__14`2.MoveNext() +507
   System.Linq.Buffer`1..ctor(IEnumerable`1 source) +488
   System.Linq.<GetEnumerator>d__0.MoveNext() +252
   System.Linq.Buffer`1..ctor(IEnumerable`1 source) +488
   System.Linq.Enumerable.ToArray(IEnumerable`1 source) +103
   AspDotNetStorefrontCore.XmlPackageManager.GetXmlPackageInfosByPrefix(HttpContextBase httpContext, XmlPackageLocation searchLocations, String prefix, IEnumerable`1 skinIds) +671
   AspDotNetStorefrontControls.XmlPackageSelector.BuildXmlPackageListItems() +386
   AspDotNetStorefrontControls.XmlPackageSelector.OnInit(EventArgs e) +21
   System.Web.UI.Control.InitRecursive(Control namingContainer) +186
   System.Web.UI.Control.InitRecursive(Control namingContainer) +291
   System.Web.UI.Control.InitRecursive(Control namingContainer) +291
   System.Web.UI.Control.InitRecursive(Control namingContainer) +291
   System.Web.UI.Control.InitRecursive(Control namingContainer) +291
   System.Web.UI.Control.InitRecursive(Control namingContainer) +291
   System.Web.UI.Control.InitRecursive(Control namingContainer) +291
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2098

 


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34280 

asked Dec 3, 2015 in MultiStore by Shellback55b (120 points)

2 Answers

0 votes
Given the error I think that the XmlPackageManager is passing a rooted file strings. If you have source try adding a Path.IsPathRooted if statment near CreateText  in XmlPackage2.cs and see if you still get the error.
answered Dec 3, 2015 by mmcgeachy (4,310 points)
0 votes
This is a known issue in 9.5, which should be fixed in 9.5.1.  Setting an XmlPackage to debug mode prevents the entity (or product, depending on the kind of XmlPackage you edited) editor from loading in the admin console.  You can set that flag back to false when trying to edit the entity and should be fine.
answered Dec 3, 2015 by Vortx ScottS (13,500 points)
...