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:
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
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.
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.
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:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
Hello,
Do you run your website in full trust? DAMP needs full trust for the edit popup.
Jeroen
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
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.
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
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?
I never tried to revert an installation, but reinstalling 2.0 should work.
Jeroen
It did indeed work. Thanks.
is working on a reply...