SQLDeveloper cannot connect to SQL Server named instances

I'm trying to connect to a SQL Server 2005 named instance on my local PC but SQLDeveloper is failing to connect as there is no way to specify the named instance on the connection screen.
For comparison I set up a jdbc connection in JDeveloper and
the connection URL which works in JDeveloper is jdbc:jtds:sqlserver://127.0.0.1:8020;instance=WESTERNEUROPE
Without the instance property JDeveloper gets a connection refused

Set up the connection through SQL developer, then exit the software.
For a sqlserver database like GABRIEL\angel
Modify the URL property in the IDEConnections.xml file
<URL>jdbc:jtds:sqlserver://GABRIEL:1433;instance=angel</URL>
You cannot use Windoze authenrication, and will need a SQL Server named user to connect.

Similar Messages

  • Cannot connect to SQL Server 2008 Express

    I install SQL Server 2008 Express on Windows 7 and make sure SQL Server(SQLEXPRESS) service is running. Then I write a program via Visual C++ & ADO, and try to connect to the local SQL Service instance by using the following SQL connection string:
    “Provider=sqloledb;Data Source=(local);Integrated Security=SSPI;”
    But the connection fails. I try the same code on a computer with SQL Server 2008 Professional installed and it works without problems.
    Please advise. Thanks.

    Hi chcw,
    Are you got any error message/information while connect to SQL Server express instance faild via VC++ & ADO? If so, please post them for further investigation.
    Please also check the windows firewall. Firewall systems help prevent unauthorized access to computer resources. If a firewall is turned on but not correctly configured, attempts to connect to SQL Server might be blocked. For more information, please see:
    http://technet.microsoft.com/en-us/library/cc646023.aspx
    If you have any feedback on our support, please click
    here.
    Regards,  
    Elvis Long
    TechNet Community Support

  • Critical Error: Cannot Connect to SQL Server. {SQL Server} not found. Timeout expired.

    Greetings,
    I have been having some issues with various areas in a SharePoint 2013 farm.  While working my way through a bazillion errors in the event logs, I have found the following error.  It looks to be happening every hour; almost exactly 5 minutes after
    every hour.
    "Cannot connect to SQL Server. A_PROD_SP01 not found. Additional error information from SQL Server is included below.
    Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding."
    I also find, a health analyzer rule that is failing at the same time:
    Availability: One or more servers is not responding.
    However, there isn't any server listed in the Failing Servers section.
    Any thoughts?
    Thank you,
    Bob

    Hi Bob,
    For your issue, it can be caused by that the SharePoint  database access account might not have the necessary permissions to communicate with the SQL Server. Please grant correct permissions to the database access account:
    You must be a member of the Farm Administrators group to perform this task.
    Assign the database access account:
    On the Central Administration home page, click Security and in the
    General Security section click Configure service accounts.
    On the Service Accounts page, in the Credential Management section, in the upper drop-down list click the correct Web application pool for your Web application.
    In the Select an account for this component drop-down list, click the domain account that you want to associate with this Web application pool, or click
    Register new managed account to associate a new domain account with this application pool.
    Click OK to save changes.
    Reference:
    https://technet.microsoft.com/en-in/library/ee513066(v=office.14).aspx
    http://blogs.technet.com/b/wbaer/archive/2009/10/06/intermittent-database-server-connectivity-and-microsoft-sharepoint-products-and-technologies.aspx
    Best Regards,
    Eric
    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]

  • Cannot connect to SQL Server 2008 R2 Express

    I have a database application that connects to the Northwind sample db in MS Access and lets the user perform CRUD operations.
    Now I want to add the same for MS SQL Server, however, I have trouble connecting to it using this connection string:
    I changed the server properties in SQL Server Management Studio to allow windows and SQL Server authentication, yet, I still get this exception when trying to open the connection:
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.
    (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
    I thought it might be because the server is not allowing remote connections and followed this guide to allow remote connections:
    http://www.linglom.com/2009/03/28/enable-remote-connection-on-sql-server-2008-express/
    But the SQL Server windows service won't start. The Browser works fine, but the server doesn't do anything.
    When trying to start it I get this error:
    The request failed or the service did not respond in a timely fashion. Consult the event log or other applicable error logs for details.
    The event log says:
    2011-07-07 17:02:55.35 spid51 Starting up database 'Northwind'.
    2011-07-07 17:02:59.98 spid51 Starting up database 'Northwind'.
    2011-07-07 17:03:03.68 spid53 Starting up database 'Northwind'.
    2011-07-07 17:03:07.01 spid55 Attempting to load library 'xpstar.dll' into memory. This is an informational message only. No user action is required.
    2011-07-07 17:03:07.30 spid55 Using 'xpstar.dll' version '2009.100.1600' to execute extended stored procedure 'xp_instance_regread'. This is an informational message only; no user action is required.
    2011-07-07 17:03:07.76 spid55 Starting up database 'pubs'.
    2011-07-07 17:03:08.89 spid55 Starting up database 'pubs'.
    2011-07-07 17:03:09.30 spid55 Starting up database 'pubs'.
    2011-07-07 17:04:11.37 spid55 Starting up database 'pubs'.
    2011-07-07 17:08:17.28 spid52 Attempting to load library 'xplog70.dll' into memory. This is an informational message only. No user action is required.
    2011-07-07 17:08:17.35 spid52 Using 'xplog70.dll' version '2009.100.1600' to execute extended stored procedure 'xp_msver'. This is an informational message only; no user action is required.
    However, when starting SQL Server Management Studio, I can normally work with the databases, perform CRUD operations, etc.
    I was wondering if it might be a connection string issue.
    I'm using this string:
    @"Server=lolcalhost;Database=Northwind;User ID=BEN-A350C47E32F;Password=;Trusted_Connection=False;";
    I added the Northwind database as data source to the project and the connection string is in the app.config:
    <connectionStrings>
    <add name="NwindConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\Nwind.mdb" providerName="System.Data.OleDb"/>
    </connectionStrings>
    using this code to access it:
    constringServer = ConfigurationManager.ConnectionStrings["NwindConnectionString"].ToString();
    but when using this string I get an ArgumentException:
    Keyword not supported: 'provider'.
    I'd appreciate any help that would let me connect to the server from a program.

    Here is an active Sql connection string we use currently from our app.config file:
    <connectionStrings>
    <clear/>
    <add name="ServerConnectionString" connectionString="Data Source=SqlBox;Initial Catalog=YourCatalog;User Id=Username; Password=password;" providerName="System.Data.SqlClient"/><br/> </connectionStrings>
    here is one for Sql Express:
    <add name="LocalConnectionString" connectionString="Data Source=MachineName\SqlExpress;Initial Catalog=YourCatalog;Integrated Security= true;" providerName="System.Data.SqlClient"/>

  • Open Connection to SQL Server 2000 Instances

    Dear All:
    I always got following error when connecting to a SQL Server 2000 instance:
    "Can't open a socket on NAMNGO\RNDSQLSVR:1433. Check host and port number and
    make sure the
    security manager allows this connection. You can also try running the SocketApplet
    (java.net.UnknownHostException:
    NAMNGO\RNDSQLSVR)"
    I am using Wel Logic 6.1 and SQL Server 2000. SQL Server 2000 has an instance
    named RNDSQLSVR with default TCP port is 1433.
    Is there anyone hit this problem, please let me know.
    Please check the attached file for sample code.
    Thanks,
    Nam Ngo
    [att1.html]

    Hi Sree,
    Thank you for your help. It worked.
    Nam Ngo
    "Sree Bodapati" <[email protected]> wrote:
    Hi Nam,
    The way you do this is by finding out on what port the instance of SQL
    Server you want to connect is listening on. (Use the server network utility
    that comes with SQL Server 2000 for this). Then just mention the
    server=<machine name/ip> of the server this instance is running on. and
    the
    port as the port that is shown by the server network utility as port=<port
    number>. Microsoft specifies NAMNGO\RNDSQLSVR:1433 as the convention
    for
    ODBC but , this driver is a type 4 driver and it needs only the machine
    name
    and port, it doesnt need any instance name.
    (Each instance of SQL Server 2000 listens at a different port)
    HTH
    sree
    "Nam Ngo" <[email protected]> wrote in message
    news:[email protected]..
    Dear All:
    I always got following error when connecting to a SQL Server 2000instance:
    "Can't open a socket on NAMNGO\RNDSQLSVR:1433. Check host and portnumber
    and
    make sure the
    security manager allows this connection. You can also try running theSocketApplet
    (java.net.UnknownHostException:
    NAMNGO\RNDSQLSVR)"
    I am using Wel Logic 6.1 and SQL Server 2000. SQL Server 2000 has aninstance
    named RNDSQLSVR with default TCP port is 1433.
    Is there anyone hit this problem, please let me know.
    Please check the attached file for sample code.
    Thanks,
    Nam Ngo

  • BPC 7.0 Install error - Cannot connect to SQL server

    Hi,
    I am in the process of installing BPC 7.0 and encountered the following error after filling the "Advanced settings" details on the server info screen:
    *Cannot connect SQL server.
    Please check the SQL server connection or check System Admin ID to access the sql server.*
    I know that the System Admin ID I provided in the previous (service type accounts) screen is correct. What am I missings? Appreciate the help asap!

    BPC installation user has to be SysAdmin into SQl Server.
    Also make sure that SQL Server was installed having Windows authentication enable otherwise the connection to SQL Server can not be establish.
    Into Application Server (the server where you are trying to install BPC) open Management Studio and see if you can connect to SQL Server.
    Are you using special ports or instances fro SQL Server?
    Please make sure you are providing all these information into BPC setup.
    Regards
    Sorin Radulescu

  • Cannot connect to SQL SERVER with Always on availability group listener name

    Hi everyone,
    I have setup always an availability group listener for sql server on port 1433, have opened the port in  firewall , remote connections are enabled in the sql server, but still I am not able to connect to the sqlserver instance with the help
    of the availability group listener name.
    I get the following error.
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.(provider:
    TCP Provider, error: 0 - The wait operation timed out.)"} System.Exception {System.Data.SqlClient.SqlException
    Have gone through several blogs for the solution but none of them helped.
    Please let me know if anyone has fixed the issue.
    Regards,
    Divya

    Prior to making SS connection, can you establish the connection with a networking tool?
    SS connectiviy trouble shooting:
    http://technet.microsoft.com/en-us/library/ms378845.aspx
    http://stackoverflow.com/questions/5919524/not-able-to-telnet-sql-port-1433-locally-or-remotely
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/227f431a-4274-4d95-b605-67541d78ef03/test-sql-connection-with-telnet?forum=sqldataaccess
    Kalman Toth Database & OLAP Architect
    Free T-SQL Scripts
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Cannot connect to sql server after re installing IIS 6?

    I re installed IIS 6, after the restart i couldn't connect to sql server engine nor seeing it when using browse for me, i was trying to install team foundation server, at first it could see that i have an sql server running after re installing IIS it can't
    see it also. I'm using windows server 2003 SP2. Also i cannot remotely access it after the re installation  

    Just type the IP or name of the server (localhost) and try to connect.. SSRS 2005 requires IIS but how does it relate to SQL Server connection?
    What error are you getting? Make sure that SQL Server is running up.
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Cannot connect to SQL Server databases

    All of a sudden I can't connect to SQL server databases from
    my local machine. The databases are on a web server. It just
    started happening, and I never had a problem with it before. I
    can't connect to them in the coldfusion administrator, and I can't
    connect to them using ODBC DSN's either. Has anyone ever run into
    this before? I didn't change anything in the cf admin, and I
    certainly didn't change any logins or passwords in SQL
    Server.

    I've been experiencing a similar problem. Everything was fine
    but I had to reboot CF 8.01.
    After the reboot all the datasources are very slow to respond
    and we get lots of errors of the form :
    Timed out trying to establish connection
    A non-SQL error occurred while requesting a connection from
    blah
    Timed out trying to establish connection
    A non-SQL error occurred while requesting a connection from
    blah
    Everything is working but very slow on database queries. This
    happened a couple of months ago when we last
    rebooted and then it went away.
    Going to have a look for a new JDBC driver from adobe and see
    if that helps ....

  • 2012 r2 rds deployment cannot connect to sql server after reboot

    We have a ha connection broker setup with 2 connection brokers and everything was working fine up untill the servers were rebooted for updates. Now users cannot connect to thier collections and I have an error in the event log that the deployment could not
    connect to the sql database.
    at this point I am assume that the issue is related to security. I am able to query the database as admin from the effected servers and other services that use other databases in the same sql instance are no5 having issues.
    I have checked the security group that both cb servers should be in and they are in the group and the group has sysadmin and dbo within sql
    any ideas?
    Please remember to mark my replies as answers if they help

    Hi,
    Thank you for posting in Windows Server Forum.
    Can you please create the database manually with below command and verify.
    PS C:\> Set-RDConnectionBrokerHighAvailability –DatabaseConnectionString
     "DRIVER=SQL Server Native Client 11.0;SERVER=<SQL Server
     Name>;Trusted_Connection=Yes;APP=Remote Desktop Services Connection Broker;
    DATABASE=<DB Name>" -DatabaseFilePath "C:\DbFiles\<DbName>.mdf"
     -ClientAccessName "<DNS RR Name>"
    Grant DBO permissions to the service account on the RDS server and try to run your wizard again.
    More information.
    RD Connection Broker High Availability in Windows Server 2012
    http://blogs.msdn.com/b/rds/archive/2012/06/27/rd-connection-broker-high-availability-in-windows-server-2012.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

  • Cannot connect with SQL Server driver using Top Link with ADF/JSF

    I have a TopLink/ADF/JSF project that I'm starting using JDeveloper 10.1.3. The database is MS SQL Server. I went through and created all of the Top Link mappings, etc. but when I try to run my project under the OC4J instance built in to JDeveloper I get the error message below. I've tried putting SelectMethod=cursor everywhere I can think of, but nothing seems to help?
    Log Dump:
    [TopLink Info]: 2006.06.16 02:49:46.253--ServerSession(1679)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--TopLink, version: Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)
    [TopLink Config]: 2006.06.16 02:49:46.269--ServerSession(1679)--Connection(1680)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--connecting(DatabaseLogin(
    platform=>SQLServerPlatform
    user name=> "zeke"
    connector=>JNDIConnector datasource name=>jdbc/ZekeDB
    [TopLink Severe]: 2006.06.16 02:49:48.925--ServerSession(1679)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--Local Exception Stack:
    Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]JTA is not support when selectMethod=direct. Switch to selectMethod=cursor.Error Code: 0
    at oracle.toplink.exceptions.TopLinkException.<init>(TopLinkException.java:46)
    at oracle.toplink.exceptions.DatabaseException.<init>(DatabaseException.java:51)
    at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:276)
    at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:115)
    at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:147)
    at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:197)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:221)
    at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:273)
    at oracle.toplink.threetier.ConnectionPool.buildConnection(ConnectionPool.java:81)
    at oracle.toplink.threetier.ConnectionPool.startUp(ConnectionPool.java:304)
    at oracle.toplink.threetier.ServerSession.connect(ServerSession.java:431)
    at oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:511)
    at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:317)
    at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:372)
    at oracle.toplink.util.SessionFactory.getSharedSession(SessionFactory.java:103)
    at oracle.toplink.util.SessionFactory.getSharedSession(SessionFactory.java:82)
    at oracle.toplink.util.SessionFactory.acquireSession(SessionFactory.java:114)
    at com.mascocs.web.monitor.admin.datamodel.ZekeAdminSessionFacadeBean.findAllApps(ZekeAdminSessionFacadeBean.java:128)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:55)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:86)
    at ZekeAdminSessionFacadeLocal_StatelessSessionBeanWrapper0.findAllApps(ZekeAdminSessionFacadeLocal_StatelessSessionBeanWrapper0.java:165)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:504)
    at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:1796)
    at oracle.adf.model.generic.DCGenericDataControl.invokeMethod(DCGenericDataControl.java:248)
    at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:216)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1287)
    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:1802)
    at oracle.adf.model.generic.DCGenericDataControl.invokeOperation(DCGenericDataControl.java:266)
    at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:318)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:625)
    at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.invokeMethodAction(JUMethodIteratorDef.java:160)
    at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.initSourceRSI(JUMethodIteratorDef.java:542)
    at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1420)
    at oracle.adf.model.binding.DCIteratorBinding.getRowSetIterator(DCIteratorBinding.java:1403)
    at oracle.adf.model.binding.DCIteratorBinding.setRangeSize(DCIteratorBinding.java:2641)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2484)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2257)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:104)
    at oracle.adf.controller.v2.lifecycle.Lifecycle$8.execute(Lifecycle.java:210)
    at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
    at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java)
    at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$4.after(ADFPhaseListener.java:331)
    at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:97)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:211)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
    at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]JTA is not support when selectMethod=direct. Switch to selectMethod=cursor.
    at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
    at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.microsoft.jdbcx.sqlserver.SQLServerDataSource.getXAConnection(Unknown Source)
    at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(ManagedConnectionFactoryImpl.java:237)
    at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:199)
    at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1333)
    at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:324)
    at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImpl.java:95)
    at oracle.j2ee.connector.ConnectionPoolImpl$FixedWaitPoolingScheme.getManagedConnection(ConnectionPoolImpl.java:1449)
    at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:782)
    at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1532)
    at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1477)
    at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1423)
    at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:244)
    at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:198)
    at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:197)
    at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:140)
    at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:112)
    ... 77 more
    2006-06-16 14:49:48.941 ERROR J2EE EJB8006 [ZekeAdminSessionFacade:public java.util.List com.mascocs.web.monitor.admin.datamodel.ZekeAdminSessionFacadeBean.findAllApps()] exception occurred during method invocation: javax.ejb.EJBException: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]JTA is not support when selectMethod=direct. Switch to selectMethod=cursor.Error Code: 0; nested exception is: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]JTA is not support when selectMethod=direct. Switch to selectMethod=cursor.Error Code: 0
    2006-06-16 14:49:50.816 WARNING rowIterator is null
    2006-06-16 14:49:50.831 WARNING rowIterator is null
    Process exited.

    I'm not sure on the error, but you may be able to pass the "selectMethod" and "cursor" as a JDBC property in your connection pool. Since this is a DataSource / JTA issue you may want to post it to the general OC4J forum.
    Otherwise as a workaround you could instead use a non-JTA DataSouce, or use TopLink internal connection pooling, or try another JDBC driver.

  • SCCM Install fails. cannot connect to SQL server. "the network was not found"

    Hi,
    I'm installing SCCM 2012. i have a 2 server boxes. 1x sccm and 1x dedicated SQL. sccm installation is stuck @ connecting to DB.
    SQL server is 2012 with SP2, static 1433 port used.installation account used is already sysadmin, sccm computer account also added into SQL local admins. ports 1433, 4022, 445 are already FW open in between SCCM box and SQL Box?
    error pop up" "the network was not found"
    Pls advise.

    if MS is really doing good job then such things (scCm on remote sql) should be easy for us with proper docs. Cheers!
    The docs are "proper". They give you all the technical details needed. They assume however that you know how to translate the stated requirements, like the ports necessary (as documented at
    http://technet.microsoft.com/en-us/library/hh427328.aspx ), into the environment you are working in. They cannot give you a click by click guide because that would only be applicable to
    generic lab environments.
    Sorry that that may sound a bit harsh, but it is reality. They simply have no idea what customer networking environments actually look like as the possibilities are simply unbounded. They must rely on the implementer being able to take the core technical
    requirements and implement them for the uniqueness of the environment they are working in. In most cases, this is generally straight-forward, but there is a great deal of variety in the real-world.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • Getting Frequent time out while Connecting to SQL server 2008 Instance installed on VmWare

    Hi,
    I have a production SQL server Database with default instance. when I connect this instance from 10 attempts it get connected only 5-6 times. I connect this through SSMS. Some of jobs also getting failed due to login time out expired. please help in this.
    Product is SQL server 2008 Enterprise Edition
    Thank You
    Yogesh Arora

    Yogesh Arora
    Have you checked Event Viewer and ERROR.LOG?
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Cannot connect to SQL server in ODI

    Hi,
    I am new to ODI & Im currently trying to access SQL server DB using ODI.
    I have downloaded the sql server jdbc driver 2.0 & placed the sqljdbc4.jar in driver folder of ODI_HOME.
    On creating the data server & testing connection, it says 'Successful Connection.'
    However, when I try to create a physical schema, it throws the following error.
    java.lang.UnsupportedClassVersionError: com/microsoft/sqlserver/jdbc/SQLServerDriver (Unsupported major.minor version 50.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at com.sunopsis.sql.SnpsConnection.a(SnpsConnection.java)
         at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)
         at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)
         at com.sunopsis.graphical.frame.a.jz.dQ(jz.java)
         at com.sunopsis.graphical.frame.a.jz.bE(jz.java)
         at com.sunopsis.graphical.frame.bo.bA(bo.java)
         at com.sunopsis.graphical.frame.a.jz.en(jz.java)
         at com.sunopsis.graphical.frame.a.jz.<init>(jz.java)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at com.sunopsis.graphical.frame.bb.b(bb.java)
         at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
         at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
         at java.lang.Thread.run(Unknown Source)
    I tried reading many posts & blogs but I dont know what I am missing here.
    Can someone please help me with this?
    Thanks,
    Rubellah

    Hi,
    As the previous comments, please provide more information, error message of this issue.
    To connect to the Database Engine, you can follow this link:
    http://technet.microsoft.com/en-us/library/ms345332.aspx
    Thanks.
    Tracy Cai
    TechNet Community Support

  • SAP ECC6.0 cannot connect to SQL Server Database after recreating DB server

    We had a disaster with our ECC 6.0 Development system a few days ago.  The system is called “DEV”.  The SQL Server database server got wiped out and we didn’t have a backup.  Luckily, we did have a backup of the database.  Our system engineers rebuilt the server and our DBA reinstalled SQL Server and restored the database.  The database came up fine, but when we try to start SAP, it fails.  “R3trans –d” also fails.  The database is SQL Server 2008R2 10.50.2769.  The OS is Windows Server 2008R2.
    We verified that the “devadm” and “SAPServiceDEV” accounts have permissions on the on the server. We set the following Environment Variables for the devadm account on the database server:
    DBMS_TYPE = mss
    MSSQL_DBNAME = DEV
    MSSQL_SCHEMA = dev
    MSSQL_SERVER = <database server name>
    SAPLOCALHOST = <database server name>
    SAPSYSTEMNAME = DEV
    We also set the following Registry Key:
    HKEY_LOCAL_MACHINE/Software/SAP/DEV
    Type:     REG_SZ
    Value:   AdmUser
    String:   <database server name>\devadm
    We didn’t install any kind of SAP software on the database server.
    Is there any kind of SAP components we need to install on the database server?  Do we need to run the SAP installer on the database server to get everything setup correctly?  I looked at another one of our SQL Server database servers and it has SAP Management Console installed and there is a C:\Program Files\SAP\hostcntl folder.  I don't know what that is or it has anything to do with SAP being able to connect to the database.
    Here is the error message in the R3trans log file:
    4 ETW000  [     dev trc,00000]  Wed Apr 29 09:44:39 2015 1501385  1.531756
    4 ETW000  [     dev trc,00000]  ERROR: -1 in function ExecuteAndFlush (SQLExecDirect) [line 6702]         35  1.531791
    4 ETW000  [     dev trc,00000]  (102) [42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near 'execute.'.
    4 ETW000 22 1.531813
    4 ETW000  [     dev trc,00000]  <if user_name() != 'dev' execute as login = suser_sname(suser_sid('dev')) with no revert> failed -- connect terminated
    4 ETW000 38 1.531851
    4 ETW000  [    dblink ,00000]  ***LOG BY2=>sql error 102    performing CON 56  1.531907
    4 ETW000  [    dblink ,00000]  ***LOG BY0=>[Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near 'execute.'.
    4 ETW000 30  1.531937
    2EETW169 no connect possible: "DBMS = MSSQL ---  SERVER = '<db server name>' DBNAME = 'DEV'"
    Please let me know what we need to do to get SAP to connect to the database.
    Thanks,
    Jerry

    Here it is: 4 ETW000 R3trans version 6.22 (release 720 - 18.11.11 - 11:29:00). 4 ETW000 unicode enabled version 4 ETW000 =============================================== 4 ETW000 4 ETW000 date&time  : 29.04.2015 - 19:33:01 4 ETW000 control file: 4 ETW000 R3trans was called as follows: R3trans -d 4 ETW000  trace at level 2 opened for a given file pointer 4 ETW000  [    dev trc,00000]  Wed Apr 29 19:33:01 2015                                                  83  0.000083 4 ETW000  [    dev trc,00000]  db_con_init called                                                        28  0.000111 4 ETW000  [    dev trc,00000]  set_use_ext_con_info(): rsdb/ssfs_connect not set => ssfs not used        31  0.000142 4 ETW000  [    dev trc,00000]  determine_block_commit: no con_hdl found as blocked for con_name = R/3 4 ETW000                                                                                                  20  0.000162 4 ETW000  [    dev trc,00000]  create_con (con_name=R/3)                                                10  0.000172 4 ETW000  [    dev trc,00000]  Loading DB library 'dbmssslib.dll' ...                                    31  0.000203 4 ETW000  [    dev trc,00000]  DlLoadLib success: LoadLibrary("dbmssslib.dll"), hdl 0, addr 000007FEEE6D0000 4 ETW000                                                                                                1865  0.002068 4 ETW000  [    dev trc,00000]      using "D:\usr\sap\DEV\SYS\exe\uc\NTAMD64\dbmssslib.dll"              14  0.002082 4 ETW000  [    dev trc,00000]  Library 'dbmssslib.dll' loaded                                            13  0.002095 4 ETW000  [    dev trc,00000]  function DbSlExpFuns loaded from library dbmssslib.dll                    15  0.002110 4 ETW000  [    dev trc,00000]  Version of 'dbmssslib.dll' is "720.00", patchlevel (0.200)                84  0.002194 4 ETW000  [    dev trc,00000]  function dsql_db_init loaded from library dbmssslib.dll                  16  0.002210 4 ETW000  [    dev trc,00000]  function dbdd_exp_funs loaded from library dbmssslib.dll                  11  0.002221 4 ETW000  [    dev trc,00000]  New connection 0 created                                                  29  0.002250 4 ETW000  [    dev trc,00000]  0: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , bc = NO , hc = NO , perm = YES, reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO , prog =  4 ETW000                                                                                                  29  0.002279 4 ETW000  [    dev trc,00000]  db_con_connect (con_name=R/3)                                            12  0.002291 4 ETW000  [    dev trc,00000]  determine_block_commit: no con_hdl found as blocked for con_name = R/3 4 ETW000                                                                                                  16  0.002307 4 ETW000  [    dev trc,00000]  find_con_by_name found the following connection:                          9  0.002316 4 ETW000  [    dev trc,00000]  0: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , bc = NO , hc = NO , perm = YES, reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO , prog =  4 ETW000                                                                                                  21  0.002337 4 ETW000  [    dev trc,00000]  Thread ID:3492                                                          594  0.002931 4 ETW000  [    dev trc,00000]  Thank You for using the SLODBC-interface                                  17  0.002948 4 ETW000  [    dev trc,00000]  Using dynamic link library 'D:\usr\sap\DEV\SYS\exe\uc\NTAMD64\dbmssslib.dll' 4 ETW000                                                                                                  21  0.002969 4 ETW000  [    dev trc,00000]  dbmssslib.dll patch info                                                  27  0.002996 4 ETW000  [    dev trc,00000]    SAP patchlevel  0                                                      12  0.003008 4 ETW000  [    dev trc,00000]    SAP patchno  200                                                        92  0.003100 4 ETW000  [    dev trc,00000]    Last MSSQL DBSL patchlevel 0                                            20  0.003120 4 ETW000  [    dev trc,00000]    Last MSSQL DBSL patchno        200                                    14  0.003134 4 ETW000  [    dev trc,00000]    Last MSSQL DBSL patchcomment Take care of warnings during database connect (1600066) 4 ETW000                                                                                                  18  0.003152 4 ETW000  [    dev trc,00000]  ODBC Driver chosen: SQL Server Native Client 10.0 native                273  0.003425 4 ETW000  [    dev trc,00000]  Network connection used from XXSAPDEV01 to XXSQLSAPDEV01 using tcp:XXSQLSAPDEV01 4 ETW000                                                                                                128  0.003553 4 ETW000  [    dev trc,00000]  Network connection used from XXSAPDEV01 to XXSQLSAPDEV01 using tcp:XXSQLSAPDEV01 4 ETW000                                                                                              20908  0.024461 4 ETW000  [    dev trc,00000]  Network connection used from XXSAPDEV01 to XXSQLSAPDEV01 using tcp:XXSQLSAPDEV01 4 ETW000                                                                                                3485  0.027946 4 ETW000  [    dev trc,00000]  Driver: sqlncli10.dll Driver release: 10.50.2769                        3695  0.031641 4 ETW000  [    dev trc,00000]  GetDbRelease: 10.50.2769.00                                              475  0.032116 4 ETW000  [    dev trc,00000]  GetDbRelease: Got DB release numbers (10,50,2769,0)                      18  0.032134 4 ETW000  [    dev trc,00000]  ERROR: -1 in function ExecuteAndFlush (SQLExecDirect) [line 6702]      6505  0.038639 4 ETW000  [    dev trc,00000]  (102) [42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near 'execute.'. 4 ETW000                                                                                                  27  0.038666 4 ETW000  [    dev trc,00000]  failed -- connect terminated 4 ETW000                                                                                                  31  0.038697 4 ETW000  [    dblink  ,00000]  ***LOG BY2=>sql error 102    performing CON                              49  0.038746 4 ETW000  [    dblink  ,00000]  ***LOG BY0=>[Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near 'execute.'. 4 ETW000                                                                                                  27  0.038773 2EETW169 no connect possible: "DBMS = MSSQL                            ---  SERVER = 'XXSQLSAPDEV01' DBNAME = 'DEV'"

Maybe you are looking for

  • Assign multiple relationships at once

    Hi everyone...I am working in Primavera P6 Project Management Release: 7.0 Service Pack 3 (Build #: 00033036) When trying to assign multiple relationships at once, my computer will not allow me to capture multiple activities that have been assigned a

  • Connecting to a computer in China

    Hi, I am going to China in a few days and I was wondering if I could charge my iPod on a Computer in China? Electronics there uses a different voltage (or was it current) than where I live right now (Canada) so would it be safe? Does the computer hav

  • Custom mmp3 settings

    Under iTune advanced preferences (mp3 importing) custom settings, there is a choice of "normal stereo" or "joint stereo". What is the difference between the two? Which is better?

  • Security in shared services :not able to  assining filters to the group

    Hi all, Iam getting the problem with assigning the filters to goups and users in shared services (our security is sharedservices mode), i refreshed the security Its not showing any group for that cube ,,,, i gave the access to that group but iam not

  • SID Could not be found

    Dear All, I would be grateful, if you could please help me to know the steps that should be carried out when i see a SID could not be found  error. I tried searching the forum, i was able to find only for the global settings issue. Please let me know