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)
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
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)
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).
Contact us form problem
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?
Can you post the trace info from the page?
Euan,
How do i get the trace info, I have posted the debug above?
What is the Assembly umbracoshop? Doesn't seem like a normal runway file.
standard business website starter kit install
to get trace info: put '?umbracodebugshowtrace=true' as part of the query string
I must be doing something stupid. /contact-us.aspx?umbracodebugshowtrace=true does not work, just reloads the page
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
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)
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
only package installed is the business starter kit. Is it easier to perhaps install a contact form package and use this in my template?
got the trace working.
here is the full error message
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)
There is another error line as well
any update on this? i got same error.
is working on a reply...