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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN 6 upgrade to .net 4.0DNN 6 upgrade to .net 4.0
Previous
 
Next
New Post
7/29/2011 1:50 PM
 
AFAIK, upgrade to .Net 4 is performed only during a DNN upgrade or manually, by running the upgrade script inside Host :: Configuration Manager.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/31/2011 8:33 PM
 
Yes and if you look at the changes the net40.config are merging in - then you will see that DNN is NOT actually running as a 4.0 application - see below.

All the merge is doing is fiddling around the edges to allow dnn to run on a asp.net 4.0 configured hosting BUT without ANY of the advantages that 4.0 actually brings.

AS SUCH none of the 4.0 core assemblies are being targeted and the 4.0 compilers are not being targeted - as a result if for example you include any asp.net 4.0 compiler features in a wsp project it will crash in a heap. 

======================

<configuration>
  <nodes configfile="Web.config">
    <!-- Update System.Web HttpRuntime to support .NET 2.0 style request validation -->
    <node path="/configuration/system.web/httpRuntime" action="updateattribute"  name="requestValidationMode" value="2.0" />

    <!-- Update System.Web.Extensions redirect -->
    <node path="/configuration/runtime/ab:assemblyBinding/ab:dependentAssembly[ab:assemblyIdentity/@name='System.Web.Extensions']" action="update" targetpath="/configuration/runtime/ab:assemblyBinding/ab:dependentAssembly[ab:assemblyIdentity/@name='System.Web.Extensions']/ab:bindingRedirect" collision="save"  nameSpace="urn:schemas-microsoft-com:asm.v1" nameSpacePrefix="ab">
      <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0" />
    </node>
    <node path="/configuration/runtime/ab:assemblyBinding/ab:dependentAssembly[ab:assemblyIdentity/@name='System.Web.Extensions.Design']" action="update" targetpath="/configuration/runtime/ab:assemblyBinding/ab:dependentAssembly[ab:assemblyIdentity/@name='System.Web.Extensions.Design']/ab:bindingRedirect" collision="save"  nameSpace="urn:schemas-microsoft-com:asm.v1" nameSpacePrefix="ab">
      <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0" />
    </node>
  </nodes>
</configuration>

 
New Post
8/2/2011 2:19 PM
 
Any update or possible work arounds?
 
New Post
8/16/2011 9:18 AM
 
Still looking for a resolution or explanation for this issue. 

We have a website that utilizes the .net 4.0 framework and since we are unable to get DotNetNuke 6.0 to correctly upgrade, this website is essential on hold.

Has anyone successfully upgraded a DNN 6 website .net 4.0?
 
New Post
8/16/2011 10:12 AM
 
We have setup a couple of sites now that are running fully in asp.net 4.0 - all you really need to do is update your web.config with the current 4.0 version references and compiler references - DNN works perfectly fine after doing this . . . and you get all the 4.0 framework features when running WSP modules - and modules that you compile targeted directly at 4.0 should also work correctly.

There was a post a little while back from cathal if I recall outlining the current start of play with DNN itself . . . 

Basically - at the moment DNN is compiled against asp.net 3.5 sp1 - this is the base asp.net platform for dnn600.

When you run dnn600 on an server configured for asp.net 4.0 - all that is changed in the web.config by default is the minimum changes need to allow dnn to operate on the 4.0 version of the framework.

Westa



 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN 6 upgrade to .net 4.0DNN 6 upgrade to .net 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