Copied to clipboard

Flag this post as spam?

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


  • sritchie 48 posts 80 karma points
    May 09, 2010 @ 11:28
    sritchie
    0

    Error creating control (/usercontrols/Doc2Form/Doc2Form.ascx)

    I have a new umbraco installation, and am trying to get a contact form working (using doc2form but tried with cltiv contact form with same error??), but for some reason am getting this cache error:

    Error creating control (/usercontrols/Doc2Form/Doc2Form.ascx).
    Maybe file doesn't exists or the usercontrol has a cache directive, which is not allowed! See the tracestack for more information!

    Catch is the file(s) do exist and I can't locate the tracestack for this error (wtf)

    Would appreciate if anyone can shed any light on this one?

    Thanks

    Simon

  • Sebastiaan Janssen 5044 posts 15475 karma points MVP admin hq
    May 09, 2010 @ 11:58
    Sebastiaan Janssen
    0

    Try adding umbDebugShowTrace=true to your querystring so you can look at the trace for the error. If that doesn't give enough info, try looking in the UmbracoLog table or even your windows event log.

  • sritchie 48 posts 80 karma points
    May 09, 2010 @ 14:52
    sritchie
    0

    It appears the error lies around here, but I can't pinpoint it - aside from the "Could not load type 'BCTLLC.UmbracoExtensions.Doc2Form'."

    renderMacroRendering started (macro: Doc2Form - Email (no save), type: 3, cacheRate: 0)0.001681457421692910.000020 umbracoMacroUsercontrol added (/usercontrols/Doc2Form/Doc2Form.ascx)0.001722091397121850.000041 macroError creating usercontrol (/usercontrols/Doc2Form/Doc2Form.ascx)
    Could not load type 'BCTLLC.UmbracoExtensions.Doc2Form'.
      at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
      at System.Web.UI.TemplateParser.ParseReader(StreamReader reader, VirtualPath virtualPath)
      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.UI.TemplateParser.Parse(ICollection referencedAssemblies, VirtualPath virtualPath)
      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)
      at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
      at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
      at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)
      at System.Web.UI.TemplateControl.LoadControl(String virtualPath)
      at umbraco.macro.loadUserControl(String fileName, Hashtable attributes, Hashtable pageElements)0.003063490774574820.001341 aspx.pageEnd Init0.0034365287740034 begin_of_the_skype_highlighting              0034365287740034      end_of_the_skype_highlighting0.000373 aspx.pageBegin InitComplete0.00345460669764364 begin_of_the_skype_highlighting              00345460669764364      end_of_the_skype_highlighting0.000018

  • Sebastiaan Janssen 5044 posts 15475 karma points MVP admin hq
    May 09, 2010 @ 15:29
    Sebastiaan Janssen
    0

    This error is usually caused by missing dll's, are the doc2forms dll's present in your /bin folder?

  • sritchie 48 posts 80 karma points
    May 09, 2010 @ 16:07
    sritchie
    0

    hmmmm......

    No they're not.... any idea why that would be?  - this was a fresh install?

     

Please Sign in or register to post replies

Write your reply to:

Draft