SAP connection error after upgrade from 9.2 to 9.3

After upgrade from 9.2 to 9.3 we have an error connecting to SAP:

[System.IO.FileNotFoundException] Could not load file or assembly 'sapnco, Version=3.1.0.42, Culture=neutral, PublicKeyToken=50436dca5c7f7d23'. The system cannot find the file specified.

We installed SAP .Net Connector 3.1 for x64 Microsoft .NET 8.0.x as required in 9.3 Release Notes, but error persist.

Any ideas?

Parents
  • You probably downloaded and installed the wrong type of SAP .NET Connector. You need the SAP Connector for Microsoft .NET 3.1.5.0 for Windows 64bit (x64) that is Compiled for .NET (formerly .NET Core) as listed on the SAP download page.(https://support.sap.com/en/product/connectors/msnet.html?anchorId=section_512604546)

    You will get a ZIP archive and no installer package. The contents of the archive have to be put into the One Identity Manager installation directory where you try to connect to SAP.

  • Markus, thank you for reply.

    I've uninstalled previously installed SAP .NET Connector, and I've put content of sapnco31dotnet8P_5-70002626.zip into the One Identity Manager installation directory on job server (C:\Program Files\One Identity\One Identity Manager). Now I have following error:

    [1777292] Error connecting system (SAP R/3 Connector)!
    at VI.Projector.Editor.SystemConnectionControl._Load()
    at VI.Projector.Editor.SystemConnectionControl._LoadTasks()
    at VI.Projector.Connection.SystemConnection.Resolve[T](Boolean throwIfNotSupported)
    at VI.Projector.Connection.SystemConnection.ConnectIfRequired(Boolean doNotSetSchema)
    Could not load file or assembly 'sapnco, Version=3.1.0.42, Culture=neutral, PublicKeyToken=50436dca5c7f7d23'. Could not find or load a specific file. (0x80131621)
    at VI.Projector.Connection.SystemConnection.ConnectIfRequired(Boolean doNotSetSchema)
    at VI.Projector.Connection.SystemConnectorProxy.Connect(ISystemConnectionParameterCollection connectionParameter)
    at VI.Projector.Journal.JournalConnector.OnConnect(ISystemConnectionParameterCollection connectionParameter)
    at VI.Projector.Connection.SystemConnectorProxy.Connect(ISystemConnectionParameterCollection connectionParameter)
    at VI.Projector.Connection.Connectors.ThreadSafeConnector.OnConnect(ISystemConnectionParameterCollection connectionParameter)
    at VI.Projector.Connection.SystemConnector.Connect(ISystemConnectionParameterCollection connectionParameter)
    at VI.Projector.SAP.ProjectorSAPConnector.OnConnect(ISystemConnectionParameterCollection connectionParameter)
    at VI.Projector.SAP.SAPConnection..ctor(LogMessageStack Log)
    Could not load file or assembly 'sapnco, Version=3.1.0.42, Culture=neutral, PublicKeyToken=50436dca5c7f7d23'.
    at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingResolvingEvent(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
    at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
    at System.Runtime.Loader.AssemblyLoadContext.GetFirstResolvedAssemblyFromResolvingEvent(AssemblyName assemblyName)
    at VI.Base.AssemblyLoader.<>c.<.cctor>b__13_1(AssemblyLoadContext _, AssemblyName name)
    at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
    at System.Runtime.Loader.AssemblyLoadContext.<LoadFromPath>g____PInvoke|5_0(IntPtr __ptrNativeAssemblyBinder_native, UInt16* __ilPath_native, UInt16* __niPath_native, ObjectHandleOnStack __retAssembly_native)

Reply
  • Markus, thank you for reply.

    I've uninstalled previously installed SAP .NET Connector, and I've put content of sapnco31dotnet8P_5-70002626.zip into the One Identity Manager installation directory on job server (C:\Program Files\One Identity\One Identity Manager). Now I have following error:

    [1777292] Error connecting system (SAP R/3 Connector)!
    at VI.Projector.Editor.SystemConnectionControl._Load()
    at VI.Projector.Editor.SystemConnectionControl._LoadTasks()
    at VI.Projector.Connection.SystemConnection.Resolve[T](Boolean throwIfNotSupported)
    at VI.Projector.Connection.SystemConnection.ConnectIfRequired(Boolean doNotSetSchema)
    Could not load file or assembly 'sapnco, Version=3.1.0.42, Culture=neutral, PublicKeyToken=50436dca5c7f7d23'. Could not find or load a specific file. (0x80131621)
    at VI.Projector.Connection.SystemConnection.ConnectIfRequired(Boolean doNotSetSchema)
    at VI.Projector.Connection.SystemConnectorProxy.Connect(ISystemConnectionParameterCollection connectionParameter)
    at VI.Projector.Journal.JournalConnector.OnConnect(ISystemConnectionParameterCollection connectionParameter)
    at VI.Projector.Connection.SystemConnectorProxy.Connect(ISystemConnectionParameterCollection connectionParameter)
    at VI.Projector.Connection.Connectors.ThreadSafeConnector.OnConnect(ISystemConnectionParameterCollection connectionParameter)
    at VI.Projector.Connection.SystemConnector.Connect(ISystemConnectionParameterCollection connectionParameter)
    at VI.Projector.SAP.ProjectorSAPConnector.OnConnect(ISystemConnectionParameterCollection connectionParameter)
    at VI.Projector.SAP.SAPConnection..ctor(LogMessageStack Log)
    Could not load file or assembly 'sapnco, Version=3.1.0.42, Culture=neutral, PublicKeyToken=50436dca5c7f7d23'.
    at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingResolvingEvent(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
    at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
    at System.Runtime.Loader.AssemblyLoadContext.GetFirstResolvedAssemblyFromResolvingEvent(AssemblyName assemblyName)
    at VI.Base.AssemblyLoader.<>c.<.cctor>b__13_1(AssemblyLoadContext _, AssemblyName name)
    at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
    at System.Runtime.Loader.AssemblyLoadContext.<LoadFromPath>g____PInvoke|5_0(IntPtr __ptrNativeAssemblyBinder_native, UInt16* __ilPath_native, UInt16* __niPath_native, ObjectHandleOnStack __retAssembly_native)

Children