Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • choke 15 posts 35 karma points
    Aug 20, 2010 @ 08:49
    choke
    0

    Upgrade error from 4.0.4.2 to 4.5.1 for .net 3.5

    Hi

    I got some error while i 'm trying to upgrade my Umbraco localhost from 4.0.4. 2 to lasted version 4.5.1 for .Net frame work 3.5 .

    <!-- /* Font Definitions */ @font-face {font-family:"Cordia New"; panose-1:2 11 3 4 2 2 2 2 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-2130706429 0 0 0 65537 0;} @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611985 1107304683 0 0 415 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-520092929 1073786111 9 0 415 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin-top:0in; margin-right:0in; margin-bottom:10.0pt; margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; mso-bidi-font-size:14.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Cordia New"; mso-bidi-theme-font:minor-bidi;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Cordia New"; mso-bidi-theme-font:minor-bidi;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:115%;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.WordSection1 {page:WordSection1;} --> i coppied  /App_Data, /bin, /config/install, /umbraco and /umbraco_client from build folder into my Umbraco folder and then install it.

    i do follow up all of steps from 1/5 to 2/5 and then ,it skip to 4/5 and 5/5 (i don't see the step 3/5). Is it abnormal?

    when i'm in 5/5 step after i press Launch Umbraco, i got this error .

    Compilation ErrorBODY { FONT-FAMILY: "Verdana"; COLOR: black; FONT-SIZE: 0.7em; FONT-WEIGHT: normal } P { MARGIN-TOP: -5px; FONT-FAMILY: "Verdana"; COLOR: black; FONT-WEIGHT: normal } B { MARGIN-TOP: -5px; FONT-FAMILY: "Verdana"; COLOR: black; FONT-WEIGHT: bold } H1 { FONT-FAMILY: "Verdana"; COLOR: red; FONT-SIZE: 18pt; FONT-WEIGHT: normal } H2 { FONT-FAMILY: "Verdana"; COLOR: maroon; FONT-SIZE: 14pt; FONT-WEIGHT: normal } PRE { FONT-FAMILY: "Lucida Console"; FONT-SIZE: 0.9em } .marker { COLOR: black; FONT-WEIGHT: bold; TEXT-DECORATION: none } .version { COLOR: gray } .error { MARGIN-BOTTOM: 10px } .expandable { COLOR: navy; CURSOR: hand; FONT-WEIGHT: bold; TEXT-DECORATION: underline }

    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: CS0012: The type 'System.Web.HttpRequestWrapper' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

    Source Error:

     
    Line 113:        
    Line 114:        //used for deeplinking to specific content whilst still showing the tree
    Line 115:        var initApp = '<%=umbraco.presentation.UmbracoContext.Current.Request.QueryString["app"]%>';
    Line 116:        var rightAction = '<%=umbraco.presentation.UmbracoContext.Current.Request.QueryString["rightAction"]%>';
    Line 117:        var rightActionId = '<%=umbraco.presentation.UmbracoContext.Current.Request.QueryString["id"]%>';


    Source File: c:\inetpub\wwwroot\Umbraco456\umbraco\umbraco.aspx    Line: 115


    Compiler Warning Messages:
    Warning: CS1685: The predefined type 'System.Runtime.CompilerServices.ExtensionAttribute' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll'
    Source Error:

    [No relevant source lines]


    Show Detailed Compiler Output:

    c:\windows\system32\inetsrv> "C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe" /t:library /utf8output /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\f46da3f1\0080e341_e129cb01\Lucene.Net.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\d5986457\00e24823_87f0c901\CookComputing.XmlRpcV2.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\f2ca21a0\00151d8b_172ccb01\App_global.asax.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\5dc1fb90\0080e341_e129cb01\Examine.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\0c0e79db\00d9f1c8_ff26cb01\umbraco.DataLayer.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\App_Code.sajgjx6e.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\0ee9e461\000ce096_1018cb01\Microsoft.Scripting.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\0f21209c\00cde61d_af1cca01\ICSharpCode.SharpZipLib.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\5a13ceaf\000ce096_1018cb01\IronPython.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\c400b5e3\000623ca_ff26cb01\interfaces.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\f9a4ce21\00c0809b_162ccb01\umbraco.macroRenderings.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\a4e40203\00934f9a_162ccb01\controls.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\cf22455b\00e925f4_ba06cb01\umbraco.standardFormhandlers.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\App_Web_treecontrol.ascx.939908b6.bmyfcwdu.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\71f820c4\000ce096_1018cb01\IronPython.Modules.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\f2287134\00bd6854_a3eec901\DotNetOpenMail.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\baceb833\00151d8b_172ccb01\App_Browsers.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Data.DataSetExtensions\3.5.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\Windows\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\e207db9f\00a176a1_162ccb01\umbraco.editorControls.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\9ddd1f09\000ce096_1018cb01\IronRuby.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\d9077e7a\00e24823_87f0c901\Microsoft.ApplicationBlocks.Data.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\29917783\00cea7a2_162ccb01\umbraco.Linq.Core.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\e460ffaa\00934f9a_162ccb01\cms.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\1e1251c9\000ce096_1018cb01\IronRuby.Libraries.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\b725897c\00bd6854_a3eec901\IronMath.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\5e158728\000cbc96_162ccb01\businesslogic.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\272ccbfd\001657f5_ba06cb01\umbraco.webservices.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\1344b681\0080e341_e129cb01\UmbracoExamine.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\285a5630\00e24823_87f0c901\TidyNet.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\9b60be29\000ce096_1018cb01\Microsoft.Dynamic.DLL" /R:"C:\Windows\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\49d60244\00c0809b_162ccb01\umbraco.providers.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\9dc1c8b5\007445a0_162ccb01\umbraco.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\221e006a\000ce096_1018cb01\Microsoft.Scripting.ExtensionAttribute.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\913c659f\000ce096_1018cb01\Microsoft.Scripting.Core.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\80d68996\002b26ba_e712cb01\ClientDependency.Core.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\2e954c92\00bd6854_a3eec901\AjaxControlToolkit.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\377f1083\00e24823_87f0c901\MySql.Data.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\88725666\0010c14d_9e9eca01\UrlRewritingNet.UrlRewriter.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\App_Web_quicksearch.ascx.864d309b.t51lfr8_.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\3379a88e\000ce096_1018cb01\IronRuby.Libraries.Yaml.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml.Linq\3.5.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\d194a778\000ce096_1018cb01\Microsoft.Scripting.Debugging.DLL" /out:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\App_Web_umbraco.aspx.5f2dec3.6mp9vsg-.dll" /debug- /optimize+ /win32res:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\rzjt8cuw.res" /w:4 /nowarn:1659;1699;1701 /warnaserror-  "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\App_Web_umbraco.aspx.5f2dec3.6mp9vsg-.0.cs" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\App_Web_umbraco.aspx.5f2dec3.6mp9vsg-.1.cs"
    
    
    Microsoft (R) Visual C# 2008 Compiler version 3.5.30729.4926
    for Microsoft (R) .NET Framework version 3.5
    Copyright (C) Microsoft Corporation. All rights reserved.
    
    warning CS1685: The predefined type 'System.Runtime.CompilerServices.ExtensionAttribute' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll'
    c:\inetpub\wwwroot\Umbraco456\umbraco\umbraco.aspx(115,16): error CS0012: The type 'System.Web.HttpRequestWrapper' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b3fe2ddd\8e69ab2a\assembly\dl3\9dc1c8b5\007445a0_162ccb01\umbraco.DLL: (Location of symbol related to previous error)
    c:\inetpub\wwwroot\Umbraco456\umbraco\umbraco.aspx(115,79): error CS1061: 'umbraco.presentation.UmbracoRequest' does not contain a definition for 'QueryString' and no extension method 'QueryString' accepting a first argument of type 'umbraco.presentation.UmbracoRequest' could be found (are you missing a using directive or an assembly reference?)
    c:\inetpub\wwwroot\Umbraco456\umbraco\umbraco.aspx(116,83): error CS1061: 'umbraco.presentation.UmbracoRequest' does not contain a definition for 'QueryString' and no extension method 'QueryString' accepting a first argument of type 'umbraco.presentation.UmbracoRequest' could be found (are you missing a using directive or an assembly reference?)
    c:\inetpub\wwwroot\Umbraco456\umbraco\umbraco.aspx(117,85): error CS1061: 'umbraco.presentation.UmbracoRequest' does not contain a definition for 'QueryString' and no extension method 'QueryString' accepting a first argument of type 'umbraco.presentation.UmbracoRequest' could be found (are you missing a using directive or an assembly reference?)
    




    Version Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4927


    this is my .net frame work version on my laptop.

     

    please help.

    thank a ton for inadvance.

    regards

    choke


     

  • choke 15 posts 35 karma points
    Aug 20, 2010 @ 08:54
    choke
    0

    Dear all

    so sorry for my error font too.

    regards

    choke

  • Emmanuel Bellas 6 posts 26 karma points
    Sep 13, 2010 @ 09:28
    Emmanuel Bellas
    0

    Hi choke.

    I don't know if this is of any help, but I had the same error above today.  It happened after I inadvertently overwrote Umbraco's web.config file with a web.config of another project.

    If you can, try to grab the version of the web.config file prior to the upgrade and see if using that instead solves the problem for you.

Please Sign in or register to post replies

Write your reply to:

Draft