Hi Experts;
I'm trying .net Connector 3.0v on Vs.net 2010 and framework 4.0 platforms.
But I'm taking the following errors.
Isn't .net Connector 3.0 working on the framework 4.0v ?
Do It want to framework 2.0?
Thanks for your interest.
Error Message :
System.TypeInitializationException was unhandled
Message=The type initializer for 'SAP.Middleware.Connector.RfcDestinationManager' threw an exception.
Source=sapnco
TypeName=SAP.Middleware.Connector.RfcDestinationManager
StackTrace:
at SAP.Middleware.Connector.RfcDestinationManager.RegisterDestinationConfiguration(IDestinationConfiguration config)
at ConsoleApplication3.Program.Main(String[] args) in c:\documents and settings\mutlum\my documents\visual studio 2010\Projects\ConsoleApplication3\ConsoleApplication3\Program.cs:line 44
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException: System.TypeInitializationException
Message=The type initializer for 'SAP.Middleware.Connector.RfcConfigParameters' threw an exception.
Source=sapnco
TypeName=SAP.Middleware.Connector.RfcConfigParameters
StackTrace:
at SAP.Middleware.Connector.RfcConfigParameters.Initialize()
at SAP.Middleware.Connector.RfcDestinationManager..cctor()
InnerException: System.IO.FileLoadException
Message=Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information. Source=sapnco
StackTrace:
at SAP.Middleware.Connector.RfcConfigParameters..cctor()
InnerException: