Establishing connection to SQL server suddenly failed

Hi,
I had a working SQL connection before, but today i've tried to connect and got this message:
TITLE: Connect to Server
Cannot connect to User-PC\SQLEXPRESS.
ADDITIONAL INFORMATION:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1&LinkId=20476
BUTTONS:
OK
p.s. I'm novice to SQL ssms.
with regards,
yaron H.

1. Make sure SQL Server Service is running
2. If a named instance, make sure SQL Server browser service is running
3. Make sure SQL Server is configured to allow remote connections
4. Examine the SQL Server error log for messages confirming that SQL is listening on the expected network interfaces and ports
5. Test server connectivity with PING from the client machine
6. Test port connectivity using TELNET or PowerShell to the server and port (from step 4) from the client machine.  For example
a. TELNET <server-name> 1433
b. PowerShell: 1433 | % { echo ((new-object Net.Sockets.TcpClient).Connect("YourServerName",$_)) "server listening on TCP port $_" }
7. Check firewall settings if step 5 or 6 connectivity test fails
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence

Similar Messages

  • Failed to Establish connection with SQL Server

    hi I have configured odbc settings and when i connect the sql from essbase i got the error :Failed to Establish connection with SQL Server .please hepl me on this
    and please give me step by step process for how to resolve thi issue.and give me detail step by step from starting onwards.
    appreciate your Help,
    Thank u
    Subbu.

    Steps:
    1. Test database connection from Essbase server through SQL Command. This gives you whether you are able to connect to Database from Essbase server.
    2. Create ODBC Connection: System DSN>Add>Select correct driver (Oracle in ...) >give Datasource (any name), Description (Any), TNS Service Name (user SID name), User name (Database user name)
    3. Test Connection. if successful, you can use this ODBC to get the data.
    4. Open rules file, go to FILE>Open SQL
    5. Provide Essbase server, Application, Database names
    6. Select SQL Data Source from the list (ODBC defined in step2)
    7. Enter tested SQL Query(which is tested at SQL command or "sysdate from dual" ) in select box. NOTE: Remove select word from query. You can ignore from and where clauses, all you can include in select block.
    8.Click OK/Reteive data
    Rao

  • Cannot establish connection with SQL server from SQL developer

    Hi, I recently downloaded SQL Developer version 3.0.04 and am trying to establish a connection to a remote SQL server. The database was created on this server by someone who is no longer working on the project. I have been given the username, password and server name. Is there another piece of information I am missing? I keep receiving the error:
    Status: Failure-Test failed: IO Error: The Network Adapter could not establish the connection.

    Check out the SQL Server network configuration. When instances are used the port on which the SQL Server is listening on might be different. Use the networking utility from the SQL Server and check out the SQL Server network details.

  • Error in establishing connection to SQL server

    Hi All,
    I am working on SQL->Sender JDBC->XI----->Reciever RFC -
    > SAP scenario.
    I have completed the configuration of the scenario.
    The sql server is mySQL 2000.
    Hence, in the sender JDBC adapter, i have given the following details.
    JDBC Driver: com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection: jdbc:microsoft:sqlserver://<HOST>:<PORT>[;DatabaseName=<DB>]
    my connection: jdbc:microsoft:sqlserver://172.20.20.76:1143[;DatabaseName=SEPG_NEWDB]
    In Runtime Workbench->Component Monitoring>Adapter Engine--->Communication Channel Monitoring..
    I am facing error as follows.....
    Error during database connection to the database URL 'jdbc:microsoft:sqlserver://172.20.20.76:1433[;DatabaseName=SEPG_NEWDB]' using the JDBC driver 'com.microsoft.jdbc.sqlserver.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:microsoft:sqlserver://172.20.20.76:1433[;DatabaseName=SEPG_NEWDB]': SAPClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver'
    What might be the reason behind this error....??????
    Kindly help me.....
    Regards
    Pavan

    what i meant was have you deployed the proper jar file(driver file) in the .sda file in using SDM......your driver parameter is fine just check this below
    download the jdbc driver from url http://download.softagency.net/MySQL/Downloads/Connector-J/
    (mysql-connector-java-3.1.14-bin.jar if you are using mysql 4.0)
    the  your parameter in Dapter
    DBC driver: com.microsoft.jdbc.sqlserver.sqlserverdriver
    connection: jdbc:microsoft:sqlserver://ip:port;databasename
    also check this
    tther option is download JDBC Driver from Microsoft Website
    http://www.microsoft.com/downloads/details.aspx?FamilyID=6D483869-816A-44CB-9787-A866235EFC7C&displaylang=en
    and deploy the JDBC driver using SDM.
    JDBC Driver Deployment Guide...
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ffd890-0201-0010-708f-d5dad2dfcf3a
    how to configure drivers:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    also http://www.oracle.com/technology/software/tech/windows/odbc/index.html
    Help Required on File to JDBC scenario
    JDBC Driver?

  • BI Publisher can not establish connection to SQL Server.

    Hi,
    We are trying to create a connection from BI Publisher to SQL Server database. However, we are getting a message 'Could not establish connection'. We tried to google to find a solution.
    We are not sure what the problem is. We can ping to the SQL Server machine from the BI Application Server.
    Apparently it looks like the required JDBC Driver files are missing. We are using OBIEE version 11.1.1.3.0 and 11.1.1.6.0. How do we know whether or not we have the correct JDBC driver file? And also, where we should copy the JDBC driver/jar files to.
    Any help will be highly appreciated.
    Thanks and regards,
    Manoj.

    Hi Parham,
    Thanks for your reply.
    The "Use System User" check box is disabled. The default value for 'Database Driver Class' is "hyperion.jdbc.sqlserver.SQLServerDriver". Should that be correct?
    We have SQL Server 2012 but 'Driver Type' shows only two versions of SQL Server - 2005 and 2008.
    Folder 'C:\oracle\product\11.1.1\obiee11\wlserver_10.3\server\lib' contains three .dll files: "64sqljdbc.dll", "x64sqljdbc.dll" and "sqljdbc.dll". And "wlsqlserver.jar" is present too in the same folder.
    Any pointers, please?
    Thanks,
    Manoj.

  • Connection to Exchange Server Suddenly Failed!!!!!!!

    I have had my iPhone for about 3 months with no issues syncing to my work email, contacts or calendar. Suddenly this AM it will not longer sync and I receive this message: "connection to server failed".
    I've tried to delete emails from my inbox, reboot my iphone and delete/re-establish my mail account.
    Anyone have any otyher suggestions?
    Thanks
    MG

    That is bad news, your Exchange server is not responding, it may be down, or the problem could be at your end. Do you have web access to the Exchange server, there normally is a URL to go to in order to access mail.
    It may be (no guarantee here)
    mail.rpc.connect.kent.ac.uk/exchange, or mail.rpc.connect.kent.ac.uk/owa, try them both.
    Post back

  • Connecting to the LOB system has failed. A network-related or instance-specific error occurred while establishing a connection to SQL Serve

    Hi!
    I'm using consume adapter service> sqlbinding >  to connect to sql database in order to generate sql schemas.
    I'm getting below error:
    Connecting to the LOB system has failed. 
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified).
    Christiane

    Hi, 
    As suggested earlier this seems to be a DTC related issue. It can only occur if the DTC settings are not proper or if firewalls don't allow the default ports to communicate.
    Check DTC settings on both SQL and BizTalk Box and also check if MSDTC service is up and running.
    Go to Start
    à Run
    à (type in) Dcomcnfg. You should be inside Component Services MMC.
    Expand Component Services
    à Computers
    à My Computer (right click)
    à Properties
    à MSDTC tab
    à Security Configuration button.
    Select the checkboxes as following : 
    Check the below article from Microsoft Support Team, they have listed all the errors which may come during setting up a new system. They also have your MSDTC error listed.
    Resolving the issues you may face during BizTalk Runtime Configuration
    Thanks,
    Prashant
    Please mark this post accordingly if it answers your query or is helpful.

  • Connecting to the LOB system has failed. A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is

    hi ,
    when generate the schema , i  got the below error, please any one put your inputs:
    Connecting to the LOB system has failed.  A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server
    is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server).

    thaks shanky,
    but facing another , after generate schema from  WCF_SQL, im unable get elements in my schema.
    this is schema generate from storeprocduer , but thru WCF-sql im unable get the elements like
    id, name
    <xsd:schema targetNamespace="urn:schemas-microsoft-com:sql:SqlRowSet2" xmlns:schema="urn:schemas-microsoft-com:sql:SqlRowSet2" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sqltypes="http://schemas.microsoft.com/sqlserver/2004/sqltypes" elementFormDefault="qualified">
      <xsd:import namespace="http://schemas.microsoft.com/sqlserver/2004/sqltypes" schemaLocation="http://schemas.microsoft.com/sqlserver/2004/sqltypes/sqltypes.xsd" />
      <xsd:element name="Test.dbo.sample">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="id" type="sqltypes:int" minOccurs="0" />
            <xsd:element name="name" minOccurs="0">
              <xsd:simpleType>
                <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
                  <xsd:maxLength value="1000" />
                </xsd:restriction>
              </xsd:simpleType>
            </xsd:element>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
    </xsd:schema>
    <Test.dbo.sample xmlns="urn:schemas-microsoft-com:sql:SqlRowSet2">
      <id>18</id>
      <name>BIRADAR</name>
    </Test.dbo.sample>
    <Test.dbo.sample xmlns="urn:schemas-microsoft-com:sql:SqlRowSet2">
      <id>18</id>
      <name>BIRADAR</name>
    </Test.dbo.sample>
    <Test.dbo.sample xmlns="urn:schemas-microsoft-com:sql:SqlRowSet2">
      <id>19</id>
      <name>sw</name>
    </Test.dbo.sample>
    <Test.dbo.sample xmlns="urn:schemas-microsoft-com:sql:SqlRowSet2">
      <id>18</id>
      <name>BIRADAR</name>
    </Test.dbo.sample>
    <Test.dbo.sample xmlns="urn:schemas-microsoft-com:sql:SqlRowSet2">
      <id>14</id>
      <name>swe</name>
    </Test.dbo.sample>
    <Test.dbo.sample xmlns="urn:schemas-microsoft-com:sql:SqlRowSet2">
      <id>13</id>
      <name>se</name>
    </Test.dbo.sample>

  • SQL Server Reporting services. failed to establish connection with project server. verify the url is correct.

    Dear All,
    I'm working on reporting of Project Server 2010, while configuring SQL SERVER REPORTING SERVICES faced issue after two complete days of troubleshooting along with this gone through plenty of forums, unable to figure out any solution. So finally posting on
    technet in order to find solution.
    ISSUE/PROBLEM:
    At initial configured the SQL REPORTING CONFIGURATION to sharepoint integrated database (SQL SERVER is installed on seperate machine), change the service to Domain Account and also installed sharepoint add in on server story was fine at this point. Furthur
    moving to SHAREPOINT ADMIN console and while configuring the Sharepoint Integrated Reporting continuously facing this error:
    Failed to establish connection with report server. . . . (Snapshot is attached for your further reference).
    My point of concern is that whenerver i try to open the REPORT SERVER URL on project server machine it prompts me to enter username and password but whenever i insert the domain credentails it didnt accept though it can be accesible by using the credentials
    of Local Admin of sql server machine. So i wana come to know whether its permission issue if yes then where i should mention the domain credentials.? 
    REGARDS DANISH DANIE

    Dear Paul,
    I am able to open the URL (http://psdb/ReportServer )using
    domian credential and page open with these contents
    Reporting Services Error
    The configuration parameter SharePointIntegrated is set to True but Share Point Object Model cannot be loaded
    Second,
    Configured the SPN on domain controller , performed the steps required to change the AUTHENTICATION in rsreportserver.config
    file also done the registry settings to disable the loop back settings.
    Same error still ! .... what should i do now ??? 
    REGARDS DANISH DANIE

  • Failed to Establish Connection With SQL Database Server in Essbase studio

    I am using Essbase Studio Release 11.1.2.1.00 for developing XOLAP cubes and deploying them on to Essbase server .
    I am getting the below Error while deploying the cube onto Essbase server.
    error : Failed to deploy Essbase cube.
    Caused by: Failed to build Essbase cube dimension: (TimeHierarchy) .
    Caused by: Cannot get async process state. Essbase Error(1021001): Failed to Establish Connection With SQL Database Server.
    From Essbase Studio -> Datasources tab, I could able to connect to SQL Database server..Please let me know how to resolve this issue.
    Thanks,
    Swathi

    Thanks for the reply.
    There was a problem with my Essbase Server..so now i m pointing to other server.
    now I am getting the below Error:
    Failed to deploy Essbase cube.
    Caused by: Cannot end incremental build. Essbase Error(1025008): Join Specification near [[TIMEID]] is invalid. Please verify the Xolap Schema file.
    Please let me know how can I validate my cube and what changes might require in my Cube definitions?

  • Failed to Establish Connection with SQL Database Server (EAS)

    Hi,
    We have recently installed version 11.1.2.1 of essbase. Everything is working just peachy. One of my users tried to build a load rule using an Oracle ODBC data connection and gets the error:
    Failed to Establish Connection with SQL Database Server.  See log for more information.
    When I look in the log I see this:
    [Tue Feb 28 09:14:43 2012]Local/Sample/Basic/mressler@EnCanaAD/4240/Info(1013091)
    Received Command [SQLListDsn] from user [mressler@EnCanaAD]
    [Tue Feb 28 09:14:43 2012]Local/Sample/Basic/mressler@EnCanaAD/4240/Info(1021020)
    Cannot read SQL driver name for [Backup Exec Catalogs] from [ODBC.INI]
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1013091)
    Received Command [SQLRetrieve] from user [mressler@EnCanaAD]
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1021020)
    Cannot read SQL driver name for [Backup Exec Catalogs] from [ODBC.INI]
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1021004)
    Connection String is generated
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1021041)
    Connection String is [DSN=Test;UID=...;PWD=...;]
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1021006)
    SELECT Statement [SELECT '1' from dual] is generated
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1021013)
    ODBC Layer Error: [IM004] ==> [[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed]
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1021014)
    ODBC Layer Error: Native Error code [0]
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Error(1021001)
    Failed to Establish Connection With SQL Database Server. See log for more information
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Warning(1080014)
    Transaction [ 0x140002( 0x4f4cfd87.0x7b890 ) ] aborted due to status [1021001].
    I have tested that the ODBC connection can connect to the database. The sql query has been dumbed down to select '1' from dual. I have not included the word "select" in the query.
    Anyone seen this before? We are in the process of uninstalling the Oracle client completely and re-installing it to see if this solves the issue. We only installed the 64 bit version of the Oracle client. I am running on Windows Enterprise 2008 R2 - 64 bit. EAS, Essbase, EIS are all 64 bit installs. I believe Studio is the only one that is 32bit. However we are not currently using this product.
    Thanks,
    Mike

    Hi Mike,
    With Oracle Support's help, we got 3 of the 5 servers working now. We were using the Datadirect drivers but were configuring them wrong! You have to use the Standard Connection portion in the setup, specifying the Host, Port Number (1521) and the SID. We were using the TNSNames Connection which worked in the past, but apparently does not now.
    So I am down to 2 servers not working. They are both Windows 2008 R2 Enterprise 64 bit, running Oracle EPM Essbase 11.1.2.1. When I Open SQL in EAS it prompts for database (Essbase Server, App, DB) and when I hit ok it pops up with "Network error: Cannot Locate Connect Information For []". We did not do any of the suggestions in the document you linked to get the other 3 servers working. When you hit ok on that error, you then get another error stating, "There are no Data Sources defined. 'SQL data sources' option will be disabled". We do have datasources defined on the server.
    Any ideas?
    Thanks,
    Mike
    Edited by: Mike on Mar 1, 2012 8:38 AM

  • Error: 1021001 Failed to Establish Connection With SQL Database Server

    Hello,
    Someone you already MEETS it the following error during an essbase retrieve DLR.
    My client oracle essbase on my server is 64bit, Essbase 11.1.2.2 x64
    I run the odbc located in% windir% \ system32 \ odbcad32.exe
    "Error: 1021001 Failed to ESTABLISH Connection With SQL Database Server. See log for more information"
    Here is the log:
    Received Command [SQLListDsn] from user [admin]
    [2:50:33 p.m. Fri 28 September 2012] Local / CAS_TEST / / / 8168/Info (1042059)
    Connected from [10.100.50.2]
    [2:50:33 p.m. Fri 28 September 2012] Local/CAS_TEST/CAS_TEST/admin/8168/Info (1013091)
    Received Command [SQLRetrieve] from user [admin]
    [2:50:33 p.m. Fri 28 September 2012] Local/CAS_TEST/CAS_TEST/admin/8168/Info (1021004)
    Connection String is generated
    [2:50:33 p.m. Fri 28 September 2012] Local/CAS_TEST/CAS_TEST/admin/8168/Info (1021041)
    Connection String is [DSN = TEST_ORACLE; UID = ...; PWD = ...]
    [2:50:33 p.m. Fri 28 September 2012] Local/CAS_TEST/CAS_TEST/admin/8168/Info (1021006)
    SELECT Statement [SELECT from dual;] is generated
    [2:50:33 p.m. Fri 28 September 2012] Local/CAS_TEST/CAS_TEST/admin/8168/Info (1021013)
    ODBC Layer Error: [IM004] ==> [[Microsoft] [ODBC Driver Manager] Driver's SQLAllocHandle we failed SQL_HANDLE_ENV]
    [2:50:33 p.m. Fri 28 September 2012] Local/CAS_TEST/CAS_TEST/admin/8168/Info (1021014)
    ODBC Layer Error: Native Error code [0]
    [2:50:33 p.m. Fri 28 September 2012] Local/CAS_TEST/CAS_TEST/admin/8168/Error (1021001)
    Failed to ESTABLISH Connection With SQL Database Server. See log for more information
    [2:50:33 p.m. Fri 28 September 2012] Local/CAS_TEST/CAS_TEST/admin/8168/Warning (1080014)
    Transaction [0x780001 (0x50659d19.0xc9e78)] aborted due to status [1021001].
    When I try to go through OCI service name:
    dbServerName: port / service_name
    I have the following error message:
    Solutions2: List of members 1423.CAS_TEST.CAS_TEST September 28, 2012 2:50:15 PM CEST Succeeded
    Read SQL record September 28, 2012 2:50:35 PM CEST Failed
    thank you in advance
    Edited by: 851398 on 28 sept. 2012 06:31

    In essbase logs there is nothing special, same for windows log.
    Everything I like is log in log view eas
    [Fri Sep 28 17:52:11 2012]Local/CAS_TEST///4020/Info(1013205)
    Received Command [Get Database Info]
    [Fri Sep 28 17:52:11 2012]Local/CAS_TEST///4020/Info(1013205)
    Received Command [Get Database State]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7580/Info(1013210)
    User [admin] set active on database [CAS_TEST]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///6720/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/6720/Info(1013091)
    Received Command [GetAttributeNameSpecs] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7304/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/7304/Info(1013091)
    Received Command [GetOtlInfo] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7572/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/7572/Info(1013091)
    Received Command [OtlQueryMbrs] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///8116/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/8116/Info(1013091)
    Received Command [OtlQueryMbrs] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7384/Info(1013210)
    User [admin] set active on database [CAS_TEST]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///6592/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/6592/Info(1013091)
    Received Command [GetAttributeNameSpecs] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7972/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/7972/Info(1013091)
    Received Command [GetOtlInfo] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///216/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/216/Info(1013091)
    Received Command [OtlQueryMbrs] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///3104/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/3104/Info(1013091)
    Received Command [GetAttributeNameSpecs] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///3472/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/3472/Info(1013091)
    Received Command [GetOtlInfo] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///8112/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/8112/Info(1013091)
    Received Command [OtlQueryMbrs] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///4020/Info(1013205)
    Received Command [Get Database Info]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///3840/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/3840/Info(1013091)
    Received Command [GetAttributeNameSpecs] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7760/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/7760/Info(1013091)
    Received Command [GetOtlInfo] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7300/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/7300/Info(1013091)
    Received Command [OtlQueryMbrs] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7904/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/7904/Info(1013091)
    Received Command [OtlQuerySmartLists] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///3612/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/3612/Info(1013091)
    Received Command [GetAttributeNameSpecs] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///6732/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/6732/Info(1013091)
    Received Command [GetOtlInfo] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7576/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/7576/Info(1013091)
    Received Command [OtlQueryMbrs] from user [admin]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7268/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/7268/Info(1013091)
    Received Command [OtlQueryMbrs] from user [admin]
    [Fri Sep 28 17:52:27 2012]Local/CAS_TEST///7556/Info(1013210)
    User [admin] set active on database [CAS_TEST]
    [Fri Sep 28 17:52:29 2012]Local/CAS_TEST///8168/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:29 2012]Local/CAS_TEST/CAS_TEST/admin/8168/Info(1013091)
    Received Command [SQLListDsn] from user [admin]
    [Fri Sep 28 17:52:55 2012]Local/CAS_TEST///7564/Info(1042059)
    Connected from [10.100.50.2]
    [Fri Sep 28 17:52:55 2012]Local/CAS_TEST/CAS_TEST/admin/7564/Info(1013091)
    Received Command [SQLRetrieve] from user [admin]
    [Fri Sep 28 17:52:55 2012]Local/CAS_TEST/CAS_TEST/admin/7564/Info(1021004)
    Connection String is generated
    [Fri Sep 28 17:52:55 2012]Local/CAS_TEST/CAS_TEST/admin/7564/Info(1021041)
    Connection String is [DSN=TEST_ORACLE;UID=...;PWD=...;]
    [Fri Sep 28 17:52:55 2012]Local/CAS_TEST/CAS_TEST/admin/7564/Info(1021006)
    SELECT Statement [SELECT * from dual ] is generated
    [Fri Sep 28 17:52:55 2012]Local/CAS_TEST/CAS_TEST/admin/7564/Info(1021013)
    ODBC Layer Error: [IM004] ==> [[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed]
    [Fri Sep 28 17:52:55 2012]Local/CAS_TEST/CAS_TEST/admin/7564/Info(1021014)
    ODBC Layer Error: Native Error code [0]
    [Fri Sep 28 17:52:55 2012]Local/CAS_TEST/CAS_TEST/admin/7564/Error(1021001)
    Failed to Establish Connection With SQL Database Server. See log for more information
    [Fri Sep 28 17:52:55 2012]Local/CAS_TEST/CAS_TEST/admin/7564/Warning(1080014)
    Transaction [ 0xb50001( 0x5065c7d7.0x31ce0 ) ] aborted due to status [1021001].
    Have you an idea about the Merant driver to essbase?
    Thank

  • Essbase Studio - Failed to Establish Connection With SQL Database Server

    Hi all,
    I am new to Hyperion and am having trouble deploying what seems a simple cube in Essbase Studio.
    My environment is Windows 2003, EPM 11.1.1.2, SQL Server 2000.
    I have the following two issues which may be related.
    1. The EPM System Diagnostic tool says that Hyperion Foundation cannot connect to the SQL database.
    Error:
    Failed: Connection to database
    Error: java.net.UnknownHostException: <server name: <server name>
    Recommended Action:
    Every other EPM application is able to connect to the database. I have tried re-configuring Foundation Services and checking the config files and nothing looks wrong. I would appreciate advice on how to fix this.
    2 In Essbase Studio, I was able to connect to the database where the source data is, build the minischema and create dimensions and measures. But when I run the cube deployment wizard I get the error:
    Message: Failed to deploy Essbase cube
    Caused By: Failed to build Essbase cube dimension: (Time)
    Caused By: Cannot incremental build. Essbase Error(1021001): Failed to Establish Connection With SQL Database Server. See log for more information
    …ODBC Layer Error: [08001] ==> [[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQL Server does not exist or access denied.]
    I have checked the DSN as well as the connections set up within Studio, and they are all able to connect to the database. I am using the admin user for the Essbase server and have created a different user for the databases where the data resides and the shared services database. I tried using the same user all the way through and this didn’t help.
    Can you please advise what else I can check or change to resolve this issue.
    Also, can you work in EAS with cubes that are created in Studio? I tried looking at it and I got an error that the rule file couldn’t be accessed because it was created in Studio.
    After the above failures, I tried creating a cube in EIS, with mixed success. I have been able to load the members and data without errors. But when I try to view the data in the cube, I am seeing field names for the measures instead of the data itself.
    ...Definitely more questions than answers at this stage of my learning.
    Regards
    Michelle

    Michelle,
    I don't know if you found an answer to you question after so many months but I was hoping I could be helpful.
    The issue you are experience happens often when the dimension that you are getting an error on, in this case TIME, is built from a snowflake lineage and there is a bad foreign key reference. This dimension is most like high-up in your outline build process for Essbase Studio and this prevents the build from happening usually early on.
    Check your logs also. They are in Hyperion > Products > logs > essbase > essbasestudio.
    You can also make your logs more verbose by setting a configuration variable in the essbase studio server.properties file but that should only be used for debugging as it really saps performance.
    And, yes, you can of course edit an Essbase Studio deployed cube in EAS. However, any changes you make to the cube in EAS are subject to being wiped-out upon the next Essbase Studio deployment of that Applicaion/Database combo.
    If you want to provide more detail, screenshots, etc. I would be glad to help where I can.
    Cheers,
    Christian
    http://www.artofbi.com

  • Azure Webjobs with EF DB - A network-related or instance-specific error occurred while establishing a connection to SQL Server

    Hi,
    I have been trying to get a very simple WebJob developed and deployed onto Azure with little to no luck.  I have a MVC Website which has a common project which handles my Data Access Layer with Entity Framework.  I have created a WebJob project
    using Visual Studio and added the following lines of code to the Manual Trigger Function
    [NoAutomaticTrigger]
    public static void ManualTrigger(TextWriter log, int value, [Queue("queue")] out string message)
    RitualDBEntities db = new RitualDBEntities();
    log.WriteLine("Function is invoked with value={0}", value);
    List<Location> locations = db.Locations.ToList();
    string msg = string.Empty;
    foreach (Location location in locations)
    msg += location.Name;
    message = msg;
    log.WriteLine("Following message will be written on the Queue={0}", message);
    In my app.config of my WebJob i have the following connection strings:
    <add name="RitualDBEntities" connectionString="metadata=res://*/RitualDBEntities.csdl|res://*/RitualDBEntities.ssdl|res://*/RitualDBEntities.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=ritual-pc\sqlexpress;initial catalog=RitualDB;integrated security=True;persist security info=False;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
    <add name="RitualContext" connectionString="Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=RitualDB;Data Source=ritual-pc\sqlexpress" providerName="System.Data.SqlClient" />
    <add name="AzureWebJobsDashboard" connectionString="DefaultEndpointsProtocol=https;AccountName=ritual***;AccountKey=tQAP0gyMYKtWPJeIbsqk2iT2k69gyd1FwcyRf3+5Mc9b9EdYzpj0Dq8X2VHUmF*****"/>
    <add name="AzureWebJobsStorage" connectionString="DefaultEndpointsProtocol=https;AccountName=ritual***;AccountKey=tQAP0gyMYKtWPJeIbsqk2iT2k69gyd1FwcyRf3+5Mc9b9EdYzpj0Dq8X2VHUmF*****" />
    When i test locally (F5 Debugging) the webjob runs successfully and does the loop of the objects returned from the database.  When i deploy this Azure the WebJob fails with the following error:
    [03/29/2015 22:07:39 > 6ca05b: SYS INFO] Status changed to Initializing
    [03/29/2015 22:07:41 > 6ca05b: SYS INFO] Run script 'Ritual.WebJobs.Members.exe' with script host - 'WindowsScriptHost'
    [03/29/2015 22:07:41 > 6ca05b: SYS INFO] Status changed to Running
    [03/29/2015 22:07:44 > 6ca05b: INFO] Found the following functions:
    [03/29/2015 22:07:44 > 6ca05b: INFO] Ritual.WebJobs.Members.Functions.ManualTrigger
    [03/29/2015 22:07:44 > 6ca05b: INFO] Executing: 'Functions.ManualTrigger' because This was function was programmatically called via the host APIs.
    [03/29/2015 22:08:01 > 6ca05b: INFO] Function had errors. See Azure WebJobs SDK dashboard for details. Instance id is e99d7205-3ca0-4674-9414-f0381d5c2316
    [03/29/2015 22:08:01 > 6ca05b: ERR ]
    [03/29/2015 22:08:01 > 6ca05b: ERR ] Unhandled Exception: System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.SqlClient.SqlConnection.Open()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.<Open>b__36(DbConnection t, DbConnectionInterceptionContext c)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.Core.EntityClient.EntityConnection.<Open>b__2()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass1.<Execute>b__0()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute(Action operation)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.Core.EntityClient.EntityConnection.Open()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] --- End of inner exception stack trace ---
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.Core.EntityClient.EntityConnection.Open()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass7.<GetResults>b__5()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__0()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at Ritual.WebJobs.Members.Functions.ManualTrigger(TextWriter log, Int32 value, String& message)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at lambda_method(Closure , Object[] )
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at Microsoft.Azure.WebJobs.Host.Executors.VoidInvoker.InvokeAsync(Object[] arguments)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.<ExecuteWithWatchersAsync>d__23.MoveNext()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] --- End of stack trace from previous location where exception was thrown ---
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.<ExecuteWithOutputLogsAsync>d__1c.MoveNext()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] --- End of stack trace from previous location where exception was thrown ---
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.<ExecuteWithLogMessageAsync>d__c.MoveNext()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] --- End of stack trace from previous location where exception was thrown ---
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.<ExecuteWithLogMessageAsync>d__c.MoveNext()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] --- End of stack trace from previous location where exception was thrown ---
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.<TryExecuteAsync>d__1.MoveNext()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] --- End of stack trace from previous location where exception was thrown ---
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at Microsoft.Azure.WebJobs.Host.Executors.ExceptionDispatchInfoDelayedException.Throw()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at Microsoft.Azure.WebJobs.JobHost.<CallAsyncCore>d__7.MoveNext()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] --- End of stack trace from previous location where exception was thrown ---
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at Microsoft.Azure.WebJobs.JobHost.Call(MethodInfo method, Object arguments)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at Ritual.WebJobs.Members.Program.Main()
    [03/29/2015 22:08:01 > 6ca05b: SYS INFO] Status changed to Failed
    [03/29/2015 22:08:01 > 6ca05b: SYS ERR ] Job failed due to exit code -532462766
    If i remove any of my database code and use just the basic Stub code my webjob will run successfully so i know that my connection strings (outside of the DB ones) are correct.  My MVC web application also runs perfectly using the same connection strings
    in Azure so i also know that they have also been configured.  
    I am now lost and need some guidance, so if someone is able to assist me that would be much appreciated.
    Thanks
    Ritual.

    Can you try to log the connection string you are using in both cases to make sure they are the same?
    Also can you share your site name, either directly or indirectly?
    This will help us investigate.
    Thanks,
    Amit

  • A network-related or instance-specific error occurred while establishing a connection to SQL Server.

    Dear all,
    I know that this topic may be a bit old school; but it really make me mad as I tried all solutions i found and it still cant be resolved....please give a hand...
    The situation is like this,my company divided different platform as a status of project, like DEV, SIT and UAT. I got a project that require me to upgrade an vs2003 project to vs2005. I upgraded it completely and
     successfully, it works fine in development and UAT platform; EXCEPT, the SIT platform.
    The situation is very strange that, once I move the source to SIT, it return the following error:
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.
    (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
    but it never happen in either DEV or UAT platform and even do I copy the workable web.config from DEV or UAT platform to SIT, the error still here and unable to resolve it.
    I search a lot in the internet by Google, but solution suggested are not suitable or fail in my case. Most answer suggest that "enable remote control", "check fire wall", "check server" etc......But as I can connect well the
    DBServer in DEV and UAT properly, I dont think those are the cause(but still, I check them all, and all are enabled properly, except my firewall setting is OFF, so adding port is ignored).
    After all the searching and testing, I believed and have reason to believe that, the cause is inside my web.config:
      <appSettings>
        <!--   User application and configured property settings go here.-->
        <!--   Example: <add key="settingName" value="settingValue"/> -->
    <clear/>
        <add key="Environment" value="UAT v1.31"/>
        <add key="DBServer" value="DB_UAT"/>
        <add key="cnBPSS.ConnectionString" value="data source=DB_UAT\BPSS;persist security info=True;user id=theloginid;workstation id=RP_UAT;packet size=4096;pwd=theloginpwd"/>
        <add key="UTBPSSConn.ConnectionString" value="data source=DB_UAT\BPSS;persist security info=False;user id=theloginid;workstation id=RP_UAT;packet size=4096;pwd=theloginpwd"/>
        <add key="UTDSBDBConn.ConnectionString" value="workstation id=RP_UAT;packet size=4096;user id=theloginid;data source=DB_UAT\DSBDB;persist security info=False;password=theloginpwd"/>
        <add key="cnDSBDB.ConnectionString" value="workstation id=RP_UAT;packet size=4096;user id=theloginid;data source=DB_UAT\DSBDB;persist security info=False;password=theloginpwd"/>
        <add key="Timer1.Enabled" value="True"/>
        <add key="Timer1.AutoReset" value="True"/>
        <add key="cnbpss.ConnectionString" value="data source=DB_UAT\BPSS;password=theloginpwd;persist security info=True;user id=theloginid;workstation id=RP_UAT;packet size=4096"/>
        <add key="cnbpss1.ConnectionString" value="data source=DB_UAT\BPSS;password=theloginpwd;persist security info=True;user id=theloginid;workstation id=RP_UAT;packet size=4096"/> 
    </appSettings>
    </configuration>
    I know such kind of setting is old school; But due to this program runs for few years from tons of ppl...I dont dare to modify it unless I am very sure they are the cause.....
    May I ask if anyone cna give me some advice and help in this issue please? I already tried for weeks and turning mad....Please I really need some help...
    Many thanks.
    Ksun Chan

    Checklist of possible reason of this error
    1. Check SQL services are running
    2. Check SQL Browser service is running
    3. Check remote connections are enabled
    4. Network connectivity between database & application servers by TRACERT command
    5. Check TCP/IP protocol enabled at SQL server
    6. Check talent connectivity – telnet <IP address> <port no on SQL server running>
    7. Check UDP port 1434 is open or not on SQL Server
    8. Check firewall is running or not Check
    9. If firewall running, SQL Server & UDP port must be added in exception in firewall
    Regards,
    Rohit Garg
    (My Blog)
    This posting is provided with no warranties and confers no rights.
    Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread.

Maybe you are looking for

  • Events and project thumbnails missing after moving to new computer

    I just helped a friend to move to a new Mac. I have copied all her personal data to her new computer, so iMovie Events and Projects are present in her new Movie folder. However, after opening iMovie '08, all events and project thumbnails are missing.

  • Access Modem if Static IP and in Bridged Mode

    i am assuming it is in bridged mode as my firewall uses the static ip. however, how do i access the modem to change the password? do i have to plug a computer into it? i have not been able to figure out how to access it from one of the computers on t

  • I am getting I am getting nativehr 0x80070057 /nativehr nativestack /nativestack error when I change my publishing page layout in SharePoint 2010.

    Hello All, I am getting the following error when I tried to change the page layout of a publishing page in my site collection using SharePoint 2010.   Here I am just trying to change the page layout to "Four Item Grid" page layout. But i am not sure

  • Indexing Error F03E

    I'm experiencing an F03E indexing error on one specific mailbox, all of my others are indexing successfully. When I looked up the error it stated that the error was a generic memory error and closing and restarting the GroupWise client would fix the

  • Cant use DAQ from MAX in LABView

    I am new to LABView and NI-DAQ and have some problems getting it going. I have LABView 6.1 and NI-DAQ 6.9.2 installed on a Windows XP operating system. The DAQ card is an AT-MIO-16E series,is installed and is visible in MAX under the "Devices and Int