Copied to clipboard

Flag this post as spam?

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


  • batmanflys 30 posts 41 karma points
    Sep 07, 2011 @ 23:02
    batmanflys
    0

    I have installed the starter kit and bar a few problems with the blog which I have resolved it is all working fine, however the contact form is throwing me a strange error message.

    Error creating control (usercontrols/RunwayContactForm/Contact.ascx).

    Maybe file doesn't exists or the usercontrol has a cache directive, which is not allowed! See the tracestack for more information!

    DEBUG gives this info

    Error creating usercontrol (usercontrols/RunwayContactForm/Contact.ascx)
    Could not load type 'UmbracoShop.Controls.Contact'.
      at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)

     

    Any ideas?

  • Euan Rae 105 posts 134 karma points
    Sep 08, 2011 @ 11:45
    Euan Rae
    0

    Can you post the trace info from the page?

  • batmanflys 30 posts 41 karma points
    Sep 12, 2011 @ 03:32
    batmanflys
    0

    Euan,

    How do i get the trace info, I have posted the debug above?

     

  • skiltz 501 posts 701 karma points
    Sep 12, 2011 @ 03:36
    skiltz
    0

    What is the Assembly umbracoshop? Doesn't seem like a normal runway file.

  • chris cameron 36 posts 56 karma points
    Sep 12, 2011 @ 09:17
    chris cameron
    0

    standard business website starter kit install

  • Euan Rae 105 posts 134 karma points
    Sep 12, 2011 @ 10:14
    Euan Rae
    0

    to get trace info: put '?umbracodebugshowtrace=true' as part of the query string

  • chris cameron 36 posts 56 karma points
    Sep 12, 2011 @ 10:35
    chris cameron
    0

    I must be doing something stupid. /contact-us.aspx?umbracodebugshowtrace=true does not work, just reloads the page

  • Euan Rae 105 posts 134 karma points
    Sep 12, 2011 @ 10:37
    Euan Rae
    0

    in the web.config, make sure the key 'umbracoDebugMode' is set to 'true'.  Putting in that query string parameter should then cause the trce info to be written out at the bottom of the page

  • chris cameron 36 posts 56 karma points
    Sep 12, 2011 @ 10:45
    chris cameron
    0

    Yep it is, still no debug coming up. When I ran this the other day at work i was shown the below in red

     

    DEBUG gives this info

    Error creating usercontrol (usercontrols/RunwayContactForm/Contact.ascx)
    Could not load type 'UmbracoShop.Controls.Contact'.
      at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)

  • dandrayne 1138 posts 2262 karma points
    Sep 12, 2011 @ 10:52
    dandrayne
    0

    I should just note that this problem seems to be related to the starter kit offered during the install process, which isn't the same as this package (which has no contact form).

    Dan 

  • chris cameron 36 posts 56 karma points
    Sep 12, 2011 @ 11:02
    chris cameron
    0

    only package installed is the business starter kit. Is it easier to perhaps install a contact form package and use this in my template?

  • chris cameron 36 posts 56 karma points
    Sep 12, 2011 @ 11:11
    chris cameron
    0

    got the trace working.

    here is the full error message

      Error creating usercontrol (usercontrols/RunwayContactForm/Contact.ascx)
    Could not load type 'UmbracoShop.Controls.Contact'.
      at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
      at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)
      at System.Web.UI.TemplateParser.ParseInternal()
      at System.Web.UI.TemplateParser.Parse()
      at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()
      at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)
      at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()
      at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
      at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
      at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
      at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
      at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)
      at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)
      at umbraco.macro.loadUserControl(String fileName, MacroModel model, Hashtable pageElements)
  • chris cameron 36 posts 56 karma points
    Sep 12, 2011 @ 11:12
    chris cameron
    0

    There is another error line as well

    macro No macro with alias '' found
  • Pagggy 27 posts 46 karma points
    Apr 04, 2012 @ 22:09
    Pagggy
    0

    any update on this? i got same error.

Please Sign in or register to post replies

Write your reply to:

Draft