I am trying to move to Visual Studio 2008 for developing DotNetNuke modules. I created a new solution with one project and one ASCX user control. In the user control, I added one UpdatePanel, containing a ContentTemplate, containing a string of text. I created a new module in a DotNetNuke 4.8.0 portal that references the user control. I created a new page and add the module. When I view the page, the module displays the following error:
Error: Lessons is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: E:\Inetpub\wwwroot\KA3\DesktopModules\KA_Blog3.Lessons\Main.ascx(7): error BC30560: 'UpdatePanel' is ambiguous in the namespace 'System.Web.UI'. ---> System.Web.HttpCompileException: E:\Inetpub\wwwroot\KA3\DesktopModules\KA_Blog3.Lessons\Main.ascx(7): error BC30560: 'UpdatePanel' is ambiguous in the namespace 'System.Web.UI'. 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.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---
If I create the exact same code and layout in Visual Studio 2005, it works fine. The error makes me believe that the System.Web.Extensions namespace in .Net Framework 3.5 is conflicting with the AJAX 1.1 package installed on my system. However, even if I uninstall AJAX 1.1 and delete every copy of the web extensions dll from my system, I still get the ambiguous error message.
I would love to move to Visual Studio 2008, but it is useless to me until I can get this resolved. What do I need to do to make this work? Any help will be greatly appreciated!
Thanks,
Patrick Richards
Software Developer
OS-Ccubed, Inc.