Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Matt Bliss 176 posts 234 karma points c-trib
    Aug 01, 2011 @ 17:32
    Matt Bliss
    0

    YSOD on creating a new Document Type.

    Has anyone seen this error before, and if so what is the problem / fix.

    Created a new document type and got a YSOD error.

    Clicking on any document type now shows this error in the right hand pane

  • Matt Bliss 176 posts 234 karma points c-trib
    Aug 01, 2011 @ 17:32
    Matt Bliss
    0

    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.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) +12654584
       System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) +165
       System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) +112
       System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) +38
       System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path) +92
       System.Web.Hosting.HostingEnvironment.MapPath(VirtualPath virtualPath) +133
       umbraco.IO.IOHelper.MapPath(String path, Boolean useHttpContext) +266
       umbraco.cms.businesslogic.template.Template.getMasterPageContent() +119
       umbraco.cms.businesslogic.template.Template.setupNode() +398
       umbraco.cms.businesslogic.template.Template.GetAllAsList() +291
       umbraco.settings.EditContentTypeNew.bindTemplates() +321
       umbraco.settings.EditContentTypeNew.Page_Load(Object sender, EventArgs e) +173
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
       System.EventHandler.Invoke(Object sender, EventArgs e) +0
       umbraco.BasePages.BasePage.OnLoad(EventArgs e) +19
       System.Web.UI.Control.LoadRecursive() +71
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3064
    



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

  • Arnold Visser 418 posts 778 karma points hq c-trib
    Aug 01, 2011 @ 17:39
    Arnold Visser
    0

    What is the name of the document type you tried to create?

  • Matt Bliss 176 posts 234 karma points c-trib
    Aug 01, 2011 @ 17:43
    Matt Bliss
    0

    Hi Arnold,

    I tried adding "Page: Section" to the following doc types:

    Thanks,

    Matt

  • Arnold Visser 418 posts 778 karma points hq c-trib
    Aug 01, 2011 @ 17:46
    Arnold Visser
    0

    Matt,

    It _could_ be because of the ":", but not sure about that.
    Maybe you can try to edit that in the DB and see if that helps?

    Arnold

  • Matt Bliss 176 posts 234 karma points c-trib
    Aug 01, 2011 @ 18:01
    Matt Bliss
    0

    Thank Arnold,

    I've used a colon ":" in Doc type names before for many projects and it has worked fine (I do it so that when a user creates a new page in the content, "Page" comes first in the list of document types and therefore becomes the default page type)

    I'm just having a look at the DB now. 

    Matt

  • Matt Bliss 176 posts 234 karma points c-trib
    Aug 01, 2011 @ 18:29
    Matt Bliss
    0

    Hi Arnold,

    Sorry it was the colon ":". I have used brackets before e.g. "Page (Section)" not a colon.

    A little change on the cmsTemplate table fixed it (the errror was actually being cause by the matching template created)

    Thanks for your help!

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft