Question

2
Replies
2107
Views
Close popover
Anurathan Kalithasappulavar (Anurathan_K)
ANZ Bank
SSA
ANZ Bank
AU
Anurathan_K Member since 2016 17 posts
ANZ Bank
Posted: September 27, 2016
Last activity: August 8, 2017
Closed
Solved

OpenSpan failed / Exception occurred when adding Web Adapter in Windows

Hi Team,

OpenSpan Pega Academic version failed in Windows 10 with the following exception. Could not continue the training course as in help guide PDFs. When I add web adapter I am getting the following exception.

Anybody would be able to help me on this.

1) Exception Information
*********************************************
Exception Type: System.Reflection.TargetInvocationException
Message: "Exception has been thrown by the target of an invocation."
Data: IDictionary (System.Collections.ListDictionaryInternal) with 0 items
TargetSite: System.Object InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
HelpLink: NULL
Source: "mscorlib"
HResult: -2146232828

StackTrace Information
*********************************************
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at OpenSpan.Design.Serialization.SerializerManager.Deserialize(XPathDocument[] documents, IComponentCreator componentCreator, IServiceProvider serviceProvider, String externalName, ArrayList errors, String logCategory, String logMessage)
at OpenSpan.Design.DesignComponentLoader.ReadFile(String path, ArrayList errors)

2) Exception Information
*********************************************
Exception Type: System.IO.FileLoadException
Message: "A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A)"
FileName: NULL
FusionLog: NULL
Data: IDictionary (System.Collections.ListDictionaryInternal) with 0 items
TargetSite: Void ThrowExceptionForHRInternal(Int32, IntPtr)
HelpLink: NULL
Source: ""
HResult: -2147023782

StackTrace Information
*********************************************
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at OpenSpan.Interop.UnmanagedLibrary..ctor(String fileName)
at OpenSpan.Interop.ScoutInterop.LoadNativeLibrary(String searchPath, String moduleName, UnmanagedLibrary& unmanagedLibrary)
at OpenSpan.Interop.ScoutInterop.Initialize(ScoutInitialization flags, String searchPath)
at OpenSpan.Adapters.Windows.WindowsAdapterBase.set_Site(ISite value)
at System.ComponentModel.Container.Add(IComponent component, String name)
at System.ComponentModel.Design.DesignerHost.PerformAdd(IComponent component, String name)
at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.CreateComponent(Type componentType, String name)
at OpenSpan.Design.ComponentCreator.CreateComponent(Type componentClass, String name)
at OpenSpan.Serialization.Serializer.ReadCreateInstance(XPathNavigator navigator, Boolean isContent, IComponentCreator componentCreator, String externalName, Boolean missingTypeError, SerializerReadData data, Type& type, Object& instance)
at OpenSpan.Serialization.Serializer.ReadObject(XPathNavigator navigator, Boolean advanceCursor, Boolean isContent, IComponentCreator componentCreator, ComponentInfo componentInfo, String externalName, Boolean missingTypeError, SerializerReadData data)
at OpenSpan.Serialization.Serializer.Deserialize(XPathDocument document, IComponentCreator componentCreator, String externalName, SerializerReadData data, String logCategory, String logMessage)
at OpenSpan.Serialization.Serializer.Deserialize(XPathDocument[] documents, IComponentCreator componentCreator, IServiceProvider serviceProvider, String externalName, ArrayList errors, String logCategory, String logMessage)
Error | 03:03:32.903 PM | 1 | STA | Exception | | | Error creating 'Web Application1' component of OpenSpan.Adapters.Web.WebAdapter type, Verbose Message: General Information

***Updated by moderator: Lochan to move from PSC to Pega Academy community***

Low-Code App Development Pega Academy
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.