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...Upgrading DNN P...Upgrading DNN P...error switching from ASP.NET 2.0 to 4.0error switching from ASP.NET 2.0 to 4.0
Previous
 
Next
New Post
10/1/2011 3:02 PM
 
I have DNN 6.0.1 running under Windows Server 2008 64-bit.  I tried switching ASP.NET 2.0 to 4.0, and I get the following error:

Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1703: An assembly with the same identity 'System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' has already been imported. Try removing one of the duplicate references.

Source Error:

[No relevant source lines]

Source File: Line: 0




If I switch it back to ASP.NET 2.0, it works fine as if nothing had happened.  I looked in the web.config file and couldn't find any line which contained "Version=4.0.0.0".  Why won't ASP.NET 4.0 work?
 
New Post
10/2/2011 3:37 AM
 
you need to run Website\Install\Config\Net40.config file prior to the switch, in order to adopt web.config for .Net 4.0

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/2/2011 8:16 PM
 
Can you clarify "running" this file?  Are we supposed to copy the contents to the root web.config file?

CISSP
 
New Post
10/3/2011 3:10 AM
 
you may run the merge script using the bottom box on Host > Config module.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/10/2011 11:04 AM
 
Thanks for the clarification. I ran the merge, changed to .net 4 in IIS but now I get "Page not Found" when trying to load the site. I checked some of the permissions on the .NET folders but I'm not 100% sure I have covered all the bases. Any ideas?

CISSP
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...error switching from ASP.NET 2.0 to 4.0error switching from ASP.NET 2.0 to 4.0


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