Microsoft SQL Datasource Connection Error

I am trying to connect to a MS SQL database and keep
recieving a connection refused error. the error is:
Connection verification failed for data source: hbsdb
java.sql.SQLException: [Macromedia][SQLServer JDBC
Driver]Error establishing socket. Connection refused: connect
The root cause was that: java.sql.SQLException:
[Macromedia][SQLServer JDBC Driver]Error establishing socket.
Connection refused: connect
I am new to MS SQL and dont know if i have it set up
correctly. My parameters for the DS are as follows:
Server: localhost port 1433 (if i change it to (local) the
request times out)
I have DS, Database, login, password all defined. The
password and name is for cold fusion to be able to run queries and
stuff correct? it is not a password set to access the database? The
database has been imported from a system back up and is located at
ServerName\Databases\DB_Name. Do i need to connect the DB to MS SQL
Server in any way? I can
view the database tables, columns but not connect. any help
would be greatly appreciated.
I am running Microsoft SQL Server 2005 180 evaluation,
Windows XP SP2, ColdFusion MX 7.1 developers edtion.
Thanks
Drew

Ok guys thats for the help, I got by that problem but now im
onto another one. ONce again i am not familiar with MS SQL and i
assume this is just a simple error in a login name or permission.
The database has been imported from a back up and i can navigate to
the different tables but i still cannot connect to the database
throough CF. I get the coldfusion error:
Connection verification failed for data source: ds
Cannot open database "DB1" requested by the login. The login
failed.
Do i need to set up a mysql account to login into that is the
same user name and password as used in CF Administrator? I guess
that is a stupid question the question is how do i create a new
login for this. When i browse the database and look at the security
tab of the server and database i have the login name and pword in
there.
Should the username and pword in my application.cfm, CF
Administrator and MS SQL all be the same? again sorry about the
stupid questions. if you need any more information just let me
know. I appreciate the help.
Drew

Similar Messages

  • 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 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.

  • 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 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

  • SQL Developer Connection Error: Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection

    Hi, I'm running the following setup:
    Mac OS X 10.8.4
    Virtual Box 4.2.16 r86992
    Oracle Developer Days (don't know the version, just downloaded it)
    SQL Developer 3.2.20.09
    Networking is host-only, I tried bridged but that doesn't make a difference for the problem at hand. I can ping my virtual box just fine, telnet to port 1521 looks good too:
    $ ping 192.168.56.101
    PING 192.168.56.101 (192.168.56.101): 56 data bytes
    64 bytes from 192.168.56.101: icmp_seq=0 ttl=64 time=0.449 ms
    ^C
    --- 192.168.56.101 ping statistics ---
    1 packets transmitted, 1 packets received, 0.0% packet loss
    round-trip min/avg/max/stddev = 0.449/0.449/0.449/0.000 ms
    $ telnet 192.168.56.101 1521
    Trying 192.168.56.101...
    Connected to 192.168.56.101.
    Escape character is '^]'.
    asdf
    asdf
    Connection closed by foreign host.
    When I create a new connection with sql developer, with the same hostname / IP (192.168.56.101), Port 1521 (didn't change that) and SID orcl, basic connection type, it can't even connect, throwing the error mentioned in the subject:
    Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
    I have looked at various threads in the forums here but I'm still stymied why the connection seems to be ok, yet sql developer has problems with it. If I create an ssh tunnel so sql developer only has to connect to localhost it works:
    ssh -L 1521:192.168.56.101:1521 -l oracle 192.168.56.101
    Message was edited by: 2a2e67cd-b5b2-4229-9fa6-21f5dfe0760d

    Hi Ali,
    This may be of varoius reasons..
    Is the database that you are connecting on the same PC?
    You have specified Hostname: localhost.
    If not please replace it with the IP of that server.
    Else please check whether the database listener is started or not. if not please start the listener.
    Check the SID by tnsping command.
    Hope this will help you..
    Thanks
    Ashok

  • Cf builder 2.0.1  has MS SQL 2008 connection error

    when i try to create Apptacular generation   with Mssql 2008  and msAccess  :  on  CfBuilder2.0.1
    An Error has occured.
    Message:Element IDENTITY.IDENTITY is undefined in a CFML structure referenced as part of an expression.
    Details:
    this issue written on Github by the apptacular app creator, and has some solutions(not clearly described as solution) and app writers solution didnt worked for me...
    I need  correct  solution,  if its possible by correct files?(2 years ago this product was same condition and purchased it 2013 february, its has still same error...)???

    FIX FOR SQL SERVER ONLY!!!
    I wrote this simple script to get the names of all the system views in SQL server - I'm sure M$ add new tables and as Terry appears to no longer develop apptacular he won;t be aware of the new views. Simply run the script and copy and paste the list of views it creates. Instructions will be displayed after running the script........
    <cfdbinfo name="dbi" datasource="yourdatasource" type="Tables">
    <cfquery name="dbi" dbtype="query" >
    select * from dbi where table_type='VIEW'
    </cfquery>
    <cfoutput>
    Copy the quoted values below and paste them at the bottom of /handlers/cfc/db/datasource.cfc just below the last excludedTableList (About line 455)<br><br>
    excludedTableList = excludedTableList & ",#replace(listQualify(valuelist(dbi.table_name), "'"), ",'", ", '", "all")#";
    </cfoutput>
    Hope it helps

  • 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

  • Oracle sql developer connection error

    Hello everyone;
    i have recently installed oracle sql developer on linux, i have been using oracle sql plus tool to access oracle; but when i am tryin to connect to oracle with sql developer its giving errors,
    Error says:
    an error was encountered performing the requested operation;
    io exceprion: The network Adapter could not establish the connection
    vendor code 17002
    now i dont know what to do? Is there who can help me pls, i think i am close: is there any .xml file anywher in my database which i have to get connection details from? If yes pls lemme know. Thanks.

    This typically indicates that the connection to the database was unsuccessful (incorrect values in client tnsnames.ora). Are you able to tnsping the database successfully from the client ?
    lo exception: The Network Adapter could not establish the connection
    HTH
    Srini

  • SQL Remote Connection Error 26 with pictures

    Hi.
    I am trying to connect SQL Server 2012 via internet, but I cannot. I do the following steps:
    1- I tuned up my modem settings for port forwarding to my computer: (TCP: 1433, UDP: 1434, Computer Name: TURAN, LAN IP: 192.168.1.27)
    http://i.stack.imgur.com/zsh1g.png
    2- SQL Configuration Settings:
    http://i.stack.imgur.com/hHVWt.png
    3- Protocol Settings for SQL:
    http://i.stack.imgur.com/GQfW2.png
    http://i.stack.imgur.com/letwP.png
    4- Windows Firewall Settings:
    http://i.stack.imgur.com/uFIdQ.png
    http://i.stack.imgur.com/sJmSH.png
    5- Port Check via PortQry:
    http://i.stack.imgur.com/QDxwH.png
    6- SQL Succes Login:
    http://i.stack.imgur.com/XQcaE.png
    7- SQL Failed Login:
    http://i.stack.imgur.com/k4mrs.png
    Any ideas?

    Hi alazarbaharu,
    Agree with Kiran. And  also put sqlbrowser.exe into Windows Firewall exception.
    According to your number 7 link, I got that you encountered a failure when using sa account to login in SQL Server. To troubleshoot this issue, please follow the steps below.
    1. Make sure that SQL server is in mix authentication mode. In SQL Server Management Studio Object Explorer, right-click the server, and then click Properties, on the Security page, check Server authentication. After changing the authentication mode, we
    need to restart SQL Server.
    2. Make sure the sa login is enabled in SQL Server. In Object Explorer, expand Security, expand Logins, right-click sa, and then click Properties. On the Status page, check if the sa login is enabled, and on the General page, confirm the password.
    Thanks,
    Lydia Zhang

  • I met an error when connect to oracle db with tag sql:DataSource

    When I use the jstl tag <sql:DataSource> connect to oracle db ,I met an error as :
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver"
    My Source code as follow:
    <sql:setDataSource var="dataSource" driver="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@192.168.1.220:1521:gzserver" scope="request" user="lnmisscall" password="lnmcadmin"/>
    <sql:query dataSource="{$dataSource}" var="data">
    I am sure the connection information are right (I can connecte to the db with them in jsp & java bean) , and I have put the oracle's jdbc driver under the tomcat/common/lib folder,
    Please help me to fit it ,thanks.

    Sabrina,
    Its all dependent on the application and whether its 32-bit or 64-bit.  For example, SSRS reporting services 2008 R2 is a 64-bit application, so load the 64-bit oracle client there for report execution.  Report builder is a 32-bit client application,
    assuming its running on a different machine, so load the 32-bit oracle client on any user computers using RB 3.0 and working with Oracle.  If the computers are one in the same, then do as the post above says, load both...

  • Error -While create a connection to Microsoft SQL Sever from Oracle SQL Dev

    Dear All,
    While I am trying to create a connection to Microsoft SQL Sever from Oracle SQL Developer. The following error: "Cannot connect to Microsoft SQL Server on localhost" has been occurred.
    Can anyone please guide me to solve this..
    Thanks in advance,
    Rider

    Hi,
    Issue not supported in sharepoint on-premise team.
    In addition, as this issue is related to Powerview, I suggest you create a new thread on for Powerview forum, more experts will assist you.
    https://social.technet.microsoft.com/Forums/en-US/home?forum=powerview
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • VMware SQL 2008R2 bcp error - SQLState = 08001, NativeError = 0 Error = [Microsoft][SQL Server Client 10.0] Client unable to establish connection due to prelogin failure

    Can someone help me resolve this error?   Thanks  
    Windows Server 2008 R2  Standard SP1 64-bit -  SQL Server 2008R2 Standard 64-bit 
    VMware vCenter Server Version 5.1.0
    SQLState = 08001, NativeError = 0
    Error = [Microsoft][SQL Server Native Client 10.0]Client unable to establish connection due to prelogin failure
    bcp program: 
    bcp SYM.dbo.ACCOUNT in "D:\Data\SQLExtract\EXTRACT.ACCOUNT" -f"D:\Data\SQLCommands\FMT.ACCOUNT" -S DEV-DATA\TEST\ -T -oSYMLOAD.LOG Type SYMLOAD.LOG >> SYMLOAD.LOG.CUMULATIVE
    The bcp program executes successfully on a local instance of SQL Server.

    The error has nothing to do with BCP as such, but it is a connection problem. That is, for some reason you cannot connect to your instance from the VM. I would exect that you face a similar problem if you tried SSMS.
    It could be a firewall issue, but prelogin suggests that you reach the instance. But possibly you don't come far enough for the login failure to be recorded. Possibly the instance is not configured to audit login failures.
    The message you would see would be similar to
    2010-08-18 14:11:30.91 Logon       Error: 17809, Severity: 20, State: 3
    Possibly followed by a a line that details the message. The error number may be different.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Can't connect to the database after 1-2 day, Named Pipes Provider, error: 40,Microsoft SQL Server, Error: 121

    HI
    I have a problem. I can't connect to the database. It said : 
    An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider,
    error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 121)
    When I restart the server, I can connect normally. But after 1-2 days, it can't be connected. 
    How can I fix this?

    Hi Lee,
    Please refer to the following article to configure SQL Server 2005 to allow remote connections:
    http://support.microsoft.com/kb/914277/en-us
    Regards,
    Elvis Long
    TechNet Community Support

  • Unable to save a report that includes a datasource of "Microsoft SQL azure" type

    I have install SSRS in azure using the following instructions (http://msdn.microsoft.com/en-us/library/dn449661.aspx) and all seems to work fine, however when I create a report in report builder 2014 (in this case empty) that includes a Microsoft SQL Azure
    datasource type I am unable to save the report and get the following error message (even though when I test connection it succeeds). 
    "The report definition was saved, but one or more errors occurred while setting the report properties"
    Reports with standard sql datasources work fine.
    I have also tried creating the report using Visual Studio 2013 and get a similar error message.
    I have tried this using SQL 2012 and SQL 2014 and get the same error.
    Does anybody know how I can create a report with Microsoft SQL Azure datasource type?

    Hi jamesla,
    Based on my research, the issue can be caused by a deleted shared data source still exist under the Data Sources list in Report Builder. For more details about this scenario, we can refer to the following thread:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/7170dbee-048c-4298-89ba-df4d42924c8e/the-report-definition-was-saved-but-one-or-more-errors-occurred-while-setting-report-properties?forum=sqlreportingservices
    Since the error message without detail information, we can try to render the report to see the detail error message. Besides, we can try to check it in the log file. The SQL Reporting Services log files are found on the reporting services point server, in
    the folder %programfiles%\Microsoft SQL Server\<SQL Server Instance>\Reporting Services\LogFiles.
    For more information about how to use Microsoft SQL azure as the data source of a report, please see:
    http://msdn.microsoft.com/en-IN/library/ff519560.aspx
    http://programming4.us/database/2158.aspx
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for

  • SOAP to JDBC Synchronous scenario

    Hi experts As per my requirement iam going to do SOAP to JDBC. Please guide me how to do SOAP to JDBC (synchronous) through XI .any step by step docs or blogs related to this please forward to [email protected] if helpful points will be rewarded. Reg

  • Acrobat Pro 8 will not print some graphics, any ideas?

    I am printing from Word 2007 to an Acrobat Pro 8 PDF.   When I do so, some of the graphics will not show up.   They seem to be in the document as when I highlight them, they show they are blocked and I can actually copy the stuff by highlighting it a

  • How to use my non-iCloud email with iCloud calendar events

    Is there a way to use my regular email address (non iCloud) to receive iCloud invites? My contacts don't know my iCloud account, they only know my regular email address so they will send messages, calendar invites, etc to my regular email which is no

  • CE portal vs regular portal

    Hi, CE 7.1 comes with a simplified portal. The CE portal cannot be used as the main portal, a FPN has to be set up between the main 7.0 and the CE 7.1 portal. This makes sense now, when 7.1 runs on JEE5, but when there will be a generally available E

  • Where to find BasicPasswordLoginModule ... ?

    Hi, I want to do a very minor modification to the BasicPasswordLoginModule. In which jar is this class file present to modify? could some one please guide me in this regard. Regards MMK