on 10-07-2004 7:50 AM
After I get to the point where I drag and drop my function I get the retrieving data progress box and then I get an error box that says "INFO Error using logging implementation "AII Logging"... =exception in thread main.
What do I do now????
Todd
Note that we recently ran into the exact same main error msg's that were cited in these previous posts, but it was caused by the version of Java.
We originally installed JRE 1.4.2, and everything worked fine...but we left the "auto update" feature on. When the update for JRE 5.0 was auto installed, alas, it broke the SAP .NET Connector...we couldn't drag-n-drop objects any more(just like the rest of the messages on this forum), and we had no clue why.
After a couple of days of scratching our heads, and trying everything suggeted from this web site (such as SAP router strings, client numbers, password resets, etc), we uninstalled Java, then reinstalled an older version 1.4.2 JRE (with out auto-update on). Everything worked...as soon as we turned on auto-update, and the JRE went to v5.0, it was broke again.
Lesson: never leave auto-update on for anything, as then your environment is uncontrolled.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think it has to do with a 2 character client number or single digit system number.
I noticed your client number is something like 025. The .NET connector is probably chopping it off to 25. This is happening on our system number 02 and it is the only SAP instance that I can't connect to properly to create a proxy class.
Is it something this simple?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ;
On server properties ; there is clint number property ;
it has default value zero.correct it with your clint number.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm a beginner working with SAP .Net Connector 2.0 and VS .Net 2003.
I had had the same problem drawing functios from the server explorer to the proxy pannel. The solution was to delete the server entry a create a new as follow:
Add new SAP Application Server
(First, click on the right mouse button on the Application Server level, into the Server Explorer. Select the "Add application server..." menu option.
In the dialog box, put the following:
DestinationType = "Custom Logon Settiong"
Username = <your SAP username>
Client = <your SAP Client Number>
Password = <your SAP password>
Language = <your lang>
AppServerHost = "/H/<your SAP router>/S/<your SAP routrer port>/H/<your SAP application host>
SystemNumber = 0
Apply and begin to play with th server explorer, draging functios from the server explorer...
I hope it could be useful for something (I wasted a lot of time trying to resolver this problem)
Did you get a solution to your problem. I am in the same position where you are without any solutions. Please send a reply if you hava workaround for this problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Solution has well been described by Reiner and stefan in their posts.. In order to get it working for remote connections, Router string has to be specified in the AppServerhostName and the real AppServerhostName has to be appended after that.
Like its gona be in the following format...
/H/SAPRouter machine/H/SAP Server/S/SAP Sever port/H/AppServerhostName
This problem wasted a lot of mine time so it thought to clarify it a bit more .. it may save somebody's time
Your should post a bit more info about the error - very likely you see a complete Java call stack.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The complete error is as follows...
Server Explorer
INFO: using logging implementation "AII Logging"
com.sap.aii.upload.sap.SAPConnectionException$ConnectFailed: Unable to establish connection to R/3 system
pn1.hp.vega.us.delphiauto.com(system=50, client=25)
at com.sap.aii.upload.SAPConnection.connect(SAPConnection.java:103)
at com.sap.aii.upload.SAPConnection.<init>(SAPConnection.java:38)
at com.sap.aii.upload.RFC2WSDLTool.getWSDLforRFCs(RFC2WSDLTool.java:81)
at com.sap.aii.upload.RFC2WSDLTool.main(RFC2WSDLTool.java:196)
Exception in thread "main"
Seems to be somethign wrong with connection information (username, password, client, application server, system number). Note that at design time there is very limited support for "load balanced" SAP Logon connections: If you use a destination that uses load balancing, NCo will try to connect to the Message Server host as App Server - which might fail. Better you use custom settings or a destination that points to a single application server.
I have tried that without much success. I keep getting logon errors? I suspect my lack of familiarity with SAP is the problem. However I do see the list of functions under the filter tree option in the server explorer window, does that not mean I have connected to SAP?
Possibly with some more detail about custom login settings I could get further.
In any case I still need a solution, thanks for trying though.
Todd
Hi,
i've the same problem, do you resolve it ?
I've created a functions filter and when i want to access it, VS 2003 open a dialog box with this message :
"Connect to SAP gateway failed
Connect_PM GWHOST=192.168.10.2, GWSERV=sapgw00, ASHOST=192.168.10.2, SYSNR=00
LOCATION CPIC (TCP/IP) on local host
ERROR partner not reached (host 192.168.10.2, service 3300)
TIME Thu Oct 14 17:25:43 2004
RELEASE 620
COMPONENT NI (network interface)
VERSION 36
RC -10
MODULE ninti.c
LINE 979
DETAIL NiPConnect2
SYSTEM CALL SO_ERROR
ERRNO 10060
ERRNO TEXT WSAETIMEDOUT: Connection timed out
COUNTER 1"
I use Minisap 4.6D for testing.
Regards.
Message was edited by: tafkap
I got exactly the same problem and have some evidence that there is a problem with the .Net Connector at design time:
I modified the sample c# BAPI client app that comes with the .Net connector installation and adjusted the connection details and credentials according to our SAP server (single, no load balancing).
The application runs fine.
Now: I still can't drag methods from the server explorer. But get exactly the same exception and stack trace as mentioned by Todd.
I'll try another Java runtime and see if this has an impact..
Any other idea?
Stefan
Did that. I got exactly the same stack trace in my command shell window.
I noticed 2 things:
1) The AppServerHost name is used as an argument for the RFC2WSDL tool. In my case this name can't be resolved as our DNS doesn't know it. That's why we use the router string.
2)I found the file:
dev_rfc.trc
in the NCo install dir.
In that trace file an entry was added at the time I dragged the method from the server explorer. The entry indicates that the AppServerHost name can't be resolved through DNS.
1 and 2 seem to fit together.
Can it be that the Server Explorer requires that the AppServerHost name (as specified in through the server destination properties) can be resolved in the local network?
Stefan
I found a workaround.
In the server properties:
a) The AppServerHost field: put the routerstring in front of the server name
b) The SAPRouterString field: empty! no router string
You must do b) as well because otherwise the ConnectionString will contain the routerstring twice...
Does this work around solve your problem as well, Todd?
I did not find this in the docs and I can imagine that a few more developers will run into this trap when working with router strings. Maybe it is worth to submit a bug report/enhancement request?
Stefan
Does any one have a sample of what this is supposed to look like? I don't have either field filled out (AppServerHost or SAPRouterString). Again I sight my own unfamiliarity with SAP for this. When I go custom I do get a connection string which contains login info, but I'm not sure what I need to be looking at, so a sample would be great.
Todd
P.S. Thanks for all the hgelp so far, it's greatly appreciated.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.