I've built a booking form and deployed as a .net control into umbraco...form works great on my localhost but when i put the site live i get the following error..i've not changed any settings on the control and confirmed the files are there...
"Error creating control (usercontrols/bookingform.ascx). Maybe file doesn't exists or the usercontrol has a cache directive, which is not allowed! See the tracestack for more information!"
I have solved my problem. The problem was Contour 1.1.10. The DLL Umbraco.Forms.References.dll was conflicting with AjaxControlToolkit.dll (version 4.1.50927). I tried to uninstall Contour, but that broke all the XLST macros. Removing Umbraco.Forms.Core.dll and removing all "Umbraco.Forms" references from /umbraco/config/create/UI.xml fixed the XSLT issue (it seems UI.xml references Umbraco.Forms.Core.dll, which references Umbraco.Forms.References.dll).
For anybody who is also running into this problem, I am on Umbraco 4.7 (I think 4.7.1).
User control not working in live server
I've built a booking form and deployed as a .net control into umbraco...form works great on my localhost but when i put the site live i get the following error..i've not changed any settings on the control and confirmed the files are there...
"Error creating control (usercontrols/bookingform.ascx).
Maybe file doesn't exists or the usercontrol has a cache directive, which is not allowed! See the tracestack for more information!"
http://www.davidorrgolfcoaching.com/lesson-booking-form.aspx
how do i see the tracestack?
S
By appending ?umbDebugShowTrace=true to the query string.
thanks Julius thays giving me the info i need...
hmmm i've redone the control using visual studio 2010 and made it a .Net 4 control but still getting the same error.
Can I assume that 4.7 has ajax built in or do I need to add the dll?
Stephen
PS the error seems to have changed...
Error creating usercontrol (usercontrols/bookingform.ascx)
D:\home\default\davidorrUmbraco\usercontrols\bookingform.ascx(19): error BC30560: 'CalendarExtender' is ambiguous in the namespace 'AjaxControlToolkit'.
at System.Web.Compilation.AssemblyBuilder.Compile()
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)
I'm having the same issue (ambiguous in namespace AjaxControlToolkit, Umbraco 4.7). Did you ever solve this?
I have solved my problem. The problem was Contour 1.1.10. The DLL Umbraco.Forms.References.dll was conflicting with AjaxControlToolkit.dll (version 4.1.50927). I tried to uninstall Contour, but that broke all the XLST macros. Removing Umbraco.Forms.Core.dll and removing all "Umbraco.Forms" references from /umbraco/config/create/UI.xml fixed the XSLT issue (it seems UI.xml references Umbraco.Forms.Core.dll, which references Umbraco.Forms.References.dll).
For anybody who is also running into this problem, I am on Umbraco 4.7 (I think 4.7.1).
thanks for the follow up, for the record i opted to drop ajax in favour of Jquery as this seems to be the way things are going with umbraco.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.