Copied to clipboard

Flag this post as spam?

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


  • Jerritte Couture 15 posts 97 karma points
    Nov 05, 2011 @ 01:42
    Jerritte Couture
    0

    Error CS0433: The type 'AjaxControlToolkit.CalendarExtender' exists in both...

    I have a usercontrol that is giving me problems on my Web server, but not locally. When viewing the trace, I get the following error:

    macro Error creating usercontrol (usercontrols/MvcdcOrgDocumentsListView.ascx)
    c:\....\UCNameDocumentsListView.ascx(66): error CS0433: The type 'AjaxControlToolkit.CalendarExtender' exists in both 'c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\d2e18d62\60ac2556\assembly\dl3\6c644362\5027f7d8_b9aecb01\AjaxControlToolkit.DLL' and 'c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\d2e18d62\60ac2556\assembly\dl3\e05069f6\585e3926_4d88cc01\Umbraco.Forms.References.DLL'
      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)
      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)

    This usercontrol works perfectly on my local system, just not on the live server. Any help that anyone could provide is greatly appreciated!

    Thanks,
    Jerritte

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Nov 05, 2011 @ 16:33
    Jan Skovgaard
    0

    Hi Jeritte

    Have you had a look at this explanation? http://msdn.microsoft.com/en-us/library/64wh5743%28v=vs.80%29.aspx

    Hope this helps.

    /Jan

  • aroyce 7 posts 27 karma points
    Jun 25, 2012 @ 16:43
    aroyce
    0

    Did you ever get this figured out? I am having the same issue.

  • Jerritte Couture 15 posts 97 karma points
    Jun 25, 2012 @ 17:34
    Jerritte Couture
    0

    aroyce -- It's been so long that I don't remember exactly what happened. If I remember correctly, we ended up removing the Calendar control, because we found another way to handle it. I REALLY wish I had updated this back then, like I usually do. I apologize.

    Thanks,
    Jerritte 

Please Sign in or register to post replies

Write your reply to:

Draft