Automation Error when connecting to SAP

Can someone please help me. I've been on it for days. I'm a beginner in interfacing VB6 with SAP 6.20. The problem is I always get an "Automation Error: The Specified module could not be found" everytime it passes this statement
"Set myVar = createobject("SAP.Functions"). I have tried it with SAP 4.2, but so far it worked. How can I make it work with SAP 6.2? Please help me. Thanks.

Hi Anna,
This is the Forum for the SAP Business One SDK which is a software that is quite different from SAP R/3 or mySAP ERP etc.
It sounds like you were looking at the wrong Forum?
I hope you'll find the right one though!
Regards,
Frank

Similar Messages

  • VB prompts Automation Error when connecting to SAP

    Can someone please help me. I've been on it for days. I'm a beginner in interfacing VB6 with SAP 6.20. The problem is I always get an "Automation Error: The Specified module could not be found" everytime it passes this statement
    "Set myVar = createobject("SAP.Functions"). I have tried it with SAP 4.2, but so far it worked. How can I make it work with SAP 6.2? Please help me. Thanks.

    Hi Anna,
    This is the Forum for the SAP Business One SDK which is a software that is quite different from SAP R/3 or mySAP ERP etc.
    It sounds like you were looking at the wrong Forum?
    I hope you'll find the right one though!
    Regards,
    Frank

  • SSL error when connecting in SAP HANA Cloud Portal tutorial

    Hi,
    I'm going through the tutorial for SAP HANA Cloud Portal - SAP HANA Cloud Portal Developers Tutorial
    Unfortuanatelly I have problems with deploying public destinations (page 9).
    When I try to deploy the destination for the CRM back from the command console using neo command with relevant parameters and entering my password I get the following error:
    ERROR; SSL error when connecting to https://configapi.hanatrial.onedemand.com/configuraiton/api/rest; server certificate might be invalid or untrusted.
    Logfiles.
    Session log
    2014-08-18 15:53:59,579 DEBUG [main] org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager$1: Get connection: HttpRoute[{s}->https://configapi.hanatrial.onedemand.com], timeout = 0 2014-08-18 15:53:59,581 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: [HttpRoute[{s}->https://configapi.hanatrial.onedemand.com]] total kept alive: 0, total issued: 0, total allocated: 0 out of 20 2014-08-18 15:53:59,581 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: No free connections [HttpRoute[{s}->https://configapi.hanatrial.onedemand.com]][null] 2014-08-18 15:53:59,581 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Available capacity: 2 out of 2 [HttpRoute[{s}->https://configapi.hanatrial.onedemand.com]][null] 2014-08-18 15:53:59,582 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Creating new connection [HttpRoute[{s}->https://configapi.hanatrial.onedemand.com]] 2014-08-18 15:53:59,729 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnectionOperator: Connecting to configapi.hanatrial.onedemand.com/216.128.6.149:443 2014-08-18 15:54:00,035 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: Connection closed 2014-08-18 15:54:00,035 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: Connection shut down 2014-08-18 15:54:00,036 DEBUG [main] org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager: Released connection is not reusable. 2014-08-18 15:54:00,036 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Releasing connection [HttpRoute[{s}->https://configapi.hanatrial.onedemand.com]][null] 2014-08-18 15:54:00,037 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Notifying no-one, there are no waiting threads
    Console log
    2014-08-18 15:53:56,080 INFO  [main] com.sap.jpaas.infrastructure.console.CommandManager: Starting execution of command [get-destination] 2014-08-18 15:53:56,086 INFO  [main] com.sap.jpaas.infrastructure.console.CommandManager: Command [get-destination] init() finished for [1] ms 2014-08-18 15:54:00,038 INFO  [main] com.sap.jpaas.infrastructure.console.CommandManager: Command [get-destination] cleanup() finished for [0] ms 2014-08-18 15:54:00,046 FATAL [main] com.sap.jpaas.infrastructure.console.ConsoleClient: (!) ERROR; SSL error when connecting to https://configapi.hanatrial.onedemand.com/configuration/api/rest; server certificate might be invalid or untrusted com.sap.jpaas.infrastructure.console.exception.ValidationException at com.sap.jpaas.infrastructure.console.command.RemoteCommand.getHttpClient(RemoteCommand.java:97) at com.sap.jpaas.infrastructure.console.command.UnsecuredRemoteCommand.getHttpClient(UnsecuredRemoteCommand.java:57) at com.sap.core.connectivity.config.cmd.ConfigurationConsoleCommand.createHttpClient(ConfigurationConsoleCommand.java:254) at com.sap.core.connectivity.config.cmd.GetAction.download(GetAction.java:79) at com.sap.core.connectivity.config.cmd.GetAction.run(GetAction.java:52) at com.sap.jpaas.infrastructure.console.CommandManager.run(CommandManager.java:295) at com.sap.jpaas.infrastructure.console.CommandManager.run(CommandManager.java:260) at com.sap.jpaas.infrastructure.console.ConsoleClient.run(ConsoleClient.java:235) at com.sap.jpaas.infrastructure.console.ConsoleClient.main(ConsoleClient.java:85) Caused by: com.sap.core.utils.infrastructure.validation.HostValidationException: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at com.sap.core.utils.infrastructure.validation.LandscapeHostValidator.getHttpClient(LandscapeHostValidator.java:304) at com.sap.jpaas.infrastructure.console.command.RemoteCommand.getHttpClient(RemoteCommand.java:95) ... 8 more Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:397) at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:390) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:561) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:776) at com.sap.core.utils.infrastructure.validation.LandscapeHostValidator.getHttpClient(LandscapeHostValidator.java:284) ... 9 more
    BR
    Beata

    Hi Beata,
    The CRM scenario is working again. We had to re install the Connector and deploy a new proxy app.
    Therefore you would need to download the code from the GitHub repository again. The changes you need to do on your side:
    1. Redeploy the new crm__public destination file - the updated destination now points to the new location of the proxy application
    2. Update the code of the registration form scripts (form.js and form.spec.xml).
    Regards,
    Ido

  • Live Office Error when connecting to SAP BW data (Offline dashboard)

    Hi experts,
    we have built up an Live Office connection to SAP BW query data to create a dashboards, which can show the data also in offlne mode. We are using exactly the same procedure as recommanded by Ingo Hilgofort in [End-to-End Scenarios With Xcelsius 2008|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/90ad73b1-506c-2b10-9e9b-9fde523f010a].
    When trying to refresh the Live Office connection using the "Refresh" button in the dashboard we receive the error LO 26301: The current refresh option requires a report instance that does not exist.
    The recommended action is: Change the refresh option of the object or use the CMC to schedule a new instance.
    But creating an instance of the dashboard is not possible. What is meant by that? Is it necessary that we embed the Xcelsius flash into a PDF or a Crystal Report? What are our alternatives?
    Best regards,
    Sebastian

    Sebastian Koeffer wrote:
    Hi Gowda,
    >
    > an instance of the report did not solve our problems. Even if it does, this is not our preferred solution. Anyway we would like to prefer to use the direct universe connection (Create new universe query) instead of linking to a Webi or Crystal report.
    >
    > Best regards,
    > Sebastian
    Hi  Gowda Timma Ramu,
    i create an instance of report by USER1...  and.....  dashboard is pointed to latest instance.
    when i refresh a dashboard (by clicking on refresh button) it requires login to infoview ... i login to infoview by USER 2 not by USER1.....
    it showing an error
    _The current refresh option requires a report instance that does not exist. (LO 26301)_
    Note:-But data is changing in dashboard
    any solution for solving this error.
    Its urgent...
    Thank You.

  • Error: when connecting to SAP XI to Mysql database server.

    Hi,
    I am getting this error when am trying to connect SAP XI to Mysql server.
    Can any body tell me how to resolve this error.
    Error during database connection to the database URL 'jdbc:mysql://172.17.120.98:3306/portal' using the JDBC driver 'com.mysql.jdbc.Driver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:mysql://172.17.120.98:3306/portal': SAPClassNotFoundException: com.mysql.jdbc.Driver'
    My Databse connection variables as listed below.
    JDBC Driver:com.mysql.jdbc.Driver
    Connection: jdbc:mysql://localhost:3306:portal

    Hi,
    Check wheather JDBC driver for mysql is intalled in your J2ee engine or not. Plz find the threads below.
    http://blog.chinaunix.net/u1/54114/showart_972697.html
    Re: After Delpoying drivers
    also go over the note:
    Note 831162 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 JDBC Adapter
    Note 941317 - known incompatibilities,
    Thanks,
    Venky

  • HPUX on IA64: Error when connecting to SAP via librfc

    Hello,
    I'm trying to develop a C-program to call ABAP-Functions. On Windows this works fine (example program from the book "SAP-Schnittstellenprogrammierung" by Meiners/Nüßer), but on HP-UX on IA64 I get:
    **** Trace file opened at 20060919 115449 MESZ SAP-REL 700,0,61 RFC-VER 3 834459
    resize I/O buffer to 16000 bytes
    >>>> [1] <unknown>    : EXT  <ac: 1> L w2sap >>> OPEN  
    UUID: ab_drvstate create uuid {450FBE6A-BE69-25F1-E100-0000C06D4F88}
    ======> Connect to SAP gateway failed
    Connect_PM  GWHOST=w2sap, GWSERV=sapgw00, SYSNR=00
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       internal error
    TIME        Tue Sep 19 11:54:49 2006
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -1
    MODULE      nixxi.cpp
    LINE        2762
    DETAIL      NiICheckPendConnection
    SYSTEM CALL poll, getsockopt
    ERRNO       2050
    COUNTER     3
    >>>> [1] <unknown>    : EXT  <ac: 2> L w2sap >>> CLOSE abrfcio.c 611 
      -{450FBE6A-BE69-25F1-E100-0000C06D4F88}
    ==== Delta 0   0 LOG DROPPED
    >>> RfcOpenEx ...
    Got following connect_param string:
       CLIENT=000 USER=BCUSER PASSWD=******* LANGUAGE=DE ASHOST=w2sap SYSNR=00 ABAP_DEBUG=0 LCHECK=0 TRACE=1 USE_SAPGUI=0
    <<< RfcOpenEx failed
    I presume it has something to do with 32/64 Bit, because we also had problems with our own programs. On HPUX socklen_t is 64 bit (parameter of getsocket), and perhaps librfc thinks, it only has 32 bit and give an int as parameter.
    Is there anything I can do?
    Thx.
    Roger

    I am also getting this error when using VitalStream. Was an
    answer ever found this this issue? If anybody has any suggestions,
    all help is appreciated.
    Error #2044: Unhandled AsyncErrorEvent:. text=Error #2095:
    flash.net.NetConnection was unable to invoke callback streamInfo.
    error=ReferenceError: Error #1069: Property streamInfo not found on
    mx.controls.videoClasses.NCManagerConnectClient and there is no
    default value.
    at mx.controls.videoClasses::NCManager/::connectRTMP()
    at mx.controls.videoClasses::NCManager/connectToURL()
    at mx.controls.videoClasses::VideoPlayer/::_load()
    at mx.controls.videoClasses::VideoPlayer/load()
    at mx.controls::VideoDisplay/load()
    at mx.controls::VideoDisplay/::autoPlaying()
    at mx.controls::VideoDisplay/::creationCompleteHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()
    CODE
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Panel title="VideoDisplay Control Example"
    height="75%" width="75%"
    horizontalAlign="center"
    paddingTop="10" paddingLeft="10" paddingRight="10"
    paddingBottom="10">
    <mx:Text width="75%" color="blue"
    text="Use the buttons to control the video. The Stop button
    resets the video to the beginning."/>
    <mx:VideoDisplay
    id="myVid"
    height="158"
    width="211"
    source="rtmp://LINK REMOVED"
    autoPlay="false"/>
    <mx:HBox>
    <mx:Button label="Play" click="myVid.play();"/>
    <mx:Button label="Pause" click="myVid.pause();"/>
    <mx:Button label="Stop" click="myVid.stop();"/>
    </mx:HBox>
    <mx:HBox>
    <mx:Label text="{myVid.bytesLoaded} of
    {myVid.bytesTotal}" />
    <mx:Label text="{myVid.playheadTime} of
    {myVid.totalTime}" />
    </mx:HBox>
    </mx:Panel>
    </mx:Application>
    Text

  • Error when connect to SAP with JCo Connector on linux

    Dear all,
    Please, i need help. i was tray to connect to SAP with SAP JCo on linux ubuntu, but i have an error.
    this is the error :
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
    Connect_PM  GWHOST=myhost, GWSERV=sapgw00, ASHOST=myhost, SYSNR=00
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       hostname 'avatar-bumi' unknown
    TIME        Thu Feb 14 15:25:48 2008
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -2
    MODULE      niuxi_mt.c
    LINE        388
    DETAIL      NiPGetHostByName2: hostname 'avatar-bumi' not found
    SYSTEM CALL gethostbyname_r
    ERRNO       110
    ERRNO TEXT  Connection timed out
    COUNT
            at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native Method)
            at com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(MiddlewareRFC.java:1125)
            at com.sap.mw.jco.JCO$Client.connect(JCO.java:3138)
            at sapjco.Main.main(Main.java:34)
    Exception in thread "main" com.sap.mw.jco.JCO$Exception: (121) JCO_ERROR_NULL_HANDLE: Invalid rfc_handle = NULL encountered
            at com.sap.mw.jco.rfc.MiddlewareRFC.nativeGetAttributes(Native Method)
            at com.sap.mw.jco.rfc.MiddlewareRFC$Client.getAttributes(MiddlewareRFC.java:1233)
            at com.sap.mw.jco.JCO$Client.getAttributesInternal(JCO.java:2940)
            at com.sap.mw.jco.JCO$Client.getAttributes(JCO.java:2994)
            at sapjco.Main.main(Main.java:38)
    How to resolve this error....
    Regards,
    Lisa
    Edited by: Lisa Yanti on Feb 14, 2008 9:35 AM

    I was resolve this error by my self.
    We can handle this error with registering our current IP and host name on /etc/hosts.
    example:
    content of /etc/hosts:
    127.0.0.1 localhost
    127.0.1.1 myhost.workgroup
    The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    added the ip and host name to be like this configuration
    127.0.0.1 localhost
    127.0.1.1 myhost.workgroup
    172.20.17.74 myhost
    The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts

  • Error when connecting a sap machine with another sap machine

    Hello,
    Sap machine 'A' calls the object bus2010 of sap machine 'B'. I indicate in the call the system logic and destination RFC. System logic and destination RFC are OK in both systems. When calling the system 'B' an error 'Expected error in SP client' appears.
    Best regards,
    Vanesa

    Hi Samid,
    The issue related with your host entries under /etc/hosts file .
    java.net.UnknownHostException: sapsleora: sapsleora
    The exception is really saying is that there is no known server with the name "local".As per me you're trying to connect to your local computer. Try with the hostname "localhost" instead, or perhaps 127.0.0.1/::1
    Your host file entries would be like as below:
    127.0.0.1   localhost.localdomain   localhost
    <IP-address of your server>   <hostname of your system>
    Save the host file & retry the SWPM.Hope this time you'll get the successful execution.
    Regards,
    Gaurav

  • Error when connecting to system

    Hi,
    I have been off topic for quite a while and when I wanted to pick up today, I couldn't connect to the HANA server anymore. I haven't changed any settings since last setup, all I get is the "Error when connecting to system" in the Quick Lauch of the infornation modeler.
    Any suggestions?
    THX
    Markus

    Hello,
    did you connect since upgrade to SP03?
    You might be looking for this thread.
    SAP In-Memory Developer Center - planned downtime 2011-11-15, 10-11am PST
    Tomas

  • Error when connecting to terminal

    Hello,
    I have a BB 8100, Desktop manager 4.6.
    Synchronization was working correctly 3-4 weeks ago.
    Today, when I tried to synchronize, I had this error message:
    0 x 80040fb3
    I tried to debug this with the procedure of modifying Last name, first name, etc.... with no success
    I tried several time to synchronize again but without success.
    Now, the situation is even worse!
    New message when I connect my BB to my computer. When I launch Desktop manager, I have the following error:
    "Error when connecting to terminal. Make sure that your terminal is correctly connected, then try again"
    I can not anymore try to synchronize!
    This is very strange, it never happened before.
    Nevertheless, Desktop Manager recognize my BB, as I can read on the buttom left part of the screen: Terminal connected (code Pin) recognized xxxxxx.
    HELLLLP!
    Thanks
    Solved!
    Go to Solution.

    Hello RianaZaire,
    Unfortunately, I still have the same error Message.
    I have not been able to solve the situation.
    I reinstall twice the software.
    I tried to connect my Blackberry to my computer with a new cable.
    I still have the same error message.
    I don't know what to do.
    Maybe somebody will read our messages, and help us!
    Maybe this information has a link with my blackberry problem:
    I also have a problem with an another device. (a TOMTOM GPS system), which happened almost at the same time.
    Usually, when I connect this device, it will directly open the GPS sofware ( where I can download the new updating stuff). But since this Blackberry problem, I can not do it anymore. Impossible to connect the TOMTOM onto it. It is not recognize onto my computer.
    For information, I also do synchronization of my adress book between my phone and TOMTOM.
    HELP HELP

  • Error when connecting to portal from some machines

    Hi all,
    Can anyone help me with this.
    I get this jserver error when connecting to portal from some
    client machines.
    I works fine from the others. Any ideas?
    This is the error I get:
    [08/01/2002 17:41:57:618 GMT+00:00] page/Timeout occurred,
    label=73 url=http://odeceixe:81/pls/portal30/!
    PORTAL30.wwpro_app_provider.execute_portlet time=15828ms
    [08/01/2002 17:41:57:618 GMT+00:00] page/ContentFetcher
    Unexpected Exception, name=content-fetcher5
    java.io.EOFException: Premature EOF encountered
         at HTTPClient.StreamDemultiplexor.read
    (StreamDemultiplexor.java, Compiled Code)
         at HTTPClient.RespInputStream.read(RespInputStream.java,
    Compiled Code)
         at java.io.InputStream.read(InputStream.java:95)
         at java.io.InputStreamReader.fill
    (InputStreamReader.java:163)
         at java.io.InputStreamReader.read
    (InputStreamReader.java:239)
         at oracle.webdb.page.ContentFetcher.run
    (ContentFetcher.java, Compiled Code)

    Did you ever find the cause of this, I am receiving the same message, but as you said, only when connecting to the portal via a certain pc.

  • Error when connecting to MDM from different lan

    Hi,
    I got "Image Server Login Error" when connecting with client to server from different LAN, server is up, and i can connect to it when i in the same LAN. Ports 20003, 20004, 20005 for MDM server discovering and repository port 2345 is accessible through router. Running SP2 5.5.24.06.
    Rem: it's not a port problem, when port 2345 is closed i got "WinSock error on connect"
    PS: When I used MDM SP1 i connected to him properly in the same case.

    Hi Dmitry,
    If your repository is set to port 2345, then 4 subsequent ports should be openned also, i.e. 2346-2349.
    Regards, Lev

  • Error When connecting proxy

    Hi,
    When I try to connect proxy in application, it is not connecting instead when I check whether it is going through proxy or not it is telling that it is establishing direct connection only. Here I have posted part of the coding. Please If any error give me a hint.
                System.setProperty("ProxySet", "true");
                SocketAddress addr = new InetSocketAddress("webcache.mydomain.com",80);
                proxy=new Proxy(Proxy.Type.HTTP,addr);here in this code part I am checking whether is connecting with proxy or not.
    URL u = new URL(url);
    URLConnection uu=u.openConnection(ScrapperInterface.proxy);
    try
                    URI uuu = uu.getURL().toURI();
                    List l=ProxySelector.getDefault().select(uuu);
                    for (Iterator iter = l.iterator(); iter.hasNext(); )
                         Proxy proxy = (Proxy) iter.next();
                         System.out.println("proxy hostname : " +proxy.type());
                         InetSocketAddress add = (InetSocketAddress)proxy.address();
                         if(add == null)
                             System.out.println("No Proxy");
                         else
                             System.out.println("proxy hostname : " +add.getHostName());
                             System.out.println("proxy port : " +add.getPort());
    catch (URISyntaxException ex)
                    Logger.getLogger(StartThread.class.getName()).log(Level.SEVERE, null, ex);
    }Output is:
    proxy hostname : DIRECT
    No Proxy

    Re: Error When connecting proxy You didn't get any error when you created the connection. Your title is misleading. Probably you are misleading yourself - see below.
    System.setProperty("ProxySet", "true");That does nothing. There is no such property, contrary to widespread belief.
    SocketAddress addr = new InetSocketAddress("webcache.mydomain.com",80);
    proxy=new Proxy(Proxy.Type.HTTP,addr);... and using java.net.Proxy has nothing to do with system properties in any case.
    URLConnection uu=u.openConnection(ScrapperInterface.proxy);Here you are opening a URLConnection via the proxy. As you got output from the code further down it is clear that this step must have succeeded. So all the code below is pointless.
    URI uuu = uu.getURL().toURI();Here you are getting the URI you created the connection for.
    List l=ProxySelector.getDefault().select(uuu);Here you are getting the Proxies the default ProxySelector would have given you for that URI. Nothing to do with the URLConnection you created, and nothing to do with the Proxy you created either.
    InetSocketAddress add = (InetSocketAddress)proxy.address();So here you are testing the proxy address for the system's default proxy for that URI. Again, nothing to do with what you did above.
    What you should be doing here is using the URLConnection you have already created. Not testing an address.

  • Getting the error while connection to SAP Server

    Hi,
        I am getting the below mentioned error while connection to SAP Sever using SAP.Net Connector.   What could be the possible reason?
    "<i>
    <b>Connect to SAP gateway failed
    Connect_PM  GWHOST=ia2-ms.boi.hp.com, GWSERV=sapgw01, ASHOST=ia2-ms.boi.hp.com, SYSNR=01
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       partner not reached (host 15.78.80.31, service 3301)
    TIME        Fri Feb 02 11:10:35 2007
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -10
    MODULE      nixxi_r.cpp
    LINE        8716
    DETAIL      NiPConnect2
    SYSTEM CALL SiPeekPendConn
    ERRNO       10061
    ERRNO TEXT  WSAECONNREFUSED: Connection refused
    COUNTER</b>
    </i>"

    Hi
    The gateway monitor is used to analyze and administer the SAP Gateway from outside the SAP System.  The profile you assign to it must be the same as for the gateway. This process has different names:
    UNIX: gwmon
    Windows: gwmon.exe
    more on this.. please go thru  ..
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/bb/9f13c24b9b11d189750000e8322d00/frameset.htm
    hope this info helps!
    with regards,
    raj.
    <i>pls, award points</i>

  • "no ocijdbc11 in java.library.path" error when connecting a TNS database co

    Hi
    "no ocijdbc11 in java.library.path" error when connecting a TNS database connection
    I have the same problem 'error code' when testing the connection to a database although I have an APEX db that connects without a problem.
    I have re downloaded jre & SQL Developer just to ensure all files are where they should be with no luck.
    I've also tried most of the suggestions in various threads.
    Does anyone know what exactly causes this error?
    eg; should I be looking for a file called 'ocijdbc11' & put it into the 'java.library.path' path?
    Can anyone explain to a newbie at db connections what I should do?
    I'm using the 'thin' client as the checkbox is clear & I don't know what path to enter into the correct file to make this work??
    This is & needs to connect as a TNS connection & was working fine until recently, the only change I can think of is a move of files from the 'C' drive but I thought redownloading SQL Developer would slove this.
    Thanks

    When you reinstalled SQL Developer, did you install into a new directory (ie rename or delete the old directory first)?
    I don't know if system setup contains directory references (which might be invalid after moving the location of SQL Developer). Does renaming your system2.1.1.64.45 directory (in C:\Documents and Settings\username\Application Data\SQL Developer) help? Note that your connections are in the connections.xml file in the o.jdeveloper.db.connection.11.1.1.2.36.55.30 subdirectory of system2.1.1.64.45 - you will either need to export connections before renaming and then import again after or copy this file to test if you can connect.
    Finally, the TNS Names directory preference is just a way of telling SQL Developer where to look for the tnsnames.ora file, rather than just assuming it will pick the right one. If you go to create a new connection, do you get the right list of TNS aliases? If not, then set this preference to the directory where the right tnsnames.ora file lives.
    theFurryOne

Maybe you are looking for

  • Parent-child relation between Activities

    Hello, Is it possible to give parent child relationship between Activities within single Project? The requirement is, parent Activity to take part in overall scheduling whereas the Dates for parent Activity are determined by the child Activities atta

  • Creating a magnified detail view of a portion of an image

    I have PSE11 and I am trying to create a magnified cutaway of an area of an image for a tutorial but I cannot find instructions for how to do this for PSE11 anywhere on the web.  I am also not very literate when it comes to the lingo so I would need

  • I am unable to access any of my ebooks in adobe after I had help this morning

    I am unable to access any of my ebooks in adobe after I had help this morning

  • Text in FSV by using alternative COA

    I have created a FSV with alternative account nos. If i run F.01 by giving company code, FSV and by selecting alternative account no., only i am able to get the alternative gl account no. in item text coloumn, i am not getting the text alongwith no.

  • Preview Generation Crashes Aperture 3

    I imported 3,500 NEF's and Aperture 3 crashes trying to generate previews, It does this as soon as it starts up so it's unusable at the moment. This is exactly the kind of thing that pushed me to Lightroom. I know this is .0 release but this must hav