Copied to clipboard

Flag this post as spam?

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


  • Stephen 204 posts 246 karma points
    Sep 04, 2011 @ 23:11
    Stephen
    0

    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

  • julius 107 posts 289 karma points
    Sep 04, 2011 @ 23:40
    julius
    0

    By appending ?umbDebugShowTrace=true to the query string.

  • Stephen 204 posts 246 karma points
    Sep 05, 2011 @ 12:50
    Stephen
    0

    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)

  • Nicholas Westby 2054 posts 7104 karma points c-trib
    Sep 28, 2011 @ 23:15
    Nicholas Westby
    0

    I'm having the same issue (ambiguous in namespace AjaxControlToolkit, Umbraco 4.7). Did you ever solve this?

  • Nicholas Westby 2054 posts 7104 karma points c-trib
    Sep 29, 2011 @ 02:24
    Nicholas Westby
    0

    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).

  • Stephen 204 posts 246 karma points
    Sep 29, 2011 @ 11:26
    Stephen
    0

    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.

  • 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.

Please Sign in or register to post replies