Copied to clipboard

Flag this post as spam?

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


  • Simon 11 posts 31 karma points
    Nov 27, 2010 @ 06:37
    Simon
    0

    Cannot run contour on virtual directory

    Can someone tell me if contour supports virtual directory...i got error messages when install, seems that the package was looking for wrong paths for confif files.
    • Dashboard could not be installed +
      System.IO.DirectoryNotFoundException: Could not find a part of the path 'E:\inetpub\wwwroot\config\dashboard.config'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at 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) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at System.Xml.XmlTextWriter..ctor(String filename, Encoding encoding) at System.Xml.XmlDocument.Save(String filename) at Umbraco.Forms.UI.Usercontrols.Installer.Page_Load(Object sender, EventArgs e) in d:\TeamCity\buildAgent\work\e4473b9ec9597356\Umbraco.Forms.UI\Usercontrols\Installer.ascx.cs:line 78
    • web.config could not be updated +
      System.IO.FileNotFoundException: Could not find file 'E:\inetpub\wwwroot\web.config'. File name: 'E:\inetpub\wwwroot\web.config' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at 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) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials) at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) at System.Threading.CompressedStack.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) at System.Xml.XmlTextReaderImpl.OpenUrl() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(String filename) at Umbraco.Forms.UI.Usercontrols.Installer.Page_Load(Object sender, EventArgs e) in d:\TeamCity\buildAgent\work\e4473b9ec9597356\Umbraco.Forms.UI\Usercontrols\Installer.ascx.cs:line 152
    After maunally update the web.config and dashboard.config following the manual, I still get error when trying to create and edit a form.

    The virtual path '/usercontrols/umbracoContour/EditForm.ascx' maps to another application, which is not allowed.

    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.ArgumentException: The virtual path '/usercontrols/umbracoContour/EditForm.ascx' maps to another application, which is not allowed.

    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:

    [ArgumentException: The virtual path '/usercontrols/umbracoContour/EditForm.ascx' maps to another application, which is not allowed.]
    System.Web.VirtualPath.FailIfNotWithinAppRoot() +8940954
    System.Web.Compilation.BuildManager.ValidateVirtualPathInternal(VirtualPath virtualPath, Boolean allowCrossApp, Boolean codeFile) +229
    System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +106
    System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +101
    System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +83
    System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) +48
    System.Web.UI.TemplateControl.LoadControl(String virtualPath) +26
    Umbraco.Forms.UI.Pages.editForm.OnInit(EventArgs e) in d:\TeamCity\buildAgent\work\e4473b9ec9597356\Umbraco.Forms.UI\Pages\editForm.aspx.cs:82
    System.Web.UI.Control.InitRecursive(Control namingContainer) +333
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378
  • Comment author was deleted

    Nov 29, 2010 @ 09:28

    Looks like a bug, we'll fix this in the next maintenance release.

    Cheers,
    Tim

  • sinan 16 posts 36 karma points
    Dec 03, 2010 @ 23:36
    sinan
    0

    Server Error in '/twins' Application.

    The virtual path '/usercontrols/umbracoContour/EditForm.ascx' maps to another application, which is not allowed.

    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.ArgumentException: The virtual path '/usercontrols/umbracoContour/EditForm.ascx' maps to another application, which is not allowed.

    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:

    [ArgumentException: The virtual path '/usercontrols/umbracoContour/EditForm.ascx' maps to another application, which is not allowed.]
    System.Web.VirtualPath.FailIfNotWithinAppRoot() +8950090
    System.Web.Compilation.BuildManager.ValidateVirtualPathInternal(VirtualPath virtualPath, Boolean allowCrossApp, Boolean codeFile) +229
    System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +106
    System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +101
    System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +83
    System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) +48
    System.Web.UI.TemplateControl.LoadControl(String virtualPath) +26
    Umbraco.Forms.UI.Pages.editForm.OnInit(EventArgs e) in d:\TeamCity\buildAgent\work\e4473b9ec9597356\Umbraco.Forms.UI\Pages\editForm.aspx.cs:83
    System.Web.UI.Control.InitRecursive(Control namingContainer) +333
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378
Please Sign in or register to post replies

Write your reply to:

Draft