Use Document Ultimate in SharePoint On Premise
Problem reported by Stephan KW - March 15 at 8:23 AM
Not A Problem
I just tried to integrate DocumentUltimate in SharePoint 2013 and use the document converter from a custom webservice hosted in SharePoint.
During the call I receive the following error message:
+ InnerException {"Could not load file or assembly 'GleamTech.AssemblyResolver, Version=2.0.0.0, Culture=neutral, PublicKeyToken=a05198837413a6d8' or one of its dependencies. The system cannot find the file specified.":"GleamTech.AssemblyResolver, Version=2.0.0.0, Culture=neutral, PublicKeyToken=a05198837413a6d8"} System.Exception {System.IO.FileNotFoundException}
 
Seems like the assembly doesn't get/have enough rights to load the included dlls in the core and documentultimate dlls. Is it possible to extract them and include them in the deployment step which puts them into GAC?

1 Reply

Reply to Thread
0
Cem Alacayir Replied
Employee Post
Yes, this is because when the assembly is installed to GAC, the AssemblyResolve event is not fired by .NET Framework.
 
I am not familiar with Sharepoint on Premise but do you really need to install the assemblies to GAC?
If just leave them in bin folder as they are already strongly named, they should be loaded by Sharepoint.

Reply to Thread