SQL Server Connection errors

I am receiving the following error when attempting to open a SQL Server connection in a C# console application:  "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) SQL Error"
1) my coworker built the project on his machine (same code) and the project works - no errors
2) I used the identical connectionstring (same code for that matter) in a server app vs. console app - no errors
3) I built the connection using project properties/settings (Properties.Settings.Default) - test the connection on the Connection Properties window - "Test connection succeeded."  Use the connection in my project to open a connection -
receive error.
4) ping to server - no errors
5) I used PL/SQL developer to connect to server using same connection information - no errors
6)  I installed Visual Studio 2013, built the project - receive error
I am stuck at this point.  Can anyone help?
Thank-you,
Barbara Velasco

Hi Barbara,
Firstly, please make sure that the SQL Server Services are running. Other reasons could be incorrect connection string, firewall block the connection and so on. Please refer to the following article to troubleshoot this issue:
http://stopdebugging.wordpress.com/2013/12/16/error-unable-to-connect-to-the-database-a-network-related-or-instance-specific-error-occurred-while-establishing-a-connection-to-sql-server/
In addition, here are some good articles regarding troubleshoot SQL Server connectivity:
SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified:
http://blogs.msdn.com/b/sql_protocols/archive/2007/05/13/sql-network-interfaces-error-26-error-locating-server-instance-specified.aspx
http://www.aspsnippets.com/Articles/Exception---error-26---Error-Locating-Server-Instance-Specified.aspx
If you have any feedback on our support, please click
here.
Regards,
Elvis Long
TechNet Community Support

Similar Messages

  • SQL server connection error in sharepoint

     
    We are getting below error with inetgrated security and custom DB sql server connection in sharepoint 2013.
    This connectionstring works in dev with SQL username and password but in QA we are changing it to integrated authority.
    <add name="OurConnectionString" connectionString="Data Source=OurDB;Initial Catalog=Catalogname;Integrated Security=SSPI" providerName="System.Data.SqlClient"> (This does not work in QA)
    <add name="OurConnectionString" connectionString="Data Source=OurDB;Initial Catalog=Catalogname;User ID=user1;Password=ourpwd" providerName="System.Data.SqlClient" /> (This works in dev)
    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)     at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader
    dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)     at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet
    bulkCopyHandler, TdsParserStateObject stateObj)     at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)     at System.Data.SqlClient.S...
    c62c629c-6890-d0e5-d8a0-91d367f84202
    12/20/2013 10:29:31.55* w3wp.exe (0x2434)                      
    0x1EC0
    Unknown                      
    00000
    Unexpected ...qlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)    
    at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
        at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)  
      at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnecti...
    c62c629c-6890-d0e5-d8a0-91d367f84202
    12/20/2013 10:29:31.55* w3wp.exe (0x2434)                      
    0x1EC0
    Unknown                      
    00000 Unexpected
    ...onString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions)     at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions
    options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)     at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool
    pool, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)     at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnectionOptions userOptions)     at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbCon...
    c62c629c-6890-d0e5-d8a0-91d367f84202
    12/20/2013 10:29:31.55* w3wp.exe (0x2434)                      
    0x1EC0
    Unknown                      
    00000 Unexpected
    ...nectionOptions userOptions)     at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions,
    DbConnectionInternal& connection)     at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)    
    at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)     at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection
    outerConnection, DbConnectionFactory connectionFacto...
    c62c629c-6890-d0e5-d8a0-91d367f84202
    12/20/2013 10:29:31.55* w3wp.exe (0x2434)                      
    0x1EC0
    Unknown                      
    00000 Unexpected
    ...ry, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)     at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)     at System.Data.SqlClient.SqlConnection.Open()     at DBManager.ConnectionOpen()
    c62c629c-6890-d0e5-d8a0-91d367f84202
    12/20/2013 10:29:31.74 w3wp.exe (0x2434)                      
    0x1EC0
    SharePoint Foundation         Claims Authentication        
    aebgg High   
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

    Hi,
    According to your post, an error occurred when you connect SQL Server in SharePoint.
    We can do as follows:
    1. Try to replace Integrated Security=SSPI with Integrated Security=True
    2. Check whether there is <identity impersonate="true" /> under <system.web> tag in web.config.
    Here are two articles for you to take a look at:
    http://blogs.windwardreports.com/tomasr/2010/09/login-failed-nt-authorityanonymous-logon-integrated-securitysspi-vs-integrated-securitytrue.html
    http://www.layer2solutions.com/en/community/FAQs/BDLC/Pages/How-SharePoint-BDLC-used-with-integrated-security-trusted-connection.aspx 
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Sql server connection error

    Hi All,
    I am pulling data from SQL server(view) using WCF-SQL adapter, in DEV it's working fine and in test following is the error
    I have checked the credentials and server name all are fine, But i couldn't figure out the issue.
    Thanks in Advace
    Recloc_WCFSQL
    mssql://SQLSERVERTest/biztalkdb?InboundId=xyz
    WCF-SQL
    Microsoft.ServiceModel.Channels.Common.ConnectionException: 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) ---> 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) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock,
    Boolean asyncClose) at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover)
    at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover) at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo
    serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout) at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer
    timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance) at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString
    connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions
    options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection
    owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
    at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout,
    Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions
    userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal&
    connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection
    outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1
    retry) at System.Data.SqlClient.SqlConnection.Open() at Microsoft.Adapters.Sql.SqlAdapterConnection.OpenConnection() --- End of inner exception stack trace --- at Microsoft.Adapters.Sql.SqlAdapterConnection.OpenConnection() at Microsoft.Adapters.Sql.ASDKConnection.Open(TimeSpan
    timeout) at Microsoft.ServiceModel.Channels.Common.Design.ConnectionPool.GetConnection(Guid clientId, TimeSpan timeout) at Microsoft.ServiceModel.Channels.Common.Design.ConnectionPool.GetConnectionHandler[TConnectionHandler](Guid clientId, TimeSpan timeout,
    MetadataLookup metadataLookup, String& connectionId) at Microsoft.ServiceModel.Channels.Common.Channels.AdapterChannelListener`1.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan
    timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiveEndpoint.Enable()
    at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiveEndpoint..ctor(BizTalkEndpointContext endpointContext, IBTTransportProxy transportProxy, ControlledTermination control) at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiver`2.AddReceiveEndpoint(String url,
    IPropertyBag adapterConfig, IPropertyBag bizTalkConfig)

    The first few things to check would be
    Is TCP/IP Protocol enabled on the Test SQL Server Instance?
    If it is configured is it running on the default port or a different port has been specified? In case a different port has been specified then your configuration URI should reflect that OR the SQLBrowser service needs to be running
    The MS DTC configuration on the SQL Server need to have been configured with BOTH inbound/outbound enabled (Component Management - DTC)
    The Windows Firewall on the BizTalk Server Test should be a) disabled or b) configured to permit connection to the SQL Server on either 1433 or the specific instance port.
    Regards.

  • Oracle8i to SQL Server Connectivity Errors

    I am having following error messages while setting up the ODBC connectivity between Oracle8i and SQL Server 7. I want to access SQL Server 7 tables from within Oracle8i. I have followed all the instruction of Oracle Generic Connectity document and have tested ODBC connection with ODBCPING as well as with TNSPING, these shows correct connectivity. I have also created Database Link within Oracle8i for SQL Server. After that when I access the SQL Server table from within Oracle I get the following error message.
    ORA-12500: TNS:listener failed to start a dedicated server process
    Could any body suggestion the solution please.
    Thanks and regards,
    Ghulam Mallah

    Following is the tnsnames.ora
    SPSLME =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 9adwea)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = SPSLME)
    FDMSQL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 9adwea)(PORT=1521))
    (CONNECT_DATA =
    (SERVICE_NAME = FDMSQL)
    (HS = OK)
    9adwea is the name of host while FDMSQL is the DSN.
    Following is the listener.ora file.
    # LISTENER.ORA Network Configuration File: C:\oracle\ora81\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 9adwea)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\ora81)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = SPSLME)
    (ORACLE_HOME = C:\oracle\ora81)
    (SID_NAME = SPSLME)
    (SID_DESC =
    (GLOBAL_DBNAME = FDMSQL)
    (ORACLE_HOME = C:\oracle\ora81)
    (SID_NAME = FDMSQL)
    While in oracle\ora81\hs\admin folder following are the names of files
    1. initfdmsql.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = FDMSQL
    HS_FDS_TRACE_LEVEL = ON
    # Environment variables required for the non-Oracle system
    set odbcini=C:\WINNT\odbc.ini
    LISTENER.ORA is :
    # This is a sample listener.ora that contains the NET8 parameters that are
    # needed to connect to an ODBC Agent
    LISTENER =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=9adwea)(port=1521))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=FDMSQL)
    (ORACLE_HOME=/private/app/oracle/product/8.1.6)
    (PROGRAM=FDMSQL)
    CONNECT_TIMEOUT_LISTENER = 0
    TNSNAME.ORA is the following:
    # This is a sample tnsnames.ora that contains the NET8 parameters that are
    # needed to connect to an ODBC Agent
    FDMSQL = (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=9adwea)(PORT=1521))
    (CONNECT_DATA=(SID=FDMSQL))
    Best regards,
    Ghulam Mallah

  • Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection

    "[DBNETLIB] Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection"
    After patches applied on patch Tuesday the database reports the above error. 
    All accounts are domain accounts and SQLServer uses Windows auth.
    DCDIAG show no errors
    All servers and DC have been restarted,
    Message in db log confirms the connection is being denied due to trust.
    Event log shows same rejection
    Protocols enabled: named pipes, tcpip, memory
    TESTS:
    PortQry: "
    TCP port 1433 (ms-sql-s service): LISTENING"
    Connect with domain admin accounts works from multiple clients systems to DB.
    Cannot connect with newly created domain admin account
    Can connect if new admin account connect to server in terminal server session and uses UDL wizard or any other tool including isql.
    New standard user also fails to connect.
    NOTES:
    I removed the SSL patch and the IE security update to see if that was an issue.
    ¯\_(ツ)_/¯

    Has someone left the company or has an account of some nature been dropped/replaced?
    Please click "Mark As Answer" if my post helped. Tony C.
    Hi Tony,
    Srry but No.  We just installed the monthly updates.
    I went back and found I had missed removing a patch.  I missed the rollup for Windows Server 2003:
    Event Type: Information
    Event Source: NtServicePack
    Event Category: None
    Event ID: 4382
    Date:  3/12/2015
    Time:  12:26:04 PM
    User:  NETTEST\admin
    Computer: DATA1
    Description:
    Windows Server 2003 KB954920 was removed from your computer, and the previous Windows Server 2003 configuration was restored.
    After I removed that is still didn't work but after about five minutes it started working.
    I guess I ned to report that to MS after I research what might be changed to make the patch work.
    Every time I get stuck and ask for help it seems to be just before I stumble on the solution.
    Thanks for replying.
    Well - maybe this will help someone else.
    Thanks again for replying Tony
    ¯\_(ツ)_/¯

  • Problem with scanning - printer display shows "Server connection error"

    My printer has been working great and I have had no problems with scanning.  But two days ago, all of a succen I rec'd message "server connection error".  I tried to send to email as well as computer.  Got the same message.  As usual, I don't recall any action on my part that could have caused this problem.    The copying and printing functions work fine. Detailed advice to someone technically challenged will be much appreciated.  Thank you.

    Ran
    into a problem with connecting to the DB on the SQL server from the IPAM server.  The Dba and I checked the target SQL instance was enabled TCP and listening on a valid TCP port.  SQL server was set to use port 1443 for incoming connections. 
    IPAM was set by default to use 1433. 
    Also used
    netstat-n to identify issue and verified 1443 on SQL server was
    being used.  Made the correction under the IPAM provisioning wizard and connected to the database.  Fixed. 
    Important note I was able to connect to the database with a .udlfile
    without any issues
    Also note that 2012 R2 IPAM only supports 2012 SQL Enterprise.  Why?

  • Can't create an MBO object using an SQL Server connection profile

    Hi all,
    I'm trying to create an MBO from an table using an SQL Server connection profile. The connection is fine but when i grag a table into Mobile Application Diagram in order to create an MBO i got the following exeption:
    I´ve already configured the necessary jar (sqljdbc4.jar) in the following directories:
    C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\lib
    C:\Sybase\UnwiredPlatform\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.com.sqlserver_2.1.0.201109131337
    but i always get the same error.
    Any help, suggest would be apreciated
    thx,
    Nuno

    Hi Nuno,
    I just wanted you to verify the path where you have pasted JAR file. As you mentioned
    Path 1:
    C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\lib
    but as per doc it should be under:
    C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\lib\3rdparty
    Path 2:
    C:\Sybase\UnwiredPlatform\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.com.sqlserver_2.1.0.201109131337
    but as per doc it should be under:
    C:\Sybase\UnwiredPlatform\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.com.sqlserver_2.1.0.201109131337\lib
    Rgrds,
    JK

  • Unix: SQL Server Connection with ODBC (CRsqls24.so)

    Hi,
    I almost find no information how to set up a SQL Server connection using ODBC on a unix platform.
    This is what I get when I try to refresh my crystal report on my BO Server (4.1):
    "The viewer could not process an event. Error in file XXX.rpt:
    Error loading database information"
    .) is the port number really separated from the server by comma? (http://help.sap.com/businessobject/product_guides/boexir4/en/xi4sp10_data_acs_en.pdf)
    .) where is the right place to speficy the SQL Server isntance name (SQLInstanceA in this case)? I didn't find any information about that?
    [MYDB]
    Driver=/opt/BOBJ/xir4/sap_bobj/enterprise_xi40/aix_rs6000/odbc/lib/CRsqls24.so
    (for 64bit: Driver=/opt/BOBJ/xir4/sap_bobj/enterprise_xi40/aix_rs6000_64/odbc/lib/CRsqls24.so)
    Description=MYDB
    HostName=100.10.10.10,1433\SQLInstanceA
    Database=MYDB
    QuotedId=Yes
    AnsiNPW=No
    LogonID=ABC
    Password=abc123
    Thanks!

    First off, let me say that in the past (pre v9) when I've tried to use Windows logins with datasources, it never worked.  But that doesn't mean that they finally got it working, just that I stopped trying.
    What I was referring to in my post is that once you have CF installed, you need to go to the Windows Services screen, open each of the CF processes, click on the LOGIN tab, and change it from the default services login to be whatever WIndows login you have setup in Active Directory.  Then restart CF so that it's process is now running under that login with its credentials.  Then go to SQL Admin and setup that same login and give it access to the database you want to access.  Then go to CF Datasource menu and setup the datasource as you did previously.  If CF's support of Windows authentication for datasources does in fact now work, you should be in business.
    If it doesn't work, then you'll need to do as I said earlier, and setup SQL logins for the CF servers to use, and then in the CF Datasource setup screens you would specify that login info in the same way that you would have given it the "sa" login info.
    -reed

  • 30EA2 - Feedback on Microsoft SQL Server connectivity

    I think Oracle SQL Developer is great! But I also think it could be better.
    I believe Microsoft SQL Server connectivity in SQL Developer could/should be stronger/simpler if, for no other reason, than the simpler it is the more likely there will be converts.
    In Help -> Check for Updates ... I'd propose an Update Centre something like External DB connectivity or Third Party DB connectivity. In other words, make it obvious.
    Failing that, or perhaps in addition, instead of calling it JTDS JDBC Driver 11.1.1.58.17 why not Microsoft SQL Server connectivity, with JTDS ... in the description?
    And then, this is the big one, make installing the JTDS JDBC driver update actually enable connectivity to MS SQL Server.
    Initially trying to connect to a MS SQL DB, having installed no updates, I get the error:
    An error was encountered performing the requested operation:
    Driver class not found.
    Verify the Driver location
    Vendor code 0
    SQL Developer "knows" I'm trying to connect to a MS SQL DB, so why not a slightly more helpful error?
    After installing the JTDS JDBC Driver I do get a slightly more helpful error (in that it contains key words I can Google):
    An error was encountered performing the requested operation:
    I/O Error:  SSO Failed:  Native SSPI library not loaded.  Check the java.library.path system property.
    Vendor Code 0
    Connectivity only begins to work after I do this/these additional step/s:
    Copy the file 'jtds-1.2.2-dist\x86\SSO\ntlmauth.dll' from the unzipped JTDS --> <SQL Developer Home>\jdk\jre\bin. Then restart SQL Developer.
    With thanks to:
    http://www.dbforums.com/microsoft-sql-server/1612362-java-sql-sqlexception-i-o-error-sso-failed-native-sspi-library-not-loaded.html#post6368137
    Then, and only then, it works just fine.
    With thanks for Oracle SQL Developer,
    Garth
    Windows XP SP3
    Oracle SQL Developer 3.0.02.83

    Well to be honest there is no good reason to use access to connect to PeopleSoft But we see the same problem in a totally unrelated program called RFGEN or even Crystal Reports through odbc. The Problem is I did not want to field all the questions about RFGEN.(what it is, how it works, must be something wrong with it etc...) I would have thought that someone has connected and used Access. RFGEN is a third scanning System that works with our existing system on SQL Server and we want to keep it and use it with the PeopleSoft.

  • SQL Server Connection Issue

    I've tried going through the steps to resolve the issue, but I am still coming up blank. The part that I am not understanding is the, "A non-recoverable error occurred during a database lookup." part.
    Is this a security problem? I can establish an ODBC connection to the server as well as connect and query through visual studio, however when trying to run it through one of our custom programs, it throws this error message. 
    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:
    TCP Provider, error: 0 - A non-recoverable error occurred during a database lookup.)

    There are many reasons of SQL server connectivity issue. Refer checklist to find out the real cause of connectivity issue.
    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
    10. Run SQL Discovery report on machine SQL server installed, to check you are using correct instance name to connect( default \named) -http://mssqlfun.com/2013/02/26/sql-server-discovery-report/
    http://mssqlfun.com/2012/09/28/check-list-for-sql-server-connectivity-issue/
    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.

  • App File Server connection error when trying to run a BI Publisher report..

    hello Gurus...
    As above - App File Server connection error when trying to run a BI Publisher report.. FOR THE FIRST TIME.
    What does our DBA need to do..?
    error message reads..
    Template code: SUARXASR
    Template app:  AR
    Language:      en
    Territory:     GB
    Output type:   EXCEL
    [5/10/10 10:59:27 AM] [UNEXPECTED] [46321:RT1487572]
    oracle.apps.fnd.cp.util.RemoteFileException: An error occurred while attempting to establish an Applications File Server connection with the node FNDFS_*****.ac.uk. There may be a network configuration problem, or the TNS listener on node FNDFS_*****.ac.uk may not be running. Please contact your system administrator.
    at oracle.apps.fnd.cp.util.RemoteFile.readURL(RemoteFile.java:241)
    at oracle.apps.fnd.cp.util.RemoteFile.transferFile(RemoteFile.java:194)
    at oracle.apps.fnd.cp.util.RemoteFile.transfer(RemoteFile.java:130)
    at  oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:264)at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    [5/10/10 10:59:27 AM] [46321:RT1487572] Completed post-processing actions for request 1487572.I'm sure we never had to set anything up in our Test instance!??!!??
    many thanks for looking..
    Steven

    nobody experienced this before..?

  • HP Photosmart 6520 Server Connection Error: -1: Apps don't work and Scan to email doesn't work

    My HP PhotoSmart 6520 has a persistent error to connect to the server and therefore Apps and Scan to email doesn't work.
    I have manually set DNS to 8.8.8.8 / 8.8.4.4, I have installed latest driver on my Macbook pro, I have updated firmware, but still not working. Weird is also that in my ePrintCenter, the Apps I see there are not in line with thos visible on the printer.
    Detail is that I have set up the printer on a Windows PC but recently changed to Mac.
    Printing, scan to Computer all works fine.
    Help! I have read a lot on forums but so far no solution for me!

    Hi Jack6520,
    Welcome to the HP Support Forums.  I see that you are unable to connect to the apps and use the scan to email feature of your Photosmart 6520 printer due to a server connection error.
    First off, thank you for the very detailed information, I really appreciate it.
    To better assist you, would you please provide some additional information:
    When you set the manual DNS servers, did you also set a manual IP address for the printer?
    Have you changed routers or internet service providers recently?  Have you updated the firmware on the router? If you have an ISP-provided router, do you know if they pushed out a firmware update?
    Have you recently installed any new anti-virus/malware software?  If so it may have blocked the ports the printer uses to communicate.  I’ve included a post by VisionAiry titled “Check the Anti-Virus for Blocked Ports and Timed Scans”. 
    Do you have a guest network setup? Please Print a Network Configuration page. It will let you know how many networks the printer sees. A guest network will have the same name as your network with a tag about it being the guest network.
    Previously did you customize the printer’s ePrint email address? I’m asking this because I might ask you to disable then enable the web services.  If we have to take this step you will lose the customized ePrint email address without any ability to get it back.
    What version of Mac OS X are you using? whatsmyos.com
    Are there any cables other than the power cable connected to the printer?
    Thank you.
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • Why am I getting this error message when trying email a PDF?Server Connection Error. Please verify that port 143 is available for connection on your machine or contact your administrator.

    My Inspector for my house sent me his report via PDF that I had to access from an online link. I downloaded it but cannot forward it in an email to my insurance company who is requiring a copy. I get this error report every time:
    Server Connection Error. Please verify that port 143 is available for connection on your machine or contact your administrator.
    I have no idea what this means. Can someone help? I really don't want to have to print and scan this beast but I've been messing with this for 2 days now and am out of ideas.
    Thanks!

    I'm having the same issue.  Did you resolve it?

  • Will someone please help me set-up Acrobat to send a PDF via webmail?  Acrobat returns a message "Server Connection Error .... Port 143 unavailable"

    Will someone please help me set-up Acrobat to send a PDF via webmail?  Acrobat returns a message "Server Connection Error .... Port 143 unavailable"

    Are you using a Microsoft or Apache web server? If so, you can submit to a server-side script, which will bypass web mail and client-side email software such as OUTLOOK.
    For examples:
    http://www.nk-inc.com/software/pdfemail.net/examples/

  • ABAP server connection error

    Hi All,
    Ours is a working BPC system. Today we are simply not able to connect to BPC excel or admin. When we checked the back end by logging into the server machine and running the server diagnostics, found that 'SAP Connection' is not successful. This is same message we are getting when logged on to the server machine 'ABAP server connection error". Something went wrong. Any idea to fix this particular issue without having to reinstall the BPC server program.
    Have tried the below:
    Checked the locks for all system communications users such as BPC_SYSADMIN, BPC_ADMIN, and BPC_USER and no locks ensured.
    Any help to resolve this issue would be highly appreciated.
    Thanks,
    Santosh

    Hi All,
    Yeah the issue is resolved after we had reset the domain id that we linked to different communication purposes between ABAP and .NET systems using UJA3_WRITE_SYSUSERS program. In our case, the problem occured as we have started using the IDs that are set purely for communication between .NET and ABAP systems in the above program for accessing BPC and developing BPC objects. This apparently has caused some disruption and ABAP server connection failed.
    In other words, BPC_ADMIN, BPC_SYSADMIN and BPC_USER which were created in domain as mentioned in the installation guide should not be used to access BPC front end to develop BPC related objects. I hope I understood correctly here.
    -Santosh

Maybe you are looking for