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!
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.
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:
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
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
Did you ever get this figured out? I am having the same issue.
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
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.