Connecting SAP with an independent SQL database

Dear all,
I need to connect SAP with an independent MSSQL database.
My requirement is to transfer a set of records from my Ztable to a table in SQL database.
I have maintained the settings in DBCO transaction. I maintained DBMS as 'MSS' in DBCO.
send some sample code of how to establish the connection. Is it possible to write data in to SQL database.
How to edit the file tnsnames.ora in application server directories. I heard that for connecting to an oracle database we need to edit this , is it necessary to edit this tnsnames.ora even for connecting with SQL database?
Thanks in advance.
Lakshman

This is not possible.
My suggestion is that you create shell scripts on the unix side that copy the data to the other database.
ARD runs it's own private copy of PostGgreSQL inside the package so it won't interfer with any other SQL databases on the network or even on the machine.

Similar Messages

  • Steps needed or any guidance to connect SAP with DB2,

    Hi Experts,
    I need detailed steps to connect SAP with DB2 server. If any standard document or any one is having any docs / hints can provide , it would be a great help to me.

    Hello Mamata,
    If your current ECC 6.0 is also on DB2/400, you can use DBCO - outlined in the following blog.
    /people/sap.user72/blog/2006/08/31/configure-dbco-database-multiconnect-on-ibm-i5iseries
    If the retail business can be moved to SAP solution, plain SAP RFC just works fine. If not, you can install a SAP gateway instance on DB2.
    There are many options. It could be hard to identify the best choice without a detailed review/analysis.
    Best regards,
    Victor

  • A project which specifies SQL Server 2012 as the target platform may experience compatibility issues with Microsoft Azure SQL Database.

    Hello
    When I try to publis my asp.net application in azure, i have the next error:
    >C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.targets(4253,5): Warning : A project which specifies SQL Server 2012 as the target platform may experience compatibility issues with Microsoft Azure SQL Database.
    >C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.targets(4253,5): Warning : The project and target databases have different collation settings. Deployment errors might occur.

    Hello
    When I try to publis my asp.net application in azure, i have the next error:
    >C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.targets(4253,5): Warning : A project which specifies SQL Server 2012 as the target platform may experience compatibility issues with Microsoft Azure SQL Database.
    >C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.targets(4253,5): Warning : The project and target databases have different collation settings. Deployment errors might occur.
    Hello,
    This forum is to discuss vb.net issues, your issue is mainly regarding Azure SQL Database, I found that you have posted another thread in that forum
    https://social.msdn.microsoft.com/Forums/azure/en-US/f435921a-14d1-4441-8b2b-32ba3d937aea/a-project-which-specifies-sql-server-2012-as-the-target-platform-may-experience-compatibility-issues?forum=ssdsgetstarted#f435921a-14d1-4441-8b2b-32ba3d937aea.
    I would recommend you focus on that thread to get help.
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Connecting to an external MS SQL Database

    Hi there,
    we are a SaaS business currently running all of our applications on Azure. We now have a few customers in Switzerland and in order to comply with their IT and privacy laws, we have to run the database within Switzerland. Now we can easily get a hosting for
    a MS SQL Database in Switzerland but my question is if it's somehow possible to connect a Windows Azure Website and Web Service to a MS SQL DB outside of Azure? I am aware that the performance will not be the best but I first would like to try to showcase
    the scenario. Any ideas?

    you can have a look at the Azure Hybrid Connect (http://azure.microsoft.com/en-us/documentation/articles/web-sites-hybrid-connection-connect-on-premises-sql-server/)

  • Connecting SAP with Excel (Beginner)

    Hello!
    I'm new to the SAP scripting. On my company we use lots and lots of Excel spreadsheet lists with sales orders and projects, which is why i need to learn to connect those lists with SAP.
    I have a list of sales orders in Excel starting downwards from cell A2 and I want to get the exchange rate on each of the orders from the header of VA03, so that the script copies the currency rate of each sales order next to the order number in the spreadsheet.
    How do i do this? :s
    Thanks, Mattias

    Hi Mattias,
    if you have allready worked with Scripting (Recording) you allready have the way to connect excel with SAP
    To Connect an existing Instance of SAP with Excel you will need this code:
    Public sapsession
    Public Sub Connect_SAP()
    If Not IsObject(SAPguiApp) Then
    Set SAPguiApp = CreateObject("Sapgui.ScriptingCtrl.1")
    End If
    If Not IsObject(sapsession) Then
    Set sapsession = sapConnection.Children(0)
    End If
    If IsObject(WScript) Then
    WScript.ConnectObject sapsession, "on"
    WScript.ConnectObject sapApplication, "on"
    End If
    End Sub
    at end of all action you have to destroy all objects
    Public Sub Destory_SAP()
    set sapsession = nothing
    set sapapplication = Nothing
    set sapGuiapp = Nothing
    End Sub
    PS Look for Threads that have the same Title as yours -
    There are many in this forum ...
    Greetings
    Thomas B

  • Connecting SAP with VB 2010

    Dear gurus
    I'm Using Visual Basic 2010 and i want to connect SAP from my applications.
    I have find that SAP net connector works only on VB 2003 not for upgraded version.
    Can you please guide me
    Regards
    Saad Nisar

    Hi Saad,
    The current NCo version is limited to usage with .NET 1.1 and within VS2003.
    However, there is a by SAP-documented workaround to enable the NCo to also utilize with .NET 2.0 and later runtime context / and within VS2005 and later: [Using SAP Connector for MS .NET (NCO) in Microsoft Visual Studio 2005|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/92333e6b-0b01-0010-9cbf-fecd62d6c895]
    Note also that SAP has a new version of NCo in the pipeline - .NET Connector 3.0 - it might be worth it to try to participate in the beta program. See [SAP announces new release of SAP .NET Connector|http://williamvanstrien.blogspot.com/2010/06/sap-announces-new-release-of-sap-net.html]
    Also see this earlier [post|Re: Which connector to use?]
    Best regards, William.

  • Having an issue with event handling - sql database  & java gui

    HI all, have posted this on another forum but I think this is the correct one to post on. I am trying to construct this hybrid of java and mysql. the data comes from a mysql database and I want it to display in the gui. this I have achieved thus far. However I have buttons that sort by surname, first name, ID tag etc....I need event handlers for these buttons but am quite unsure as to how to do it. any help would be much appreciated. Thanks in advance.
    /* Student Contact Database GUI
    * Phillip Wells
    import java.awt.BorderLayout;     
    // imports java class. All import class statements tell the compiler to use a class that is defined in the Java API.
    // Borderlayout is a layout manager that assists GUI layout.
    import javax.swing.*;               // imports java class. Swing enables the use of a GUI.
    import javax.swing.JOptionPane;     // imports java class. JOptionPane displays messages in a dialog box as opposed to a console window.
    import javax.swing.JPanel;          // imports java class. A component of a GUI.
    import javax.swing.JFrame;          // imports java class. A component of a GUI.
    import javax.swing.JButton;          // imports java class. A component of a GUI.
    import javax.swing.JScrollPane;     // imports java class. A component of a GUI.
    import javax.swing.JTable;          // imports java class. A component of a GUI.
    import java.awt.*;               // imports java class. Similar to Swing but with different components and functions.
    import java.awt.event.*;          // imports java class. Deals with events.
    import java.awt.event.ActionEvent;     // imports java class. Deals with events.
    import java.awt.event.ActionListener;     // imports java class. Deals with events.
    import java.sql.*;               // imports java class. Provides API for accessing and processing data stored in a data source.
    import java.util.*;               // imports java class. Contains miscellaneous utility classes such as strings.
    public class studentContact extends JFrame {     // public class declaration. The �public� statement enables class availability to other java elements. 
    private JPanel jContentPane; // initialises content pane
    private JButton snam, id, fname, exit; // initialises Jbuttons
    String firstname = "firstname"; //initialises String firstname
    String secondname = "secondname"; //initialises String
    public studentContact() {
    Vector columnNames = new Vector();      // creates new vector object. Vectors are arrays that are expandable.
    Vector data = new Vector();
    initialize();
    try {
    // Connect to the Database
    String driver = "com.mysql.jdbc.Driver"; // connect to JDBC driver
    String url = "jdbc:mysql://localhost/Studentprofiles"; //location of Database
    String userid = "root"; //user logon information for MySQL server
    String password = "";     //logon password for above
    Class.forName(driver); //reference to JDBC connector
    Connection connection = DriverManager.getConnection(url, userid,
    password);     // initiates connection
    // Read data from a table
    String sql = "Select * from studentprofile order by "+ firstname;
    //SQL query sent to database, orders results by firstname.
    Statement stmt = connection.createStatement
    (ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
    //statement to create connection.
    //Scroll sensitive allows movement forth and back through results.
    //Concur updatable allows updating of database.
    ResultSet rs = stmt.executeQuery(sql); // executes SQL query stated above and sets the results in a table
    ResultSetMetaData md = rs.getMetaData();     // used to get the properties of the columns in a ResultSet object.
    int columns = md.getColumnCount(); //
    for (int i = 1; i <= columns; i++) {
    columnNames.addElement(md.getColumnName(i));     // Get column names
    while (rs.next()) {
    Vector row = new Vector(columns);          // vectors data from table
    for (int i = 1; i <= columns; i++) {     
    row.addElement(rs.getObject(i));     // Get row data
    data.addElement(row);     // adds row data
    rs.close();     
    stmt.close();
    } catch (Exception e) {     // catches exceptions
    System.out.println(e);     // prints exception message
    JTable table = new JTable(data, columnNames) {     //constructs JTable
    public Class getColumnClass(int column) {     
    for (int row = 0; row < getRowCount(); row++) {
    Object o = getValueAt(row, column);
    if (o != null) {
    return o.getClass();
    return Object.class;
    JScrollPane scrollPane = new JScrollPane( table ); // constructs scrollpane 'table'
    getContentPane().add(new JScrollPane(table), BorderLayout.SOUTH); //adds table to a scrollpane
    private void initialize() {
    this.setContentPane(getJContentPane());
    this.setTitle("Student Contact Database");     // sets title of table
    ButtonListener b1 = new ButtonListener();     // constructs button listener
    snam = new JButton ("Sort by surname");     // constructs Jbutton
    snam.addActionListener(b1);     // adds action listener
    jContentPane.add(snam);          //adds button to pane
    id = new JButton ("Sort by ID");     // constructs Jbutton
    id.addActionListener(b1);     // adds action listener
    jContentPane.add(id);          //adds button to pane
    fname = new JButton ("Sort by first name");     // constructs Jbutton
    fname.addActionListener(b1);     // adds action listener
    jContentPane.add(fname);          //adds button to pane
    exit = new JButton ("Exit");     // constructs Jbutton
    exit.addActionListener(b1);     // adds action listener
    jContentPane.add(exit);          //adds button to pane
    private JPanel getJContentPane() {
    if (jContentPane == null) {
    jContentPane = new JPanel();          // constructs new panel
    jContentPane.setLayout(new FlowLayout());     // sets new layout manager
    return jContentPane;     // returns Jcontentpane
    private class ButtonListener implements ActionListener {     // create inner class button listener that uses action listener
    public void actionPerformed (ActionEvent e)
    if (e.getSource () == exit)     // adds listener to button exit.
    System.exit(0);     // exits the GUI
    if (e.getSource () == snam)
    if (e.getSource () == id)
    if (e.getSource () == fname)
    public static void main(String[] args) {     // declaration of main method
    studentContact frame = new studentContact();     // constructs new frame
    frame.setDefaultCloseOperation(EXIT_ON_CLOSE);     //exits frame on closing
    frame.setSize(600, 300);          // set size of frame
    frame.setVisible(true);     // displays frame
    }

    OK, so you've got this code here:
    private class ButtonListener implements ActionListener {
      public void actionPerformed (ActionEvent e) {
        if (e.getSource () == exit) {
          System.exit(0); // exits the GUI
        if (e.getSource () == snam) {
        if (e.getSource () == id) {
    }Perfect fine way to do this; although I think creating anonymous would be a bit cleaner:
    snam.addActionListener(new actionListener() {
      public void actionPerformed(ActionEvent ae) {
    });But I think that the real question you have is "what do I put for logic when the JButtons are hit?", right?
    I would answer that you want to dynamically build your SQL statement changing your ordering based on the button.
    So you'd have a method that builds the SQL based on what you pass in - so it takes one argument perhaps?
    private static final int NAME = 1;
                             ID = 2;
    /* ... some code ... */
    snam.addActionListener(new actionListener() {
      public void actionPerformed(ActionEvent ae) {
        buildSQL(NAME);
    /* ... some code ... */
    private void buildSQL(int type) {
      if ( type == NAME ) {
    /* ... build SQL by name ... */
      else if ( type == ID ) {
    /* ... build SQL by id ... */
    }That kind of thing.
    Or you might choose to have several build methods with no parameter type; each building the SQL differently, and calling whichever one you need. I did not read your entire pgm, so I don't know how you'd want to organize it. You need to ask more specific questions at that point.
    ~Bill

  • BO Enterprise 3.1 SR3 Installation with existing MS SQL database

    HI Gurus,
    I'm completely new to Business Objects and have been reviewing the installation & planning guides for the installation. I'm hoping to use an existing MS SQL 2008 database as the location for the CMS / Audit. The guides don't really explain in detail the steps to do this, but say this pre-requisite must be in place prior to running the installation.
    The section "Setting up an empty database for the CMS" sumarizes the tasks :-
    create tablespace, schema or database
    create new users/passwords for the CMS / Audit
    specify correct permissions to create.modify,delete tables and to create procedures
    Does anyone know of any further documentation that expands on the above to detail the steps further ?
    or atleast some one could help me step by step in performing steps like creating db, tablespaces, users in MS SQL server. As i have never worked on MS SQL and also with SAP BO.
    Kind Regards,
    Syed Maqsood Ahmed
    Edited by: SYED MAQSOOD AHMED on Jun 17, 2011 2:54 PM

    Hi Brian,
    Have you looked at the XI 3.1 Installation Guide for Unix? This has information specific to Oracle (page 38).
    The PDF is available at:
    https://websmp105.sap-ag.de/~sapidb/011000358700000560472010E/xi3-1_bip_install_unix_en.pdf
    You will need an SMP login to view the PDF.
    Best,
    Srinivas

  • How to load my tree with data from SQL database????

    Hello friends
    May i know how i can load my tree with my database??
    i have 3 different tables and i need them to be the 3 main nodes of my tree
    They are
    1.fiche
    2.amis and
    3.famille
    and in each of these nodes need to load the 3 databases
    thank u in advance

    Heres my program so i loaded my vector ,
    Now how can i integrate the coding u gave me, and where ??
    Is it where i put the quetion mark?
    if so
    can you tell me how?? because i didnt understood well the codings you gave me as im nt at all familiar with this
    Thank you in advance
    public class carnetf extends javax.swing.JFrame  {
       DefaultMutableTreeNode root =null;
        public carnetf() {
           root= new DefaultMutableTreeNode("Carnet");
            DefaultMutableTreeNode tnFiche=new DefaultMutableTreeNode("Fiche");
           root.add( tnFiche);
            DefaultMutableTreeNode tnAmis=new DefaultMutableTreeNode("Amis");
            root.add( tnAmis);
            DefaultMutableTreeNode tnFamille=new DefaultMutableTreeNode("Famille");
            root.add( tnFamille);
           initComponents();
        public Vector vecfiche() {
            Vector v = new Vector();    
            Connection connection = null;
            try
                Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
                DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver());;
            catch (Exception E)
                System.out.println("Unable to load driver.");
                System.out.println(E.getMessage());
                E.printStackTrace();
                return null;
            try
                connection = DriverManager.getConnection( "jdbc:microsoft:sqlserver://localhost:1433;user=sa;password=sa;DatabaseName=carnet");
            catch (Exception E)
                System.out.println("Unable to connect.");
                System.out.println(E.getMessage());
                return null;
            try
                Statement Stmt = connection.createStatement();
                if(jRadioButton1.isSelected()==true)  
                    String Query = "SELECT * FROM fiche";
                ResultSet RS= Stmt.executeQuery( Query );
                while ( RS.next())
                 v.add( new vecfiche( RS.getString("Nom"), RS.getString("Prenom")));
                if( RS!= null) RS.close();}
                if(jRadioButton2.isSelected()==true)  
                    String Query = "SELECT * FROM amis";
                ResultSet RS= Stmt.executeQuery( Query );
                while ( RS.next())
                 v.add( new vecfiche( RS.getString("Anom"), RS.getString("Aprenom")));
                if( RS!= null) RS.close();}
                if(jRadioButton3.isSelected()==true)  
                    String Query = "SELECT * FROM famille";
                ResultSet RS= Stmt.executeQuery( Query );
                while ( RS.next())
                 v.add( new vecfiche( RS.getString("Fnom"), RS.getString("Fprenom")));
                if( RS!= null) RS.close();}
                if( Stmt!= null) Stmt.close();
            catch (Exception E)
                System.out.println("Unable to query.");
                System.out.println(E.getMessage());
                return null;
            try
                connection.close();
            } catch (Exception E)
                System.out.println("Unable to close.");
                System.out.println(E.getMessage());
                return null;
            return v;
        }

  • How to Display RTF data with images from SQL database in Crystal Report

    I am using Crystal report in my WPF application, I have generate Question Paper Report, in which have Question with images. Question with images are stored in SQL Server in rtf format, I want to generate Question report with RTF Text and Images in report

    Hello Sir,
    I am still Facing problem in Crystal report generation with RTF Data (Text + Images),
    I am storing Questions in SQL Server which are RTF Format, Questions have Text + Images..
    I changed field data type then also i didn't get image in Crystal report
    if i browse an image n stored that in DB then its displaying in Crystal report, but when i pasted that image in RichTextBox and saved that in DB then no data displayed in Crystal report.
    My Table Structure is
    Table Name: tblQuestions
    field :    Questions Varbinary(max)
    I tried with nvarchar(max) also but its aslo not working

  • Connectivity Issue with Vista and SQL Server 2005

    Hi all;
    I am unable to log into SQL Server 2005 due to a connectivity problem.
    When I telnet on the port for the server, the attempt at a connection fails.
    Does anyone have any ideas as to what I should do?
    THANKS!!!
    Wally

    Closed the thread regarding: http://social.msdn.microsoft.com/Forums/en-US/sqlsecurity/thread/c20ee682-d329-4678-a8a6-6e10b746bf0e/
    Using the elevated mode fixed the problem.
    Jens K. Suessmeyer

  • Working with windows workflows,sql database

    in this scenario,the state machine would have two states user1 and user2,the user1 update a record in databse,at that time  a notification(popup) "this record is used by any person are not?" checks, and if user2 uses the same record a notification
    (popup)"check this record is updated by any person  are not?", the users will use uniqueid for login to the application

    Hi Ashok,
    I think  " row, page, and table locking " might help to avoid deadlocks as discussed
    here
    Regards,
    Shirisha Paderu

  • Internal server error while connecting to Tandem NonStop SQL database

    Hi -
    We are trying to connect to the Tandem NonStop SQL database through JDeveloper.
    We are using Type4 JDBC driver provided by Tandem NonStop and everything works fine from Database connection to testing the AppModule through the BC4J tester. The VOs return rows perfectly when we test the AppModule.
    BUT -
    When we try to invoke a jspx page (using embedded OC4J server) with an ADF Read Only table of the ViewObj, we get a "500 Internal Server Error" with following details. (Error listing at the end)
    We are using:
    JDeveloper 10.1.3.0 SU5
    ADF JSF
    And the database is NonStop SQL on Tandem NonStop Server S Series box.
    Any help to resolve the issue will be highly appreciated. We also face problems when making this as a WebService - detals of which I will post in a new thread.
    Thanks in advance,
    Saran
    Error Listing (portions removed)
    JBO-30003: The application pool (model.PxdAppModuleLocal) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
         at oracle.jbo.JboException.<init>(JboException.java:346)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
         at oracle.jbo.JboException.<init>(JboException.java:346)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
         at oracle.jbo.JboException.<init>(JboException.java:346)
    ## Detail 0 ##
    oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
         at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:220)
    ## Detail 0 ##
    java.sql.SQLException: No suitable driver
         at java.sql.DriverManager.getConnection(DriverManager.java:545)
         at java.sql.DriverManager.getConnection(DriverManager.java:140)
         at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:189)

    Kuba -
    I have done exactly as mentioned in the link you have provided except that I am using JSF instead of Struts.
    As I have mentioned earlier, if I test the AppModule through the BC4J tester it works fine. I can see my ViewObject with rows from the Tandem database. Only when I run the JSF page do I get the error. Is there something I need to configure in faces-config for accesing Tandme database?
    Saran

  • Question on InfoView  Multiple Connections opening on SQL Database

    Hi, we are using Business Objects XI Release 2 and I am having an ODBC issue to a SQL 2005 database.  I have a Crystal XI report that contains 2 parameters and selects roughly 100,000 rows of data and summarizes the data to 1 page.  In Crystal Developer it runs fine in several seconds.  Within Infoview it runs fine if I do a schedule now and select the parameters.  The Issue is if I click on the published report, update the parameters, it then starts to run and run.  Looking at the database it opens roughly 32 connections and just keeps opening and closing connections.  Since I am invoking infoview through a url it is running on the same server that I can schedule on.  I am not sure where or what the problem is, why so many connections open and the report never finishes.  Also the connections are bogging down the SQL Database due to high CPU utilization.  Any help/insight/explanations would be appreciated.
    Thank You

    Thanks for the response, see my responses in Italics,
    If you try to run the report with multiple connections are you facing this problem, or else is it for all reports.
    I am not trying to run for multiple connections intentionally?  Is there a setting in the report itself or on the console that could be doing this?
    Have tried to run the report other than the same machine where you have sever installed.
    I have run the report from 2 different viewers which reside on different machines, both separate from the
    database.  If I run from Crystal Developer on a desktop it is fine.  Also if I schedule in the viewer it is fine.  It seems like when I run on demand (not sure if my terminology is correct).
    Also try with remote connection to logon to your server and try to run the report and observe if there is any specific error. 
    I am executing a url that is on the server where Business Objects is installed.
    Regards,
    Naveen.
    I

  • Consistently getting "The wait operation timed out" when connecting to Azure SQL Database from a virtual instance...

    I have a web app that is backed by a an Azure SQL Database. The problem is that I had multiple issues when connecting to the database mainly when trying to establish a connection, or timeouts. This is the log I just encountered when trying to use the web
    app.
    [Win32Exception (0x80004005): The wait operation timed out]
    [SqlException (0x80131904): Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. This could be because the pre-login handshake failed or the server was unable to respond back in time. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=21970; handshake=1; ]
    System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +671
    System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +116
    System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +1012
    System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +6712291
    System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +152
    System.Data.SqlClient.SqlConnection.Open() +229
    System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) +102

    Hi Affar2k,
    According to your description, we need to verify if there is no network issue and the Sqlclient version is older than .NET 4.5.  You can try to connect to the Windows Azure SQL database via SSMS and check if it can run well. When you
    connect to the SQL Azure database via ADO.NET, you need to verify that the server name and passwords are right in the connection string.
    For more information, you can review the following article about how to connect to Windows Azure SQL Database using ADO.NET.
    http://msdn.microsoft.com/en-us/library/windowsazure/ee336243.aspx
    Thanks,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

Maybe you are looking for

  • Purchase order (MM)

    Hello experts I want some interactive reports on purchase orders. also if u can give for purchase order reqisition. thanx in advanced

  • Function Module SAP_CONVERT_TO_TEX_FORMAT

    Dear ABAPers, I find function SAP_CONVERT_TO_TEX_FORMAT module really useful to concatenate fields in internal table into one text delimited with character. But somehow I found that this function module delete space in the data. For example if I have

  • Mac os 10.7.5 HP Deskjet 2540 All-in-One Printer

    Hello, I've just bought a HP printer, but i can't connect the wirelles with my mac. Is a HP deskjet 2540 All-in-One Printer, and the mac os x opperating system is 10.7.5 Lion. Is there a way to connect them or not? thanks in advance.

  • Access to download Oracle 9i EEdb for Windows NT etc.

    The following URL is defective. The user is presented with a screen which is purely ASCII codes strung together and cannot proceed further. http://otn.oracle.com/software/products/oracle9i/htdocs/winsoft.html

  • Problems whith focus in a JTextField!!!

    Hello: I have a JTextField inside a JFrame, at the beginning, when I open the window the Focus appears in the JTextField.I put disabled this JTextField and later i put it enabled. I would like that the Focus came back to appear in that JTextField. I