Jump to content

I am facing error while adding package to Spotfire Developer Software > Package Builder


Ashish Kapoor 4

Recommended Posts

Hi All,

Please see the below error while I am trying to add new folder to Configuration:

Error message: A BadImageFormatException has been thrown while parsing the signature. This is likely due to lack of a generic context. Ensure genericTypeArguments and genericMethodArguments are provided and contain enough context.

ArgumentException at mscorlib:

A BadImageFormatException has been thrown while parsing the signature. This is likely due to lack of a generic context. Ensure genericTypeArguments and genericMethodArguments are provided and contain enough context. (HRESULT: 80070057)

Stack Trace:

at System.Reflection.Module.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)

at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, Module decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, RuntimeMethodHandle& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)

at System.Reflection.CustomAttribute.GetCustomAttributes(Module decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes)

at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit)

at System.RuntimeType.GetCustomAttributes(Type attributeType, Boolean inherit)

at System.Runtime.Remoting.Metadata.RemotingCachedData.GetSoapAttribute()

at System.Runtime.Remoting.InternalRemotingServices.GetCachedSoapAttribute(Object reflectionObject)

at System.Runtime.Remoting.SoapServices.GetXmlTypeForInteropType(Type type, String& xmlType, String& xmlTypeNamespace)

at System.Runtime.Remoting.RemotingServices.DetermineDefaultQualifiedTypeName(Type type)

at System.Runtime.Remoting.Metadata.RemotingTypeCachedData.get_QualifiedTypeName()

at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(Type serverType, Object[] props, ConstructorCallMessage& ctorCallMsg)

at System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(Type serverType)

at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(Type serverType, Object[] props, Boolean bNewObj)

at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)

at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)

at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)

at System.Activator.CreateInstance(Type type, Boolean nonPublic)

at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)

at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)

at System.Activator.CreateInstanceFrom(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)

at System.Activator.CreateInstanceFrom(String assemblyFile, String typeName, Object[] activationAttributes)

at System.AppDomain.CreateInstanceFrom(String assemblyFile, String typeName)

at System.AppDomain.CreateInstanceFromAndUnwrap(String assemblyName, String typeName)

at System.AppDomain.CreateInstanceFromAndUnwrap(String assemblyName, String typeName)

at Spotfire.Dxp.Deployment.AssemblyReflector.CreateRemoteAssemblyReflector(AppDomain& appDomain, List`1 assemblyBindings, String applicationBaseFolder)

at Spotfire.Dxp.Deployment.AssemblyReflector..ctor(List`1 assemblyBindings)

at Spotfire.Dxp.PackageBuilder.MainForm.addProjectButton_Click(Object sender, EventArgs e)

at System.Windows.Forms.Control.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ButtonBase.WndProc(Message& m)

at System.Windows.Forms.Button.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

BadImageFormatException at mscorlib:

Could not load file or assembly 'Spotfire.Dxp.Internal, Version=23.28.9701.4854, Culture=neutral, PublicKeyToken=789861576bd64dc5' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. (HRESULT: 8013101B)

Stack Trace:

at System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle* typeInstArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs, Int32 methodInstCount)

at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)

at System.Reflection.Module.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)

 

BadImageFormatException at :

Could not load file or assembly 'Spotfire.Dxp.Internal, Version=5.8.3419.20315, Culture=neutral, PublicKeyToken=789861576bd64dc5' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. (HRESULT: 8013101B)

Stack Trace:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...