Question
Accenture
IN
Last activity: 4 Oct 2018 13:54 EDT
OpenSpan - Not able to add windows application
Hi,
I have added a windows application to OpenSpan project. however, on opening the windows application, it is throwing the below error (also attached screenshot).
"Error creating <name> component of openspan.adapters.windows.windowsadapters"
Can someone please help?
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
US
Windows 10 is not currently supported. I believe it will be soon (wait for an announcement). It will only be supported by Pega Robotics 8.0 and up though. If you are running 7.1.75 you will need to switch to Windows 7, as that is the highest version of Windows supported by that version.
Pegasystems Inc.
US
JagaDeesh,
One of the designer config files may have been corrupt.
Please attempt the following:
- Close all Pega Studios that are currently running
- Go to your user's appdata openspan directory, %appdata%\openspan
- Delete all of the .xmls that are found in the directory (RuntimeConfig.xml, PluginManifest.xml,StudioConfig.xml,TargetFactoryConfigurationCache.xml, etc....)
- Start the Pega Studio again.
- Attempt to open the test windows adapter to see if it works.
Please let us know if this does not resolve your issue.
Accenture
IN
Hi,
Thanks for your reply.
Howeveer, it did not work. Please see below the exception in the log file.
Also, i googled and found a thread which says it works only on win7 or win8, but not on win10. I have win10 OS. Could it be a problem?
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
Hi,
Thanks for your reply.
Howeveer, it did not work. Please see below the exception in the log file.
Also, i googled and found a thread which says it works only on win7 or win8, but not on win10. I have win10 OS. Could it be a problem?
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: "mscorlib"
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 | 2016-11-11 10:41:42,651 | 1 | 1 | 4072 | STA | Exception | | | Error creating 'CRM' component of OpenSpan.Adapters.Windows.WindowsAdapter type, Verbose Message: General Information
Diagnostic Info:
Diagnostic.MachineName: HDC4-DX-8H8P6C2
Diagnostic.FullName: OpenSpan, Version= Proprietary information hidden, Culture=neutral, PublicKeyToken=f5db91edc02d8c5e
Diagnostic.AppDomainName: DefaultDomain
Diagnostic.WindowsIdentity: DIR\jagadeesh.kadiyala
Diagnostic.ApplicationName: OpenSpan.Studio.Shell
Exception Information
1) Exception Information
*********************************************
Exception Type: System.ComponentModel.Design.Serialization.CodeDomSerializerException
LinePragma: System.CodeDom.CodeLinePragma
Message: "Error creating 'CRM' component of OpenSpan.Adapters.Windows.WindowsAdapter type"
Data: IDictionary (System.Collections.ListDictionaryInternal) with 0 items
TargetSite: System.ComponentModel.Design.DesignSurface InternalDesignerCreate(System.String, OpenSpan.Design.CreateDesignerCallback)
HelpLink: NULL
Source: "OpenSpan.Studio"
HResult: -2146233087
StackTrace Information
*********************************************
at OpenSpan.Studio.Shell.DesignerShell.InternalDesignerCreate(String storageFile, CreateDesignerCallback callback)
at OpenSpan.Studio.Shell.DesignerShell.CreateDesigner(String storageFile, CreateDesignerCallback callback)
at OpenSpan.Studio.Shell.DesignerFactory.Microsoft.VisualStudio.Shell.Interop.IVsEditorFactory.CreateEditorInstance(UInt32 createEditorFlags, String document, String physicalView, IVsHierarchy hierarchy, UInt32 itemid, IntPtr docDataExisting, IntPtr& docView, IntPtr& docData, String& editorCaption, Guid& commandUIGuid, Int32& createDocumentWindowFlags)
Pegasystems Inc.
US
What version of Windows are you using and what version of Pega Robotics are you using?
Accenture
IN
Hi,
I am running on windows 10 enterprise, version 1511, OS build 10586.218.
Version of Openspan i have downloaded from PDN is: Proprietary information hidden
Accepted Solution
Pegasystems Inc.
US
Windows 10 is not currently supported. I believe it will be soon (wait for an announcement). It will only be supported by Pega Robotics 8.0 and up though. If you are running 7.1.75 you will need to switch to Windows 7, as that is the highest version of Windows supported by that version.
Datacom group
NZ
Hi Jeff,
I am still getting this error.
I am using VS 2015 Professional and the Robotics plug-in 8.0.1064.0 on Windows 10 Version 1703 OS build 15063.674.I am using the Agile desktop and when I perform a search, sometimes the error appears but most of the time its not.What would be the reason?
-
AKHIL SAI padidarapu
EY
IN
Hi Jeff,
Do we have any prerequiste document for system compatibilty?
eg, Pega Robotics 8.0 supports windows 10
Accenture
IN
Hi,
Openspan 7.1.75 or 7.1.63 or below version will support windows 7.
Thanks
CenTene
US
Hi All, I am facing the same issue with Windows 10 , Pega ROBOTICS 8.0
Diagnostic Info:
Diagnostic.MachineName: GH-VDISTLDAT08
Diagnostic.FullName: OpenSpan, Version= Proprietary information hidden, Culture=neutral, PublicKeyToken=f5db91edc02d8c5e
Diagnostic.AppDomainName: OpenSpan.Runtime.exe
Diagnostic.WindowsIdentity: MASTERCARD\e076384
Diagnostic.ApplicationName: OpenSpan.Runtime
Exception Information
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
Hi All, I am facing the same issue with Windows 10 , Pega ROBOTICS 8.0
Diagnostic Info:
Diagnostic.MachineName: GH-VDISTLDAT08
Diagnostic.FullName: OpenSpan, Version= Proprietary information hidden, Culture=neutral, PublicKeyToken=f5db91edc02d8c5e
Diagnostic.AppDomainName: OpenSpan.Runtime.exe
Diagnostic.WindowsIdentity: MASTERCARD\e076384
Diagnostic.ApplicationName: OpenSpan.Runtime
Exception Information
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.Utils.SafeInvokeHelper.Invoke(Object baseInstance, Object instance, MethodInfo methodInfo, Object[] args)
at OpenSpan.Automation.EventLink.Execute(Object sender, ExecutionEventArgs e)
Please suggest how to resolve this issue.
Accenture Services PVT Ltd
IN
Hi
I am trying to add a global container to the project when I am getting the attached error.
Infosys Limited
IN
Hi Team,
I am getting the attached "Windows can't open this type of file (.os) while trying to interrogate any field using Pega Openspan 8.o for windows 10. Please let me know how to resolve it.
Thanks,
Abhijit
CollabPartnerz
IN
Below link might help you
https://collaborate.pega.com/question/openspan-error-adding-new-windows-application