on 07-23-2007 4:16 PM
Hi,
I am facing a problem with Sap .net connector.
Application Description and Implementation:
To give you a brief info about the Application and its current implementations, The application connects to SAP servers and updates many fields from an Excel file. The excel file has many records.The application is developed in .NET Framework 1.1 and VS 2003, for doing operations in SAP we used SAP Auto GUI & SAP .NET Connector.
ISSUE
Intially my application used .net connector 1.03 a proxy was generated which was used to expose the RFC RFC_READ_TABLE every thing was fine The implementation worked successfully and we were able to upload some huge records into SAP without any issue.
Later I have installed the latest version of SAP .net conector i.e. version 2.0. Now when I try to upload the excel file to sap servers the application is unable to connect to sap servers and is giving the error message YOU ARE NOT AUTHORISED TO CONNECT TO THE TARGET MACHINE. I dont know why I am getting error after updating the SAP connector. I checked in relese notes also it didnt helped .
It would be really helpful if any one can suggest some solutions for the same. Expecting all suggestions and solutions from all!!!
Thank you
Regards
Sreekala
Hi
@Jitendre
I can see the SAP system in Server Explorer window of VS, but i am not getting any list of functions.
I will explain the entire scenario:-
Originally the application used SAP .net connector 1.03 to connect to the SAP servers and do the required transactions.It was working fine and we were able to connect to sap systems. Later we updated the SAP .net connector to version 2.0. But after updating the .net connector the aplication is unable to connect to SAP servers and we are getting a error message -"YOU ARE NOT AUTHORISED TO CONNECT TO THE TARGET MACHINE".
Now i am facing another problem,when i rolled back again to version 1.03.i.e i again installed the .net connector 1.03 (which was originally working fine) and try to connect to SAP servers through the application i am getting the error message -"YOU ARE NOT AUTHORISED TO CONNECT TO THE TARGET MACHINE".
I don't know why this is happenning as the application is working fine with the version 1.03.
I am seriously strucked,as the application is now not connecting to SAP servers through any connectors(1.03,2.0).
do i need to replace any libraries while changing the version from 2.0 to 1.03?
@Amit
Kindly please explain how to validate the credentials of the user on the target system ?
It would be really helpful if any one can suggest some solutions for the same. Expecting all suggestions and solutions from all!!!
Thank you
Regards
Sreekala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sreekala,
I want to ask one question. You are saying that "we updated to connector 2.0" Have you only removed .net connector 1.0 and install connector 2.0? Normally, when you have running your application via .net exe, it requires a dll that will use while connecting to SAP. This dll is different for nco 1.0 and nco 2.0.
But, you have said that, I can not get the list of functions. Please create another application and try to get the list of functions. Also, check the username and password fields, maybe these values have changed. Take care while entering password and username to be capital letters.
Hi Gugathan,
You can do the followings to find out the cause of the problem-
1. In VS create a new test application.
2. Open the server explorer and add a new sap server. Specify the credentials.
3. Expand the server and expand Functions below it.
Are you getting list of functions? if not, what error does it displays (write down the complete error).
Apart from that, when you upgraded to Nco ver 2.0, have you changed the references to the correct Nco dlls in VS?
Regards.
Hi Sreekala,
how are you doing ?
please refer to http://help.sap.com/saphelp_nw2004s/helpdata/en/e9/23c80d66d08c4c8c044a3ea11ca90f/frameset.htm
for reference on installation, setup and useage
with respect,
amit
Hi Sreekala,
how are you doing ?
have you regenerated the proxies when you upgraded the version of NCo ?
also please validate the credentials of the user on the target system : username, password, client, etc ...
with respect,
amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.