Posted on 17/02/2022 10:20:23
As Jannich mentioned you might be missing some assemblies in the bin folder (ImageGlue7-32.dll, ImageGlue7-64.dll).
It sounds very similar to the issue reported here: https://doc.dynamicweb.com/forum/swift/swift/image-handler-returns-500-internal-server-error
Did you also create your application by installing Dynamicweb.Admin from nuget?
If missing assemblies is not the problem then it might be caused by a missing assembly binding redirect in web.config (which you probably copied from dynamicweb.web.config). You can try to add the following, if it is missing in web.config under configuration/runtime/assemblyBinding:
<dependentAssembly>
<assemblyIdentity name="System.Drawing.Common" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.0.2" newVersion="4.0.0.2" />
</dependentAssembly>
Otherwise you can try to take a look in the Windows Event Viewer and see if any logged event contains more details about the error.
Best regards,
Morten