Copied to clipboard

Flag this post as spam?

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


  • Lee 95 posts 115 karma points
    Dec 04, 2014 @ 15:10
    Lee
    0

    Errors when upgrading

    Hi

    I have download the latest Contour and replaced the existing files with the supplied files, like for like.

    However I am getting server errors when I do it.

     

    Any ideas?

     

    Umbraco v6.0.6 (Assembly version: 1.0.4898.16909)

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Dec 04, 2014 @ 15:23
    Jan Skovgaard
    0

    Hi Lee

    Did you read the instructions on the package page before you did the upgrade? http://our.umbraco.org/projects/umbraco-pro/contour

    What version of Contour are you upgrading from? And to which version?

    What does the server error tell you?

    /Jan

  • Lee 95 posts 115 karma points
    Dec 04, 2014 @ 15:47
    Lee
    0

    From

     

    Umbraco Contour version 3.0.17

     

    to

    UmbracoContour_3.0.23.zip

     

    My emails are not being sent, so i'm hoping an upgrade will help!!

     

  • Comment author was deleted

    Dec 04, 2014 @ 15:49

    Hey Lee,

     

    Which errors are you getting? Any more details you can share?

  • Lee 95 posts 115 karma points
    Dec 04, 2014 @ 16:23
    Lee
    0

    Its the old classic:

    Server Error in '/' Application.


    Runtime Error

    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. 

    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

    <!-- Web.Config Configuration File -->
    
    <configuration>
        <system.web>
            <customErrors mode="Off"/>
        </system.web>
    </configuration>


    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

    <!-- Web.Config Configuration File -->
    
    <configuration>
        <system.web>
            <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
        </system.web>
  • Lee 95 posts 115 karma points
    Dec 04, 2014 @ 16:50
    Lee
    0

    Not sure what happed, but I changed to web.config file to this and no errors... huh?

     

    <customErrors mode="true" />

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Dec 04, 2014 @ 16:51
    Jan Skovgaard
    0

    Hi Lee

    Ok, seems you just needed to recycle the app pool for some reason. It's being recycled whenever the web.config is saved for instance.

    Good that it works now :)

    /Jan

  • Lee 95 posts 115 karma points
    Dec 04, 2014 @ 16:52
    Lee
    0

    Darn... nope when I log into Umbraco, I do get the:

    Server Error in '/' Application.


    Runtime Error

    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. 

    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

    <!-- Web.Config Configuration File -->
    
    <configuration>
        <system.web>
            <customErrors mode="Off"/>
        </system.web>
    </configuration>


    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

    <!-- Web.Config Configuration File -->
    
    <configuration>
        <system.web>
            <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
        </system.web>
    </configuration>
  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Dec 04, 2014 @ 16:53
    Jan Skovgaard
    0

    Hi Lee

    Ok...but then change the customErrors attribute from true to off like it says on the screen. Then you'll see the real error.

    /Jan

  • Lee 95 posts 115 karma points
    Dec 04, 2014 @ 17:02
    Lee
    0

    OK, this makes real sense:

    Server Error in '/' Application.


    Could not load type 'Umbraco.Web.WebApi.UmbracoApiController' from assembly 'umbraco, Version=1.0.4898.16911, Culture=neutral, PublicKeyToken=null'.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.TypeLoadException: Could not load type 'Umbraco.Web.WebApi.UmbracoApiController' from assembly 'umbraco, Version=1.0.4898.16911, Culture=neutral, PublicKeyToken=null'.

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace: 

    [TypeLoadException: Could not load type 'Umbraco.Web.WebApi.UmbracoApiController' from assembly 'umbraco, Version=1.0.4898.16911, Culture=neutral, PublicKeyToken=null'.]
       System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes) +0
       System.Reflection.RuntimeAssembly.GetExportedTypes() +21
       Umbraco.Core.TypeFinder.GetTypesWithFormattedException(Assembly a) +68
       Umbraco.Core.TypeFinder.GetClasses(Type assignTypeFrom, IEnumerable`1 assemblies, Boolean onlyConcreteClasses, Func`2 additionalFilter) +326
       Umbraco.Core.TypeFinder.GetClasses(Type assignTypeFrom, IEnumerable`1 assemblies, Boolean onlyConcreteClasses, Func`2 additionalFilter) +881
       Umbraco.Core.TypeFinder.FindClassesOfType(IEnumerable`1 assemblies, Boolean onlyConcreteClasses) +62
       Umbraco.Core.TypeFinder.FindClassesOfType(IEnumerable`1 assemblies) +45
       Umbraco.Core.PluginManager.<ResolveTypes>b__1c() +55
       Umbraco.Core.PluginManager.LoadViaScanningAndUpdateCacheFile(TypeList typeList, TypeResolutionKind resolutionKind, Func`1 finder) +46
       Umbraco.Core.PluginManager.ResolveTypes(Func`1 finder, TypeResolutionKind resolutionType, Boolean cacheResult) +1169
       Umbraco.Core.PluginManager.ResolveTypes(Boolean cacheResult) +133
       Umbraco.Core.CoreBootManager.InitializeApplicationEventsResolver() +44
       Umbraco.Web.WebBootManager.InitializeApplicationEventsResolver() +8
       Umbraco.Core.CoreBootManager.Initialize() +447
       Umbraco.Web.WebBootManager.Initialize() +18
       Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) +86
       Umbraco.Core.UmbracoApplicationBase.Application_Start(Object sender, EventArgs e) +9
  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Dec 04, 2014 @ 17:06
    Dennis Aaen
    0

    Hi Lee,

    Could it be this issue that you are facing. Try to see this blogpost from Umbraco http://umbraco.com/follow-us/blog-archive/2014/10/16/getting-a-systemwebhttpapicontroller-error/

    Hope this helps,

    /Dennis

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Dec 04, 2014 @ 17:14
    Jan Skovgaard
    1

    Hi Lee

    Perhaps try having a look at this issue http://issues.umbraco.org/issue/CON-492 - Seems to be the same error message you're getting.

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft