Attempt to establish a connection via NiConnect has failed

Hi
We recently migrated from Windows to UNIX.
The RFC destination between SAP to XI, was working fine before migration and after migration it is not working.
I checked the System log using SM21.
Following are the error details
"The attempt to establish a connection via NiConnect has failed.  The
following system log entries specify the NiConnect parameters.
Check whether the target system or the target gateway are active."
When we test connection from SM59
Following are the error details
"Connection Error
Error when opening an RFC connection
ERROR: service 'SAPGW00' unknown
LOCATION: SAP-Gateway on host DEVSRV / sapgw00
DETAIL: NiHsLGetServNo: service name cached as unknown
COMPONENT: NI (network interface)
COUNTER: 6511
MODULE: nixxhsl.cpp
LINE: 776
RETURN CODE: -3
SUBRC: 0
RELEASE: 700
TIME: Tue Jun  2 11:35:31 2009
VERSION: 38
Can you pls help
Regards
Madhan D

Have you specified correct gateway information in SM59 because it looks like sap gateway is incorrect..
thanks sunny

Similar Messages

  • Excel SSAS Tabular error: An error occurred during an attempt to establish a connection to the external data source

    Hello there,
    I have an Excel report I created which works perfectly fine on my dev environment, but fails on my test environment when I try to do a data refresh.
    The key difference between both dev and test environments is that in dev, everything is installed in one server:
    SharePoint 2013
    SQL 2012: Database Instance, SSAS Instance, SSRS for SharePoint, SSAS POWERPIVOT instance (Powerpivot for SharePoint).
    In my test and production environments, the architecture is different:
    SQL DB Servers in High Availability (irrelevant for this report since it is connecting to the tabular model, just FYI)
    SQL SSAS Tabular server (contains a tabular model that processes data from the SQL DBs).
    2x SharePoint Application Servers (we installed both SSRS and PowerPivot for SharePoint on these servers)
    2x SharePoint FrontEnd Servers (contain the SSRS and PowerPivot add-ins).
    Now in dev, test and production, I can run PowerPivot reports that have been created in SharePoint without any issues. Those reports can access the SSAS Tabular model without any issues, and perform data refresh and OLAP functions (slicing, dicing, etc).
    The problem is with Excel reports (i.e. .xlsx files) uploaded to SharePoint. While I can open them, I am having a hard time performing a data refresh. The error I get is:
    "An error occurred during an attempt to establish a connection to the external data source [...]"
    I ran SQL Profiler on my SSAS Server where the Tabular instance is and I noticed that every time I try to perform a data refresh, I get the following entries:
    Every time I try to perform a data refresh, two entries under the user name ANONYMOUS LOGON.
    Since things work without any issues on my single-server dev environment, I tried running SQL Server Profiler there as well to see what I get.
    As you can see from the above, in the dev environment the query runs without any issues and the user name logged is in fact my username from the dev environment domain. I also have a separated user for the test domain, and another for the production domain.
    Now upon some preliminary investigation I believe this has something to do with the data connection settings in Excel and the usage (or no usage) of secure store. This is what I can vouch for so far:
    Library containing reports is configured as trusted in SharePoint Central Admin.
    Library containing data connections is configured as trusted in SharePoint Central Admin.
    The Data Provider referenced in the Excel report (MSOLAP.5) is configured as trusted in SharePoint Central Admin.
    In the Excel report, the Excel Services authentication settings is set as "use authenticated user's account". This wortks fine in the DEV environment.
    Concerning SecureStore, PowerPivot Configurator has configured it the PowerPivotUnnattendedAccount application ID in all the environments. There is
    NO configuration of an Application ID for Excel Services in any of the environments (Dev, test or production). Altough I reckon this is where the solution lies, I am not 100% sure as to why it fails in test and prod. But as I read what I am
    writing, I reckon this is because of the authentication "hops" through servers. Am I right in my assumption?
    Could someone please advise what am I doing wrong in this case? If it is the fact that I am missing an Secure Store entry for Excel Services, I am wondering if someone could advise me on how to set ip up? My confusion is around the "Target Application
    Type" setting.
    Thank you for your time.
    Regards,
    P.

    Hi Rameshwar,
    PowerPivot workbooks contain embedded data connections. To support workbook interaction through slicers and filters, Excel Services must be configured to allow external data access through embedded connection information. External data access is required
    for retrieving PowerPivot data that is loaded on PowerPivot servers in the farm. Please refer to the steps below to solve this issue:
    In Central Administration, in Application Management, click Manage service applications.
    Click Excel Services Application.
    Click Trusted File Location.
    Click http:// or the location you want to configure.
    In External Data, in Allow External Data, click Trusted data connection libraries and embedded.
    Click OK.
    For more information, please see:
    Create a trusted location for PowerPivot sites in Central Administration:
    http://msdn.microsoft.com/en-us/library/ee637428.aspx
    Another reason is Excel Services returns this error when you query PowerPivot data in an Excel workbook that is published to SharePoint, and the SharePoint environment does not have a PowerPivot for SharePoint server, or the SQL Server Analysis
    Services (PowerPivot) service is stopped. Please check this document:
    http://technet.microsoft.com/en-us/library/ff487858(v=sql.110).aspx
    Finally, here is a good article regarding how to troubleshoot PowerPivot data refresh for your reference. Please see:
    Troubleshooting PowerPivot Data Refresh:
    http://social.technet.microsoft.com/wiki/contents/articles/3870.troubleshooting-powerpivot-data-refresh.aspx
    Hope this helps.
    Elvis Long
    TechNet Community Support

  • TS3899 the connection to server has failed

    I have tried deleted the email accounts registered to both my phone and ipad and reinstalling them. I've also switched off both devices by the hard reset. I've deleted all of my mail and I am still getting this 'the connection to server has failed' when i go into the mail app, and when i try to send an email it doesnt allow me either. I am not a techie - what else can i do?

    Hello Madi_kay2030,
    I recommend this article to help troubleshoot what might be happening.
    iOS: Unable to send or receive email
    http://support.apple.com/kb/ts3899
    The symptoms described a a bit different than what you describe but the troubleshooting is relevant.
    Restart the iOS device.
    Tap Safari and attempt to load a webpage to ensure that the device has Internet access. If you're unable to load a webpage, try the Wi-Fi assistant.
    Try an alternative Internet connection.
    If your email is provided by your Internet provider, try connecting from the home network.
    If your iOS device has an active cellular data plan, try to disable Wi-Fi:  Tap Settings > Wi-Fi and turn off Wi-Fi.
    If not, try a different Wi-Fi network.
    Log in to your email provider's website to ensure that the account is active and the password is correct.
    Delete the account from Settings > Mail, Contacts, Calendars and then add the email account again on the iOS device.
    If you're still unable to send or receive email, contact your email provider and verify the account settings are correct. You will need to gather this information (PDF).
    Additional Information
    Using more than one device to check the same POP email account may create a lock-out issue that is easily resolved.
    Regards,
    Sterling

  • Connection to server has failed on my email account, why ?

    connection to email has failed although I have a strong wifi connection, why

    I have exactly the same problem.
    I exchanged my iphone 4 to a 4S at the Apple store with data uploaded via icloud.
    I am connected to the internet and all my email accounts operate accept for one gmail account that gets the message "The connection to the server failed".
    I can access the account from my ipad but not fron the iphone. The other Gmail account operates perfectly. I can still use my old iphone to access this gmail account. It is just that it will not work on the new iphone 4S. I have made settings the same in both iphones. HELP

  • RasClient:dialed a connection named "VPN Connection Name " which has failed. The error code returned on failure is 789 on windows 8.1

    Hello,
    i am trying to connect to my corporation VPN Server " ISA 2006" using windows 8.1 client built in VPN,  but its returned the following error:
     Event ID 20227: dialed a connection named "VPN connection Name" which has failed. The error code returned on failure is 789.
    VPN connection is working fine with windows XP and windows 7 with no issue , this error is only appear when try to connect to using windows 8 client machine.
    this error is shows only on windows 8.1 client , same procedures used to enroll the certificate from internal CA " IPsec Type" is followed .
    below are the  ISA server specifications:
    VPN Server : ISA 2006.
    windows Server version 2003. 
    appreciate your quick help and reply .
    Thanks

    Thanks for your reply.
    i would like to add another point for this case, that when we are trying to enroll a certificate from internal CA web enrollment directly using windows 8 " internet explorer 11"  , its install a certificate without Digital
    Signature and non-repudiation in key usage property, then when try to connect , its will give the above error 789 ..
    when try to enroll a certificate into windows 7 " internet explorer 10" and then export and import  this certificate into windows 8.1 machine "with the name of
    windows 8.1 machine" into windows 8.1 machine, the VPN is working normally and without issue.
    The properties of the Certificate are difference between windows 7 machine and windows 8 machine is key usage missing the Digital Signature and non-repudiation properties when enroll
    from windows  8.1 " internet explorer 11", this is in fact because of
    we don't have an option for key usage " both" when subment a certificate on web enrollment page from windows 8 machine ,, the only option available is exchange "
    no signature and both option available "
    i believe that there is something wrong when using windows 8.1 internet explorer 11 so its gave a certificate with wrong key usage property .
    appreciate your quick help in this .
    thanks

  • How to resolve "connection to server has failed"?

    How do you resolve "connection to server has failed" when you access your email.

    Quit the mail app completely and reboot the iPad.
    From yoyr home screen - Double tap the home button and the recents tray will appear with all of your recent apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the mail app. Tap the home button or anywhere above the task bar.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    Launch mail again and see of you can access your email.
    If that doesn't work, turn mail off, restart your iPad, turn mail on again and try again. Settings>Mail, Contacts, Calendars>Your email account>Mail>Off. After you restart the iPad, follow that route back to turn mail on again.

  • I have internet connection but my incoming email does not appear.  When I try to access new email it says, " connection to server has failed"  Help

    I have internet connection but myh incoming email does not appear.  When I try to access new emails it says, "connection to server has failed".  Help

    What did your email provider say about it when you contacted them?

  • DTW - Connection to server has failed

    I am trying to use DTW to import to SAP B1 2007A SP:00  PL:15 and am getting a "Connection to server has failed" error message - error code 100000000008, Licence does not exist.

    Ian,
    Make sure the SAP license server is running. You can check this in the Service Manager running on the Task Bar.  If not go to All programs > SAP folder  > Server Tools > Service manager.
    Also check the user id you are using to log into DTW has the license set inside SAP.
    Suda

  • Ethernet connection to iMac has failed

    I have 4 year old iMac running Yosemite and connected via ethernet to a Verizon Fios router.  All has functioned well until yesterday when the ethernet connection failed.  I can still connect via wifi if I unplug the ethernet cable.  With the cable plugged in I get a yellow indicator for both ethernet and wifi. Unplugging the cable lets the wifi signal to turn green and connect.
    What is wrong with the ethernet connection and how do I test and fix it?  I tried another cable which did not fix the problem.
    Thanks, AHCMac

    When the ethernet is plugged in does the connectivity light go on.. at least on the router.. Macs are not sophisticated enough to have connectivity light I guess.
    Do you have anything else in the house connected by ethernet?
    Or something you could test and prove the issue is Mac not router??
    If the Mac is the issue.. go to the ethernet configuration .. give me a couple of screenshots.
    Try setting the speed down.. by changing to manual configuration.. and set to 100mbit or even 10mbit..

  • VPN connect via menu extra fails, but works via prefpane - anybody else?

    Is anybody out there with the same symptom, getting an error message when trying to establish a VPN connection via VPN menu extra but being able to connect properly via networking prefpane? Would be interesting to know if this could be a bug worth sending a report to Apple...
    PB G4, Mac OS X 10.5.5

    Tim, you made it. Another example for that famous tricky problems after OS migration. I had the VPN prefs already on Mac OS X 10.4 and trusted them on Mac OS X 10.5 after their automatic
    adoption too...
    Thx mate!

  • Problem to establish good connection via ms sql jdbc on ms sql server expre

    Hi ,
    I had error below in testing connection on stand alone db server ms sql server 2005 express edition:
    Method=cursor;
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]End of stream
    was detected on a read.
    at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source
    at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Sour
    ce)
    at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Sou
    rce)
    at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown S
    ource)
    at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
    at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at Connect.getConnection(Connect.java:28)
    at Connect.displayDbProperties(Connect.java:45)
    at Connect.main(Connect.java:82)
    at Connect.main(Connect.java:82)
    Error Trace in getConnection() : [Microsoft][SQLServer 2000 Driver for JDBC]End
    of stream was detected on a read.
    Error: No active Connection
    I got this error in lauching the codes :
    import java.sql.*;
    * Microsoft SQL Server JDBC Test1 program
    public class Test1 {
    public Test1() throws Exception {
    // Get connection
    DriverManager.registerDriver(new
    com.microsoft.jdbc.sqlserver.SQLServerDriver());
    Connection connection = DriverManager.getConnection(
    "jdbc:microsoft:sqlserver://SERGE_TCHITEMBO:1433;databaseName=AutClust","autoclust","clust");
    if (connection != null) {
              System.out.println();
              System.out.println("Successfully connected");
              System.out.println();
              // Meta data
              DatabaseMetaData meta = connection.getMetaData();
              System.out.println("\nDriver Information");
              System.out.println("Driver Name: "
              + meta.getDriverName());
              System.out.println("Driver Version: "
              + meta.getDriverVersion());
              System.out.println("\nDatabase Information ");
              System.out.println("Database Name: "
              + meta.getDatabaseProductName());
              System.out.println("Database Version: "+
              meta.getDatabaseProductVersion());
    }// Test1
    public static void main (String args[]) throws Exception {
    Test1 Test1 = new Test1();
    I google this error but i did find response.
    Please could help me.
    Vovo.

    This is a database sever side forum. Your problem is client side db driver connectivity (the connection does not even reach the database from your description).
    Thus I doubt that you will have much luck in getting the problem resolved here. I suggest you try a client language/driver forum instead.
    Side note: I would add a test method to the code that takes IP/hostname and port as input, and then simply attempts a tcp socket open with these parameters. If socket connect works, close it and return a success. Else return a fail. Call this with the IP/hostname of the db server and port number of the server's listener (default 1521). Easy method to test network connectivity from client device to database server, without using any JDBC driver class and dealing with issues such as app protocol version differences and so on.

  • Firefox 4 recently downloaded will not create a dial up window. The only way I can get it to work is by establishing a connection via oulook. Firfox then works fine. How do I get Firefox 4 to reqest a dial up window

    Since we downloaded Firefox 4 we have only been able to connect to the internet by using the dial up of outlook. Once connected in this way Firefox 4 works fine.
    We have zone alarm firewall and NOD32 antivirus.

    I have now managed to get AX working on my BT home hub. I took my second non-working unit back to Apple in Solihull and got them to test it in store. They agreed it wasn't working. They then tested another unit in store and that did work so I brought that home. It would be worth you doing the same as I got a 10% discount off my next purchase of anything at Apple for my troubles.
    I set my homehub security to None (from WEP - in homehub manager/advanced/wireless/security), plugged in my AX to homehub using an ethernet cable, then ran Airport utility and after a couple of runs it finally picked it up. I was able to set the configurations I wanted and 24 hours later it is still working. I set my homehub security settings back to WEP as soon as the AX was configured.
    I also installed airport utility on my son's windows laptop and that is now able to print wirelessly as well. So, finally a result.
    I would suggest you take your unit back to where you bought it from and get them to test it. If they offer you another one ask for a Mac genius
    to test it in store for you first. Also ask them to run through the installation procedure with you. Don't forget to ask for something for your troubles:)
    Hope that helps,

  • TS3899 I am unable to view my Mail box on my ipad and my iphone, it keeps popping up with a message saying "connection to server has failed" Can anyone help?

    This has only happened since I started using Icloud on my Ipad and Iphone!

    Hi lukioxx!
    You may need to try troubleshooting this issue according to the troubleshooting steps found in the following article:
    iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues
    http://support.apple.com/kb/ts1717
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • LDAP connection via SSL is failing

    Hi,
    I am using following code to connect to LDAP
    Hashtable env = new Hashtable();
    env.put("java.naming.factory.initial", "com.sun.jndi.ldap.LdapCtxFactory");
    env.put("java.naming.provider.url", "ldaps://inpvmwin2k3ads1.VELWINTELLAB.COM"); //change for production, quality
    env.put("java.naming.security.authentication", "simple");
    env.put(Context.SECURITY_PROTOCOL,"ssl");
    env.put("java.naming.security.principal", "sapuser");
    env.put("java.naming.security.credentials", "voda@12345");
    DirContext ctx;
    ctx = new InitialDirContext(env);
    But im getting foll exception
    simple bind failed: inpvmwin2k3ads1.VELWINTELLAB.COM:636
    1) is it because the LDAP is read only mode ?
    2) if I remove ssl and connect without ssl, it is success.
    Kindly help how to overcome this error
    basicaly my requirement is to reset password of LDAP user thru my code
    thank you in advance
    B

    Hi,
    I am using following code to connect to LDAP
    Hashtable env = new Hashtable();
    env.put("java.naming.factory.initial", "com.sun.jndi.ldap.LdapCtxFactory");
    env.put("java.naming.provider.url", "ldaps://inpvmwin2k3ads1.VELWINTELLAB.COM"); //change for production, quality
    env.put("java.naming.security.authentication", "simple");
    env.put(Context.SECURITY_PROTOCOL,"ssl");
    env.put("java.naming.security.principal", "sapuser");
    env.put("java.naming.security.credentials", "voda@12345");
    DirContext ctx;
    ctx = new InitialDirContext(env);
    But im getting foll exception
    simple bind failed: inpvmwin2k3ads1.VELWINTELLAB.COM:636
    1) is it because the LDAP is read only mode ?
    2) if I remove ssl and connect without ssl, it is success.
    Kindly help how to overcome this error
    basicaly my requirement is to reset password of LDAP user thru my code
    thank you in advance
    B

  • Cannot get mail the connection to server has failed

    cannot get mail - the connection to server ha failed

    Ensure you have a active interenet connection, once thats verified and the problem still exists. Go into settings>Mail,Contacts,Calender click on the account in question, delete it, then re-add it.

Maybe you are looking for

  • How to change marker size in line graphs

    Hello, I'm using line graph and i show markers for the user know where to see a tooltip. I observed that the line markers are very big and clutter my graph when points are very close one anothers. I would like to make them smaller, but I don't know h

  • What ADF object to use if a barcode wedge is used to enter a search form

    I'm using JDeveloper 10.1.3 and was wanting to find out what is the best way to design a form where the user will use a barcode wedge to scan in a item number. The wedge can be programmed to do a enter one the item is scanned in. Once the item is sca

  • [solved]Erro while opening emacs and playing mplayer

    i install thunderbird and after that i got this error  and wallpaper disapper and its now opeing the emacs mplayer: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory whts wrong with it.....

  • HT1386 Why do I see the Music icon with an arrow on my IPhone

    I am having a hard time with my iTunes. When I connect to the internet it shows an arrow toward the iTunes logo. It seems to be locked. Help? Thank You!!

  • No "Load Earlier Messages" when using iMessage

    i send a lot of messages via normal sms and imessage on Normal sms there is a load earlier messages button when you scroll up to let you see previous messages on imessage there isnt that option, is there a way where i can see all previous imessages s