Dear Gleamtech Support, Dear Inbavalli,
i have nearly the same problem. The Stacktrace shows me the following error, from the call to /documentviewer.ashx/PrepareDocument
{
"Type": "GleamTech.DocumentUltimate.AspNet.UI.DocumentViewerException",
"ImportantMessage": "Unable to load DLL 'PortableEngine.Native.dll' or one of its dependencies: A dynamic link library (DLL) initialization routine failed. (0x8007045A)",
"Message": "The type initializer for '_bZE' threw an exception.",
"StackTrace": " at GleamTech.DocumentUltimate.AspNet.UI.DocumentViewerHandler.PrepareDocument(String cacheInfoKey, String attachment)\r\n at lambda_method5158(Closure , Object , Object[] )\r\n at GleamTech.Reflection.MethodInvoker.Invoke(Object instance, Object[] parameters)\r\n at GleamTech.Reflection.MethodInvoker.GleamTech.Reflection.IMethodInvoker.Invoke(Object instance, Object[] parameters)\r\n at GleamTech.AspNet.JsonMethodHandler.ExecuteMethod(MethodConfig methodConfig, Object[] parameterValues)\r\n at GleamTech.AspNet.UI.ComponentHandler`1.ExecuteMethod(MethodConfig methodConfig, Object[] parameterValues)\r\n at GleamTech.AspNet.JsonMethodHandler.Execute()",
"InnerException": {
"Type": "System.TypeInitializationException",
"Message": "The type initializer for '_bZE' threw an exception.",
"StackTrace": " at lambda_method5067(Closure , Object[] )\r\n at GleamTech.Reflection.ConstructorInvoker.Invoke(Object[] parameters)\r\n at GleamTech.Reflection.ConstructorInvoker.GleamTech.Reflection.IConstructorInvoker.Invoke(Object[] parameters)\r\n at _A9F._A6e(String engineName)\r\n at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)\r\n at _A9F._ASf(String engineName)\r\n at GleamTech.DocumentUltimate.DocumentConverter._Adg(DocumentFormatInfo inputFormatInfo, DocumentFormatInfo outputFormatInfo, String forcedEngineName)\r\n at GleamTech.DocumentUltimate.DocumentConverter._bOF(DocumentFormatInfo inputFormatInfo, DocumentFormatInfo outputFormatInfo, Nullable`1 forcedEngine, DocumentEngine& foundKnownEngine)\r\n at GleamTech.DocumentUltimate.DocumentConverter._byF(OutputContext outputContext, Nullable`1 engine)\r\n at GleamTech.DocumentUltimate.DocumentConverter.ConvertTo(Stream outputStream, OutputOptions outputOptions, Nullable`1 engine)\r\n at GleamTech.DocumentUltimate.Caching.DocumentCache._Azf._AaE(Stream cacheFileStream)\r\n at GleamTech.Caching.FileCache._as(IDisposable context, FileSystem fileSystem, _WF cacheFileInfo, Action`1 createAction)\r\n at GleamTech.Caching.FileCache.GetOrAdd(FileCacheKey cacheKey, Action`1 createAction)\r\n at GleamTech.DocumentUltimate.Caching.DocumentCache.GetOrAddPdf(DocumentCacheInfo cacheInfo, String attachment)\r\n at GleamTech.DocumentUltimate.Caching.DocumentCache._b8e._Are(Stream cacheFileStream)\r\n at GleamTech.Caching.FileCache._as(IDisposable context, FileSystem fileSystem, _WF cacheFileInfo, Action`1 createAction)\r\n at GleamTech.Caching.FileCache.GetOrAdd(FileCacheKey cacheKey, Action`1 createAction)\r\n at GleamTech.DocumentUltimate.Caching.DocumentCache.GetOrAddXpz(DocumentCacheInfo cacheInfo, String attachment)\r\n at GleamTech.DocumentUltimate.AspNet.UI.DocumentViewerHandler.PrepareDocument(String cacheInfoKey, String attachment)",
"InnerException": {
"Type": "System.DllNotFoundException",
"Message": "Unable to load DLL 'PortableEngine.Native.dll' or one of its dependencies: A dynamic link library (DLL) initialization routine failed. (0x8007045A)",
"StackTrace": " at _dZb.PEN_PDFNtvInitialize(String lic_key)\r\n at _d3b.Initialize()\r\n at _bZE._bGf()\r\n at _bZE..cctor()"
}
}
}
Also i checked the permission for the D:\Home -> the GleamTech Folder is created:
I also tried to copy these DLL into the wwwroot folder, but didn't changed.
DocumentUltimate Version 6.5.0 is in use.
I would be very grateful for some assistance with this problem.
Best regards
Patrick