12 Replies Latest reply: Jun 5, 2012 3:20 PM by Case Ahr RSS

SAP.Middleware.Connector.RfCDestination.Manager Error

Marcel Schick
Currently Being Moderated

Hello everybody!

 

I created an application which runs fine on  a computer.

Now i want to run this application on another computer with the same properties.

 

After starting the program I get this error and don't know why.

I installed .NET Framework 4, I already installed the libraries 2005, 2008 and 2010.

I compiled the application for in projects properties for  .NET Framework 4.

 

Here is the error:

 

************** Exception Text **************

System.TypeInitializationException: The type initializer for 'SAP.Middleware.Connector.RfcDestinationManager' threw an exception. ---> System.TypeInitializationException: The type initializer for 'SAP.Middleware.Connector.RfcConfigParameters' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

   at SAP.Middleware.Connector.RfcConfigParameters..cctor()

   --- End of inner exception stack trace ---

   at SAP.Middleware.Connector.RfcConfigParameters.Initialize()

   at SAP.Middleware.Connector.RfcDestinationManager..cctor()

   --- End of inner exception stack trace ---

   at SAP.Middleware.Connector.RfcDestinationManager.UnregisterDestinationConfiguration(IDestinationConfiguration config)

   at PLM_Download.Form1.Form1_FormClosing(Object sender, FormClosingEventArgs e) in D:\Desktop\VB.NET\PLM_Download_NCo3_1.2\PLM_Download\Form1.vb:line 130

   at System.Windows.Forms.Form.OnFormClosing(FormClosingEventArgs e)

   at System.Windows.Forms.Form.WmClose(Message& m)

   at System.Windows.Forms.Form.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)

 

 

************** Loaded Assemblies **************

mscorlib

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.239 (RTMGDR.030319-2300)

    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

----------------------------------------

PLM_Download

    Assembly Version: 1.0.0.0

    Win32 Version: 1.0.0.0

    CodeBase: file:///C:/Program%20Files/PLM_Download_NCo3_1.2/PLM_Download/bin/Debug/PLM_Download.exe

----------------------------------------

Microsoft.VisualBasic

    Assembly Version: 10.0.0.0

    Win32 Version: 10.0.30319.1 built by: RTMRel

    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll

----------------------------------------

System

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.258 built by: RTMGDR

    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Core

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.1 built by: RTMRel

    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

----------------------------------------

System.Windows.Forms

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.235 built by: RTMGDR

    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System.Drawing

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.1 built by: RTMRel

    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

System.Runtime.Remoting

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll

----------------------------------------

sapnco

    Assembly Version: 3.0.0.42

    Win32 Version: 3.0.5.0

    CodeBase: file:///C:/Program%20Files/PLM_Download_NCo3_1.2/PLM_Download/bin/Debug/sapnco.DLL

----------------------------------------

System.Configuration

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

System.ServiceModel

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.1 built by: RTMRel

    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll

----------------------------------------

System.Xml

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.1 built by: RTMRel

    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

 

 

What did I forget?

Maybe somebody can help me.

 

Thank you and all the best,

Marcel

Actions