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...6.02.06 to 7.1 error CS17036.02.06 to 7.1 error CS1703
Previous
 
Next
New Post
8/4/2013 12:42 PM
 

i use DNN since the Version 2.0

today i want to upgrade since 6.02.06 to 7.1

For 6.02.06 i use W2003Server SQL 2005 .NET 2.0.50727 IIS6.0

in first i want to start 6.02.06 in the new server (hope that can be possible, then upgrade to 7.1)

after Backup, and import all in W2012Server SQL2012 .NET 2.0.50727 and 4.0.30317 IIS8.0

i start the dnn and i have this error :

Compilation error
   Description: An error occurred during the compilation of a resource required to meet this demand. Please see below the details of the error in question 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 line]

Source File: Line: 0


Compiler Microsoft (R) Visual C # Version 4.0.30319.17929

for Microsoft (R). NET Framework 4.5

error 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.
(Location of the symbol with the previous error)

-------------------------------------------------- ------------------------------
Version Information: Microsoft NET Framework Version:. 4.0.30319; ASP.NET Version: 4.0.30319.1792

******

i dont know if i must change something on the web.config, i have :

<dependentAssembly>

<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />

<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />

</dependentAssembly>

<dependentAssembly>

<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />

<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />

</dependentAssembly>

<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="managedHandler" /

<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

Thank you for your help


Cheers from France, Michel
 
New Post
8/5/2013 5:27 AM
 

Hi Michel,

 it seems there is something wrong between .net version.
How is configured the application pool on your new server ? .Net 2 ? .Net 4 ? Classic or integrated mode ?
Usually, changing from .net 2 to 4 will make some changes in the web.config :

 eg :     
<dependentAssembly>
        <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
        <!--Upgraded by .NET 4.0 Upgrade version 6.2.6 - Date: 2/7/2013 10:22:54 PM-->
        <!--<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" xmlns="urn:schemas-microsoft-com:asm.v1" />-->

        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
        <!--Upgraded by .NET 4.0 Upgrade version 6.2.6 - Date: 2/7/2013 10:22:54 PM-->
        <!--<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" xmlns="urn:schemas-microsoft-com:asm.v1" />-->

        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0" />
      </dependentAssembly>

 In your case, I would verify the app pool config to get it in .Net 4 integrated mode, verify if there is not a duplicate entry for assemblyIdentity name="System.Web.Extensions", and make manualy the 2 changes in web.config of <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />  in <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0" />

HTH regards


Julien Girerd
DevPCI - DotNetNuke Experts France Communauté des utilisateurs francophone de DotNetNuke DNN-Connect
 
New Post
8/5/2013 10:46 AM
 

Thank you for your help

i change manually in the web.config newVersion="3.5.0.0" to newVersion="4.0.0.0" and the connexion

<dependentAssembly>
< assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
< bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0" />
< /dependentAssembly>
< dependentAssembly>
< assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
< bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0" />

now the version 6.02.06 run on the new W2012Server SQL2012 .NET 2.0.50727 and 4.0.30317 IIS8.0

First step is OK

if i past the new Upgrade Package DotNetNuke_Community_07.01.00_Upgrade with "unblock the DNN upgrade package

prior to unzipping it"

i have the error BC30561:

Server Error in '/' Application.
-------------------------------------------------- ------------------------------

Compilation error
   Description: An error occurred during the compilation of a resource required to meet this demand. Please see

below the details of the error in question and modify your source code appropriately.

  Compiler Error Message: BC30561: 'Entities' is ambiguous, imported from the namespaces or types 'DotNetNuke,

DotNetNuke.Services.Search'.

Source Error:

Line 13: Public Class HtmlTextController
Line 14:
Line 15: Implements Entities.Modules.ISearchable
Line 16: Implements Entities.Modules.IPortable
Line 17: 'Implements Entities.Modules.IUpgradeable
 

Source File: \ App_Code \ effority.WF_HTML \ HtmlTextController.vb Line: 15


Cheers from France, Michel
 
New Post
8/5/2013 11:14 AM
 

in the web.config there is also many code include :  Version=3.5.0.0

does i must change all  Version=3.5.0.0 by Version=4.0.0.0

e.g.

<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0,

<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0,

 

<add name="RoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0

......

 


Cheers from France, Michel
 
New Post
8/5/2013 11:22 AM
 
can i download the web.config in the " new version install package " and use this one after change the sql connexion and the

machineKey validationKey and the decryptionKey

 

Cheers from France, Michel
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...6.02.06 to 7.1 error CS17036.02.06 to 7.1 error CS1703


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