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

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Running 2.0 and 3.5 modules?Running 2.0 and 3.5 modules?
Previous
 
Next
New Post
10/15/2009 1:25 PM
 
I've got a number of modules written against .NET 2.0 on our DNN 4.9.x installation. Lately, I decided to upgrade one of them to 3.5 so I could use the new Charts controls but now all of my modules using UpdatePanels with 2.0 are broken. DotNetNuke.Services.Exceptions.ModuleLoadException: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5badfcee\f17ac744\App_Web_basicinfo.ascx.97730825.sg8lzai6.0.cs(8127): error CS0433: The type 'System.Web.UI.UpdatePanel' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5badfcee\f17ac744\assembly\dl3\69975b21\004187ac_515cc701\System.Web.Extensions.DLL' Is it possible to run modules using either framework or do I need to recompile all of my 2.0 modules against 3.5?
 
New Post
10/15/2009 3:30 PM
 

Generally when  see this is when you are running DNN 4.x and have a Ajax/.Net 3.5 module installed.  The fix is to update DNN to use the latest version (3.5) and then allow it to pass the calls for an older framework.

To do this, follow the instructions below:

  1. Backup your Database and Site (files)
  2. Delete the Systme.Web.Exteansions.dll from the portals Bin directory
  3. Open the Web.Config and do a find and replace on "1.0.61025.0" changing it to "3.5.0.0"
  4. Save your changes and try the site again

I hope this helps.


Best Regards,

Robert J Collins | Co-Founder & President

Netlogic Corporation

 
New Post
10/15/2009 4:14 PM
 

<p>But then my 2.0 modules lose their reference for UpdatePanels.&#160; Do I&#160;need to convert them all to 3.5 so they can reference the newer System.Web.Extensions?</p>

 
New Post
10/15/2009 5:05 PM
 

They should not loose anything.  What error do you get from them after you make the changes above?


Best Regards,

Robert J Collins | Co-Founder & President

Netlogic Corporation

 
New Post
10/20/2009 7:53 PM
 

I fixed this last week and forgot to update this thread:

I needed to add this to the <assemblyBinding> section of my web.config

<dependentAssembly>
   
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
   
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Running 2.0 and 3.5 modules?Running 2.0 and 3.5 modules?


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