Please forgive me if I am posting this on a wrong Forum, I am trying to get some info so if any one can help it will be great, thanks in advance.
We are currently in the process of converting the SAP Business connector to the .NET connector. We have successfully connected on my local, development server. However, we are getting errors when trying to deploy the application on TEST. The only known difference between the two servers is that we have run the .NET connector setup which requires Visual Studio on the local machine. It seems that there is a dll or assembly missing on TEST. In my code, it fails when I instantiate a SAP proxy object. The .NET connector wizard creates a sapwsdl of the same name (SAPProxyESPAR.sapwsdl):
// SAPProxyESPAR is the Client SAP proxy class
SAPProxyESPAR objBAPI = new SAPProxyESPAR(strConn);
The "SAPProxyESPAR" class derives from SAPClient which is part of SAP.Connector dll. Both my dll and the SAP.Connector dll are in the GAC.
The error message is:
File or assembly name kfjfcr4q.dll, or one of its dependencies, was not found
The specific dll(kfjfcr4q.dll) is different each time we run the app but it is always from MSCORLIB.
Any ideas or instructions for .NET connector deployment are appreciated.
I am getting an error message like that as well:
I have written a COM component that is used to add entries to our SAP system. For testing purposes I have written a Windows application as well that uses the same code to add entries. My problem is that the code is working fine for the Windows application but not for the COM component.
My code looks like this:
my_rec = new ZSS_CP_RECORD();
my_rec.Rec_Data = SapString;
proxy.Z_Bapi_Activity_Alloc_Post(" ", out xdoc_num, ref this.doc_items, ref this.cp_recs, ref this.returntable);
Within the COM component an exception occures when calling proxy.Z_Bapi_Activity_Alloc_Post - the error message is 'File or assembly name SAP.Connector, or one of its dependencies, was not found'. Within the Windows application this call is working.
Did you already find a solution for your problem? Can anybody else help me?
Thanks and regards,