Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...'UpdatePanel' is ambiguous in the namespace 'System.Web.UI'
Previous
 
Next
New Post
2/4/2008 10:15 AM
 

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.

 
New Post
2/4/2008 12:55 PM
 

Patrick,

Please view the following blog post as it may help resolve this problem: Using VS 2008 to Target ASP.NET AJAX 1.0

Take care,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
2/4/2008 12:56 PM
 

Patrick

Also, make sure to view the comments on the blog post as there are additional updates that may help.

Take care,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
2/27/2008 1:56 PM
 

Ian,

thank you for your help.  Using the information on the blog post, I have sucesfully used Visual Studio 2008 to compile against .Net 2.0.  My custom module with AJAX is working in DNN!  I will take a look at http://blogs.msdn.com/webdevtools/archive/2007/07/28/upgrading-asp-net-ajax-1-0-websites-and-web-applications-to-net-framework-3-5.aspx next to see what is involved in converting to 3.5.

Thanks,

-Pat

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...'UpdatePanel' is ambiguous in the namespace 'System.Web.UI'


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out