Copied to clipboard

Flag this post as spam?

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


  • Jan Vermeerbergen 79 posts 112 karma points
    Oct 30, 2013 @ 12:18
    Jan Vermeerbergen
    0

    Could not load type ... error

    I'm getting following error when selecting "edit" next to an image in my DAMP: 
    Could not load type 'umbraco.BusinessLogic.DefaultApps' from assembly 'businesslogic, Version=1.0.4086.28097, Culture=neutral, PublicKeyToken=null'.

    This is a 4.7.0. umbraco installation. Below is the entire error. Any idea's ?

    Server Error in '/' Application.

    Could not load type 'umbraco.BusinessLogic.DefaultApps' from assembly 'businesslogic, Version=1.0.4086.28097, 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.BusinessLogic.DefaultApps' from assembly 'businesslogic, Version=1.0.4086.28097, Culture=neutral, PublicKeyToken=null'.

    Source Error: 

    The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

    1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

      <%@ Page Language="C#" Debug="true" %>

    or:

    2) Add the following section to the configuration file of your application:

    <configuration>
       <system.web>
           <compilation debug="true"/>
       </system.web>
    </configuration>

    Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

    Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.


    Stack Trace: 

    [TypeLoadException: Could not load type 'umbraco.BusinessLogic.DefaultApps' from assembly 'businesslogic, Version=1.0.4086.28097, Culture=neutral, PublicKeyToken=null'.]
       DigibizAdvancedMediaPicker.EditDamp..ctor() +0
       __ASP.FastObjectFactory_app_web_editdamp_aspx_1a962cb6_rkf5wzx4.Create_ASP_umbraco_plugins_digibizadvancedmediapicker_editdamp_aspx() +29
       System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) +174
       System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +42
       System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +490
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +375
    



    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Nov 24, 2013 @ 20:29
    Jeroen Breuer
    0

    Hello,

    Do you run your website in full trust? DAMP needs full trust for the edit popup.

    Jeroen

  • Jan Vermeerbergen 79 posts 112 karma points
    Dec 10, 2013 @ 10:38
    Jan Vermeerbergen
    0

    Hi Jeroen,

    The same problem appeared again in a 4.7 installation. I checked the IIS, and the website is running in full trust mode. Stack trace is identical to the one above.

    Any ideas?

    J

  • Giovanni Sidoel 94 posts 233 karma points
    Dec 19, 2013 @ 18:53
    Giovanni Sidoel
    0

    Jeroen,

    Same thing in my 4.7 installation. I had DAMP 2.0 before, but upgraded to 2.7 yesterday to fix the Chrome issue. And now I receive the above error.
    Yes I am running the site with Full trust. The error only pops up when trying to edit the image frome a content node. Editing the image vi the media section works ok.

    In desperate need of a fix. 

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Dec 19, 2013 @ 21:25
    Jeroen Breuer
    0

    Hello,

    Sorry DAMP 2.5+ only works on Umbraco 4.7.2 or higher so if you want to fix the chrome bug with DAMP 2.7 you need at least that version of Umbraco.

    Jeroen

  • Giovanni Sidoel 94 posts 233 karma points
    Dec 23, 2013 @ 12:47
    Giovanni Sidoel
    0

    Jeroen,

    Unfortunately upgrading Umbraco will have to be delayed till january. How can I revert the 2.7 installation? Can I just reinstall 2.0?

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Dec 23, 2013 @ 13:00
    Jeroen Breuer
    0

    I never tried to revert an installation, but reinstalling 2.0 should work.

    Jeroen

  • Giovanni Sidoel 94 posts 233 karma points
    Dec 23, 2013 @ 13:57
    Giovanni Sidoel
    0

    It did indeed work. Thanks.

Please Sign in or register to post replies

Write your reply to:

Draft