Has anyone ever seen this error message when trying to run a remote business rule through ERPConnect? I installed VisualStudio 2013, and I have the rfclib.dll sitting in System32 path. Unsure where to go from here...
---> (Inner Exception #0) ERPConnect.RfcLibraryException: Cannot call classic RFC API. See help for details.
Please put a recent 64-bit version of librfc32.dll in your System32 folder (typically C:\Windows\System32).
See SAP note 413708. Please make sure you have installed Visual C++ 2013 Redistributable (x64). ---> System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at ERPConnect.Classic.NativeMethods.RfcResetTraceDir(String newTraceDirectory)
at ERPConnect.RFCAPI.ResetTraceDirectory(String path)
--- End of inner exception stack trace ---
at ERPConnect.RFCAPI.ResetTraceDirectory(String path)
at ERPConnect.Classic.ClassicClient.Connect(String connectionString)
at ERPConnect.R3Connection.Open(String& connectionString, String& ticket, Boolean& usesLoadBalancing)
at ERPConnect.R3Connection.Open()
at OneStream.BusinessRule.SmartIntegrationFunction.SAP_SIC_SmartIntegrationFunction.MainClass.RunOperation(String monthName, String yearName, String costUnit)
at RunOperation_Proxy(Object , Object[] )
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---