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

Similar Messages

  • 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 2008 Connection from UCCX

    I have done plenty of connections to SQL from UCCX 8.x using the JTDS sourceforge driver.
    The documentation (uccx 9 administration guide) talks about using the "Microsoft SQL Server native Client 10.0 Driver" for SQL 2008.  Is there a JAR file that works for this?  I don't any reference to anything new in the dropdown for driver class name.

    Looks like this comes down to documentation that has been wrong since version 8.0(1).    I found it in the 9.0(2) admin guide.
    Bug: CSCto12196 states that the MS SQL Server Native Client 10 Driver SHOULD read JDTS 1.2.5
    Doens't help with my problem ultimatley, but for those who were confused as me about that little gem in the docs...

  • 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 2008 R2 error: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified

    after some year work with SQL server 2005,i decide change to  SQL server 2008 R2.
    When i completed install SQL 2008 R2,i can't connected to SQL server due to this 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) (.Net SqlClient Data Provider)
    And when i click to technical details,i take some thing like this
    ===================================
    Cannot connect to HUY-PC\SQLEXPRESS.
    ===================================
    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) (.Net SqlClient Data Provider)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1&LinkId=20476
    Error Number: -1
    Severity: 20
    State: 0
    Program Location:
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
       at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()
    Please!!!Some body help me solve this problem(except format my computer),i really really need your advice.

    Hi huydaibang,
    The older version SQL Server 2005 could be installed with SQL Server 2008 R2 side-by-side.  It could not be the problem.
    The reason that we get this error message is the client stack could not receive SSRP response UDP packet from SQL Browser.
    Here are the steps:
    1) Make sure your server name is correct, e.g., no typo on the name.
    2) Make sure your instance name is correct and there is actually such an instance on your target machine.
    3) Make sure the server machine is reachable, e.g, DNS can be resolve correctly, you are able to ping the server (not always true).
    4) Make sure SQL Browser service is running on the server.
    5) If firewall is enabled on the server, you need to put sqlbrowser.exe and/or UDP port 1434 into exception.
    For more information, please refer to
    http://blogs.msdn.com/b/sql_protocols/archive/2007/05/13/sql-network-interfaces-error-26-error-locating-server-instance-specified.aspx.
    Thanks,
    Maggie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.

  • MS SQL 2008 Connectivity

    I have SQL 2008 as back end and .Net exe as front end. When I try to generate the connection file, the system does not at all detect the SQL 2008 Server (it detects SQL 2005 Server). At client side we are running Win XP SP-2 and Win XP SP-3.
    Can I get some solution at the earliest?

    Hello,
    Thank you for your post!  I would suggest creating a new thread for your question in the (SQL Server Developer Center > SQL Server Forums > .NET Framework inside SQL Server ) forum located here:  (http://social.msdn.microsoft.com/Forums/en-US/sqlnetfx/threads).
    Hope that would be helpful.
    Have a great day!
    Thanks & regards,
    Ashawani
    Tier 2 Application Support
    Server and Tools Online Engineering Live Services Team

  • 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

  • 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

  • Sql 2008 r2 error when creating minimum rights to run sql jobs

    I did everything this page said and when I login with the user rights, and I click on JOBS to expand it to see them, I can't see them and I get an error saying:  execute permission was denied on the object 'xp_sqlagent_enum_jobs', database 'mssqlsystemresource',
    schema 'sys'. (Microsoft Sql Server, Error: 229)
    http://msdn.microsoft.com/en-us/library/ms187901(v=sql.105).aspx
    If I look at sql login account, I have PUBLIC checked for Server Roles. I tried changing that to ServerAdmin and it didn't help so I put it back to public.
    On user mapping, I tried checking dbowner, and that didn't help either.
    any help is appreciated.

    @Prashanth, thanks. For me, that was partially the answer, but then i just applied your logic to the other errors.  First, I didn't have the user as a member of the Master DB to even run this command, so I did that.  Then I ran your code and I
    got an error and had to run this: 
    USE master
    GO
    GRANT EXECUTE ON xp_sqlagent_is_starting TO Login
    then I tried and got error so i ran this and then it worked. thank you!
    USE master
    GO
    GRANT EXECUTE ON xp_sqlagent_notify TO Login

  • 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

  • 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

  • Cannot Connect to SQL 2008 Database Error

    I am on Windows Server 2008 with SQL Server 2008 database and even after enabling the "TCP/IP" protocol and also "Named pipes" continue to get "EPMCFG-10368: Cannot connect to database..." error. Any additional troubleshooting steps would be greatly appreciated.

    I am trying to connect to a SQL Server 2008 database. I provided the correct server name, port, db name, user and pswd. When using an ODBC connection I connect without issue. However, when trying to connect via the EPM System Configurator I get an error.

  • BPC 70 SP4 and SQL 2008 SP1 build 10.00.2531

    I am preparing a single server environment to host BPC 70 SP4.  The prerequisites indicate SQL 2008 with cumulative update pack 2 is supported (build 10.00.1779).  Will SQL 2008 SP1 (build 10.00.2531) work also?

    John,
    It will work but due to a critical issue of CU1. I recommend using CU2 or later.
    Thanks.
    James Lim.

Maybe you are looking for

  • What is the best qay to create a simple page with three textbox fields

    Hi I try to create a Portal page for Password change. At first look, I taught that to create that basic page will be easy as one, two , three. Unfortunately not. I need to create three textbox and include pl/sql validation agains our BD. I usually wo

  • Ipod  blue playing bar does not move and no sound

    when i go to play music it says it is playing but there is no movement of the bar and no sound can anyone help?? thanks

  • List of SQL tables and attributes used in SSRS reports

    Hi, I have around 450-500 reports deployed in SSRS reporting server. All these reports are built on SQL from multiple databases, and these databases are having unnecessary tables and attributes. My requirement is to clean the unused tables and attrib

  • Sales order should not PGI'd within 80 Hrs

    Hi All, Distributor will create SO today and vendor (logistic partner) will deliver products after 80Hrs from the date of PGI. So if distributor create another SO next day (tomorrow) for same customer and material (irrespective of order value and Qty

  • How to restore a corrupt bookmark file in Mozilla Firefox?

    Hello, I have a problem. I formatted the Disk C when I reinstalled Windows 7 and I recovered the file with bookmark.json with a software. When I tried to restore the bookmark I got this error. Unable to process the backup file. Probably is corrupted