Jump to content

Recommended Posts

Posted

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:

Posted

It may be that you are using an older version of Spotfire SDK.

Can you confirm if you are using the same version of Spotfire SDK as that of the Spotfire.

I mean for e.g. 10.3 SDK against Spotfre version 10.3

Posted

Thank you Rayees for your prompt response.

My Spotfire Server version is: 10.2.0

And SDK version is : 3.0.1 (I have checked for older versions in edelivery but it showing only current version.)

Please guide me through this.

Regards,

Rakesh Margale

Posted

Thank you Rayees for your prompt response.

 

My Spotfire Server version is: 10.2.0

 

And SDK version is : 3.0.1 (I have checked for older versions in edelivery but it showing only current version.)

 

Please guide me through this.

 

Regards,

 

Rakesh Margale

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...