Unable to connect MX7 to MS SQL 2005

I get the following error when attempting setup a database
connection.
Connection verification failed for data source: q01nw
java.sql.SQLException: [Macromedia][SQLServer JDBC
Driver]Error establishing socket to host and port: 127.0.0.1:1433.
Reason: Connection refused: connect
The root cause was that: java.sql.SQLException:
[Macromedia][SQLServer JDBC Driver]Error establishing socket to
host and port: 127.0.0.1:1433. Reason: Connection refused: connect
I have updated the DataDirect drivers
This has me stumped after 2 days.

Every time I have a problem connecting to a SQL Server DB via
CF Admin, I do the following:
In Windows, Control Panel, Administrative Tools, Data
Sources(ODBC), set up a User DSN and a System DSN to the SQL Server
DB. USE THE SAME NAME FOR BOTH. If you are using the local server
on the machine, type in (local) as the server for the select box
'Which SQL Server do you want to connect to?' Make sure the
connection tests OK at the end of each setup.
Go into CF Admin under Data Sources and Add a new datasource
but DO NOT pick SQL Server, use ODBC. Select the ODBC DSN(the entry
you added should be in the dropdown list). Click 'Trusted
Connection'. Leave username set to system . Click Submit and you
should be connected.
If this does not work, you may have to add a user to the
Users section of the database with sufficient access. You will have
to add the user under Control Panel/User Groups also.
Then go back into CF Admin and replace username with the
username of the new user you added and the password you assigned
this user under Control Panel/User Groups

Similar Messages

  • Unable to connect to the 2014 SQL Developer's Edition Report Server

    Hello,
       I have been through the wringer trying to gain access to my report service.  I have to admit that I am something of a neophyte with regards to SQL Server but I am pretty good with Windows 7 management in general.  I have just installed
    SQL 2014 Developer's Edition under Windows 7 SP1.  I have connected to the database engine server and loaded a couple of databases.  I chose windows authentication and can get into the report configuration manager and the SQL server configuration
    manager with no problems.  I have registered the URLs for both the web and report manager.  I can connect to all of the other instances (database engine, analysis services, and integration services).  I have to run with administrator privileges
    to connect to the integration services but it does not make any difference when attempting to connect to the reporting service either through report builder 3 or connect through object explorer.  I can find no relevant errors in the RS log even after
    enabling logging.  I have been through many of the articles I could find online but nothing seems to resolve the problem.  When connecting it shows Windows Authentication and the correct domain\user.  I also browse to find the service so the
    URL should be correct. The error that I am getting is as follows:
    "Unable to connect to the server at CALYSTO\ReportService. The specified URL might not be valid or there might be a problem with the report server version or configuration. Specify a different URL, or contact your server administrator to verify that
    the report server runs SQL Server 2008 or later. Additionally, if you are trying to connect to a SharePoint-integrated report server, verify that SharePoint is installed on the server and that the report server uses SharePoint integrated mode. (Microsoft.SqlServer.Management.UI.RSClient)"
    Program Location:
       at Microsoft.SqlServer.Management.UI.RSClient.RSClientConnection.CreateConnection()
       at Microsoft.SqlServer.Management.UI.RSClient.RSConnectionInfo.GetRSConnectionObject(Boolean ensureOpenConnection)
       at Microsoft.SqlServer.Management.UI.RSClient.RSConnectionInfo.RSTypeImpl.ProceedWithConnection(UIConnectionInfo ci)
       at Microsoft.SqlServer.Management.UI.ConnectionDlg.RSType.Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType.ProceedWithConnection(UIConnectionInfo ci)
       at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()
    I have tried fixing the installation with the installation disk, removing the report service instance and reinstalling it, using the administrator account instead of mine (with is of course an administrator).  I'm at a loss right now.  I have spent
    about 12 hours trying to track this down and so far nothing has worked.  I'm about ready to reinstall the entire operating system and start all over.  I thought that I would try this venue before going to that extreme.
    Any thoughts, questions, or ideas would be much appreciated.
    Thanks,
    -Tom
    Tom L

    "Unable to connect to the server at CALYSTO\ReportService.
    Hello Tom,
    It should be "ReportServer" in the URL, not "ReportService".
    In "Reporting Service Configuration Manager" look up the correct URL. Open Internet Explorer with right-mouse click => "Run as Administrator" and open the URL, this should work. Navigate to "Side setting" (on top right side),
    go to tab "Security" and add your account with role "System Administrator". Afterwards you should be able to open the URL without running IE as admin.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • CF8 and connection pooling using MS SQL 2005 JDBC Driver

    After upgrading one of our production servers to CF8 we're
    getting errors under load while connecting to MS SQL 2000 data
    bases using the MS SQL 2005 JDBC 1.1 driver instead of the driver
    cf8 ships with. The following error is recorded in the logs:
    Error Executing Database Query. The TCP/IP connection to the
    host has failed. java.net.BindException: Address already in use:
    connect
    Confirmed by the database statistics, Coldfusion is no longer
    pooling the database connections. After changing the data source to
    use the build in driver everything works fine. We've been using
    this driver and CF7 for some time without this error.
    Is this a compatibility issue between the driver and Java 6?
    Or is there a conflict between this driver and the build in driver?
    Has anyone seen similar issues? We’d like to use this driver
    rather then the build in one.
    Thanks,
    Remy Becher

    thanks for the answer...I have been waiting for one..I do agree that connection ppooling is same ..but I would appreciate it if someone could point me to some example implemenations using MS JDBC type 4 driver..
    Thanks again..
    PS: I did search the forum before posting this..

  • BI JDBC connection failure with MS SQL 2005 - but Portal JDBC is working

    I am a portal novice.
    I wanted to get tables in the visual composer. so i created the protal jdbc connection to MS SQL 2005. which is working fine.
    Later i found i need BI jdbc for retreving tables from sql server. when i followed all the steps in the how to document, my connection test is failing. below is the log.
    Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the backend application using the connector defined in this system object
      Results
    Retrieval of default alias successful
    Connection failed. Make sure that Single Sign-On is configured correctly
    can any help me there please.
    - Points will he awarded for inputs.
    thanks
    -ravi

    Swapnil,
    Thanks for the reply, but the thread is completely different from what i am looking for.
    can anybody throw some suggestion at my problem
    -ravi

  • Unable to Connect error 948 via SQL

    System Center 2012 DPM trying to connect to a SQL instance on a different server using Windows Authentication. Getting the unable to connect error "Unable to cnnect to xxx.domain.com (ID: 948) Verify that the DPM service is running on this computer",
    I figured out that if you add the user to "sysadmin" in SQL management it works for that user.  My question is, is this the best practices method of solving this problem?  Will this need to be done for every windows user
    that tries to access the DPM, or is there a more proper way?
    Thanks

    can anyone help?

  • Error 1102 on connecting to an MS SQL 2005 db

    Hi there
    I've been working with a local, MS SQL 2000 copy of a SAP Business One db. I recently received a backup from a SQL 2005 version from a client, and I need to now connect to that instead. (I have restored it on my local machine too, under a different SQL Server instance)
    Problem is, when I try connect, I am getting a -1102 error in SAP. (My DB connection is correct, as I can find the correct DB in the dialog)
    I know I must be missing something here, but can't figure out what it is.... (Could it be that I have the SBOCommon DB on my SQL2000 instance, but not on my SQL2005 one?)
    Anyone have any suggestions?
    Thanks!

    hi there
    Yes, creating the SBO-COMMON db on the 2005 instance got me closer. I have had to delete the pre-existing companies from the table in the copied db though, as I had a duplicate name occurring. However, after doing that, I now get an error telling me "Your software version is not updated".
    I suppose somebody has changed versions without letting me know....

  • Upgrade SBO-COMMOM SQL -  unable to connect to database

    Dear Experts,
    I'm trying to upgarde from SAP 2007 A PL-42  to  PL-49.
    I have currently got SQL2000 (for legend system) running under the instance name SERVER and i have installed SQL2005 (SAP uses this) with the instance name SERVER\SQL2005, both running on the same machine called SERVER.
    When i try to upgrade the SBO-COMMON database, it installs the DI and reaches a point where it asks for:-
    Database Server:-              (I input SERVER\SQL2005)
    Database Name:-              (SBO-COMMON)
    User Name:-                     (sa)
    Password:-                      (password)
    When i click the NEXT button, i get the error "unable to connect to database; verify that database TCP/IP port serice is started."
    I have verified that the TCP/IP ie enabled,and running on port 1433.
    Addidtional Information:
    During installation, it tries to access c:\windows\system32\sqljdbc_auth.dll file, when i click the NEXT button, just before i get the TCP/IP error.
    Would highly appreciate the help.
    Regards,
    Asif

    Dear Asif,
    You may check these threads first:
    Re: Unable to connect after migrating from SQL Server 2000 to SQL Server 2005
    Re: Installing SBO 2007 Error Unable to connect to database
    Thanks,
    Gordon

  • Trouble connecting to the Microsoft SQL Server 2005 using JDBC Connection

    Hi,
    I am unable to connect to the Microsoft SQL Server 2005 using JDBC Connection. Kindly tell me steps to connect to the SQL Server using JDBC. The error message that I am getting while creating a data source is :
    java.rmi.RemoteException: com.sap.engine.services.dbpool.exceptions.BaseRemoteException: Error during start of application "sap.com/JDBCConnector_KedDS.xml". [id = StartupError]
    at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.startApplication(DataSourceManagerImpl.java:608)
    at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.deploy(DataSourceManagerImpl.java:285)
    at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.createDataSource(DataSourceManagerImpl.java:342)
    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:324)
    at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
    at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)
    at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
    at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
    at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:409)
    at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)
    at com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:258)
    at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
    at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
    at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
    at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:131)
    at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:212)
    at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:766)
    at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102)
    at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)
    at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: java.rmi.RemoteException: Error occurred while starting application in whole cluster and wait.; nested exception is:
    com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Clusterwide exception: server ID 13169050:com.sap.engine.services.dbpool.exceptions.BaseDeploymentException: Cannot create DataSource "KedDS".
    at com.sap.engine.services.dbpool.deploy.ContainerImpl.startDataSources(ContainerImpl.java:1843)
    at com.sap.engine.services.dbpool.deploy.ContainerImpl.prepareStart(ContainerImpl.java:489)
    at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:223)
    at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:171)
    at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:301)
    at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:342)
    at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:126)
    at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:245)
    at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4761)
    at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.startApplicationAndWait(DeployCommunicatorImpl.java:661)
    at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.startApplicationAndWait(DeployCommunicatorImpl.java:645)
    at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.startApplication(DataSourceManagerImpl.java:606)
    at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.deploy(DataSourceManagerImpl.java:285)
    at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.createDataSource(DataSourceManagerImpl.java:342)
    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:324)
    at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
    at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)
    at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
    at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
    at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:409)
    at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)
    at com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:258)
    at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
    at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
    at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
    at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:131)
    at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:212)
    at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:766)
    at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102)
    at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)
    at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.engine.services.dbpool.exceptions.BaseInstantiationException: Cannot create instance ManagedConnectionFactoryImpl.
    at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.<init>(ManagedConnectionFactoryImpl.java:78)
    at com.sap.engine.services.dbpool.deploy.ContainerImpl.startDataSources(ContainerImpl.java:1779)
    ... 42 more
    Caused by: java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver
    Found in negative cache
    ------------------------- Loader Info -------------------------
    ClassLoader name: [library:KedDriver]
    Parent loader name: [Frame ClassLoader]
    No references !
    Resources:
    E:\usr\sap\J2E\JC01\j2ee\cluster\server0\bin\ext\KedDriver\sqljdbc.jar
    E:\usr\sap\J2E\JC01\j2ee\cluster\server0\bin\core_lib\opensqlport.jar
    Loading model: {parent,local,references}
    at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:360)
    at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.<init>(ManagedConnectionFactoryImpl.java:74)
    ... 43 more
    at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.startApplicationAndWait(DeployCommunicatorImpl.java:663)
    at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.startApplicationAndWait(DeployCommunicatorImpl.java:645)
    at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.startApplication(DataSourceManagerImpl.java:606)
    ... 31 more
    Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Clusterwide exception: server ID 13169050:com.sap.engine.services.dbpool.exceptions.BaseDeploymentException: Cannot create DataSource "KedDS".
    at com.sap.engine.services.dbpool.deploy.ContainerImpl.startDataSources(ContainerImpl.java:1843)
    at com.sap.engine.services.dbpool.deploy.ContainerImpl.prepareStart(ContainerImpl.java:489)
    at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:223)
    at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:171)
    at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:301)
    at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:342)
    at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:126)
    at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:245)
    at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4761)
    at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.startApplicationAndWait(DeployCommunicatorImpl.java:661)
    at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.startApplicationAndWait(DeployCommunicatorImpl.java:645)
    at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.startApplication(DataSourceManagerImpl.java:606)
    at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.deploy(DataSourceManagerImpl.java:285)
    at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.createDataSource(DataSourceManagerImpl.java:342)
    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:324)
    at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
    at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)
    at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
    at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
    at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:409)
    at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)
    at com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:258)
    at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
    at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
    at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
    at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:131)
    at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:212)
    at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:766)
    at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102)
    at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)
    at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.engine.services.dbpool.exceptions.BaseInstantiationException: Cannot create instance ManagedConnectionFactoryImpl.
    at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.<init>(ManagedConnectionFactoryImpl.java:78)
    at com.sap.engine.services.dbpool.deploy.ContainerImpl.startDataSources(ContainerImpl.java:1779)
    ... 42 more
    Caused by: java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver
    Found in negative cache
    ------------------------- Loader Info -------------------------
    ClassLoader name: [library:KedDriver]
    Parent loader name: [Frame ClassLoader]
    No references !
    Resources:
    E:\usr\sap\J2E\JC01\j2ee\cluster\server0\bin\ext\KedDriver\sqljdbc.jar
    E:\usr\sap\J2E\JC01\j2ee\cluster\server0\bin\core_lib\opensqlport.jar
    Loading model: {parent,local,references}
    at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:360)
    at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.<init>(ManagedConnectionFactoryImpl.java:74)
    ... 43 more
    at com.sap.engine.services.deploy.server.application.ParallelAdapter.sleepClientThread(ParallelAdapter.java:270)
    at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:127)
    at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:245)
    at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4761)
    at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.startApplicationAndWait(DeployCommunicatorImpl.java:661)
    ... 33 more
    at com.sap.engine.services.dbpool.exceptions.BaseRemoteException.writeReplace(BaseRemoteException.java:178)
    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:324)
    at java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:896)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1011)
    at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
    at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:367)
    at javax.management.MBeanException.writeObject(MBeanException.java:126)
    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:324)
    at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
    at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:367)
    at com.sap.exception.BaseExceptionInfo.writeObject(BaseExceptionInfo.java:964)
    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:324)
    at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
    at com.sap.engine.services.jmx.ResponseMessage.writeBody(ResponseMessage.java:177)
    at com.sap.engine.services.jmx.Message.writeMsg(Message.java:257)
    at com.sap.engine.services.jmx.Message.getMsg(Message.java:453)
    at com.sap.engine.services.jmx.Message.writeExternal(Message.java:505)
    at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1267)
    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
    at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:66)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

    i'm using jcreator pro
    jdk i.6
    mssql server 2005
    and downloaded the jdbc driver( i noticed that the msutil.jar and msbase.jar are not in the folder avalable on microsoft site Microsoft SQL Server 2005 JDBC Driver so i installed
    Microsoft SQL Server 2000 Driver for JDBC 1st and just changed the jqljdb.jar file with the one available in Microsoft SQL Server 2005 JDBC Driver )
    and set the path of the CLASSPATH to a folder which name has no spaces
    and tried Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
    and Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
    and tried compiling and running with command prompt
    and still have the same exception which occurs at runtime
    "An exception has occured: java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver"
    i really need help

  • Connecting to MS SQL 2005 via JDBC Driver

    I have an application in which I use Java to abstract
    database elements as objects and handle most of the server-side
    processing. This is done by creating a Java object via
    CreateObject(). The Java then connects to a MS SQL 2005 database
    using the JDBC 1.1 Driver.
    The following tutorial explains how to set this up:
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=ded4216b.
    It instructs you to create a Data Source, much like how you
    typically would in "regular" ColdFusion applications. Then, using
    some simple Java, I am successfully able to connect to the
    database, query it, and get results. The connection code is
    attached.
    As you can see, I am still passing all the connection
    parameters to the Database class constructor. My question is: how
    would I go about connecting to the database by simply using the
    Data Source Name, as you would, again, in "regular" ColdFusion
    applications. Is this possible at all?
    Thanks!

    Thanks for the input guys.
    Perhaps I did not explain my intent very clearly. What I am
    trying to accomplish is have a vast majority of the server-side
    code done in Java. With that, I would be able to do things like:
    <cfset myUser = CreateObject("java", "User").init(5)>
    <cfoutput>#myUser.getFirstName()#</cfoutput>
    However, unless I am able to connect to the database in Java
    (which I currently AM able to do, but just not quite the way I want
    to), I would have to run all the queries in CF and then pass them
    to the different objects so that they can then process the query
    results. This isn't a very smart thing to do, seeing that it binds
    me to a lot of CF while I am trying use it as little as possible
    (session management and user interface "tier" only).
    So no, I am not going all out with Java just to avoid passing
    username/password, but instead to use true OOP instead of CF
    Components. I realize ColdFusion too passes this info, but it does
    not show up in the source code, which is precisely what I need to
    do, but with Java.
    Basically, I have everything working the way I need now,
    except I need to be able to connect using a data source name rather
    than passing the parameters, if at all possible.

  • B1i (2005) installation failedSo far:  windows XP, MS-SQL 2005 express: ok

    Dear All,
    I try to install B1i for NW 2005 on a SBO 2005B installation. I have installed all prerequisites like JDK, MSXML, Tomcat (no blanks in path). When running the setup program and after all information gathered, the connection to the MS-SQL 2005 database succeeds and the final installation step starts but returns the message:
    "Initail database failed, make sure Tomcat or mini-http is shut down and please check your database's status and try again"
    Looking into MS-SQL shows a database beeing created named localhost/B1i. Tomcat and mini-http are definately shut down. When starting Tomcat, it is accessible via http://localhost:8080.
    System Parameters:
    windows server 2003
    SBO 2005B
    java: 1.4.2.19
    tomcat 5.5.27 including compat package for 1.4.2.19)
    sql jdbc 1.2.2828.100
    msxml 4.0 SP 2
    I can not find an error in the system. Is there a way to diagnose what is happening and does anyone have an idea where the problem lies?
    Ciao, Mathias
    [Update]
    I have tried JDBC 2.0.1008 and JDBC 2.0.1607 - both lead to a fatal error when trying to connect to the database. I assume this is due to Java JDK 1.4.2 as JDBC requires Java 5.0 (1.5.0)
    Does anybody know if I can use JDK 1.5.0_17 instead of 1.4.2_19?
    [Update 2]
    I have tried to install the B1i on two other servers with identical setup and it worked. However, this will not help me with this machine... On the other side, it shows, that there is nothing wrong with the procedure I am using
    I found by the way: B1i works fine with MSSQL 2005 Express, it works with jdk 1.5.0.17 (and then JDBC 2.0)
    [Update 3]
    So far:
    windows XP, MS-SQL 2005 express: ok
    windows XP, MS-SQL 2005 express, SBO2005A: ok
    windows 2003, MS-SQL 2005 SBO2005A: fail
    windows 2003, MS-SQL 2005 SBO2005B: fail
    windows 2003, MS-SQL 2005 SBO2007A: ok
    windows 2003, MS-SQL 2005 Netweaver 2004S: fail
    Unfortunately the three servers where it fails are the ones I need to use for production
    The precise error state is that the install routine creates the database in SQL 2005 and then reports that it can not create the database. Is there something I should check in SQL 2005?
    Edited by: Mathias Wilhelm on Feb 11, 2009 5:17 PM

    Salut Eddy,
    I tried it with tomcat 5.0.30 - no success. JDK is 1.4.2.19
    I tried it with tomcat 5.5.27 - no success. JDK was 1.4.2.19 and 1.5.17
    I checked the database: The structure is created but the tables are not created. As the user 'sa' has full admin rights it must be with the access path to the database that is wrong. What I do not understand is, why the installation routine is able to connect to the database to create B1i and then unable to create the tables. I checked in the log files of the db and found no error messages. I tested this as well by using a wrong password for sa or a wrong user. In both cases, the installation routine fails already when checing the existence of B1i database
    [Update]
    In the meantime:
    Checked permissions on database
    Checked that administrator is member of local admin group
    Checked JAVA_HOME environment variable
    Found collation SQL_Latin1_General_CP1_CI_AS for working setup and SQL_Latin1_General_CP1_CS_AS in failing setup
    Checked all security settings by comparing to working setup
    Checked event viewer and found no errors
    Checked all log files and found no errors
    Checked that sa can create tables manually in localhost\B1i
    Ciao, Mathias
    Edited by: Mathias Wilhelm on Feb 12, 2009 2:36 PM

  • Unable to connect to a database

    Hello
    I am trying to connect to a database, but it comes up with an error message. the code is shown below.
    Error is as shown below
    init:
    deps-jar:
    Compiling 1 source file to C:\Documents and Settings\prozario\AssetManage\build\classes
    compile-single:
    run-single:
    Exception in thread "main" java.lang.NullPointerException
    at assetmanage.DBConnectionManager.createStatement(DBConnectionManager.java:37)
    at assetmanage.Main.main(Main.java:36)
    Unable to connect to database java.sql.SQLException: No suitable driver
    Java Result: 1
    BUILD SUCCESSFUL (total time: 1 second)
    //////////////////////////////////////////////////THE CODE////////////////////////
    package assetmanage;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class DBConnectionManager {
    Connection dbConnect;
    Statement dbStatement;
    public void loadDriver(){
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    } catch (ClassNotFoundException e){System.out.print("Unable to load driver" + e);
    public void connectDB(){
    try{
    String dbName = "userInfo.mdb";
    String url = "jdbc:odbc" + dbName;
    Connection dbConnect = DriverManager.getConnection(url);
    } catch (Exception e){System.out.print("Unable to connect to database " + e);
    public void createStatement(){
    try{
    Statement dbStatement = dbConnect.createStatement();
    }catch (SQLException sqle){System.out.println("Unable to create statement" + sqle);
    public void createTable(){
    String creaTable = "CREATE TABLE tblPINCODE (PINCODE INT NOT NULL)";
    try{
    dbStatement.executeUpdate(creaTable);
    }catch (Exception e){System.out.print("Unable to create table " + e);
    Can anyone help please?

A: Unable to connect to a database

This works well for me to connect to a Microsoft Access Database. Perhaps it will help. I always appreciated getting some actual help rather than cryptic "don't you know what you're doing, go look" comments. If I knew what I was doing wrong I wouldn't be posting. Therefore, I hope this is helpful and not cryptic!!
This works well for an MS Access Database.
import java.sql.*;
import java.io.*;
public class DBConnection
private static Connection con = null;
public static void setConnection(String path) throws SQLException
DriverManager.registerDriver (new sun.jdbc.odbc.JdbcOdbcDriver());
String database = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=";
database+= path.trim() + ";DriverID=22;READONLY=true}"; // add on to the end
File file = new File(path);
if (!file.exists())
throw new SQLException ("\nFile \"" + path + "\" not found");
con = DriverManager.getConnection(database);
public static Connection getConnection()
return con;
public static void closeConnection()
try
con.close();
catch (SQLException x)
System.out.println("Error: " + x);
// This now is a call from any class to the DBConnection class above.
String filename = "F:/Your own Path.mdb";
DBConnection.setConnection(filename);
Connection conn = DBConnection.getConnection();
// Somewhere in your code, close the conn connection

This works well for me to connect to a Microsoft Access Database. Perhaps it will help. I always appreciated getting some actual help rather than cryptic "don't you know what you're doing, go look" comments. If I knew what I was doing wrong I wouldn't be posting. Therefore, I hope this is helpful and not cryptic!!
This works well for an MS Access Database.
import java.sql.*;
import java.io.*;
public class DBConnection
private static Connection con = null;
public static void setConnection(String path) throws SQLException
DriverManager.registerDriver (new sun.jdbc.odbc.JdbcOdbcDriver());
String database = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=";
database+= path.trim() + ";DriverID=22;READONLY=true}"; // add on to the end
File file = new File(path);
if (!file.exists())
throw new SQLException ("\nFile \"" + path + "\" not found");
con = DriverManager.getConnection(database);
public static Connection getConnection()
return con;
public static void closeConnection()
try
con.close();
catch (SQLException x)
System.out.println("Error: " + x);
// This now is a call from any class to the DBConnection class above.
String filename = "F:/Your own Path.mdb";
DBConnection.setConnection(filename);
Connection conn = DBConnection.getConnection();
// Somewhere in your code, close the conn connection

  • Unable to establish connection to MS SQL 2005 from topology manager in ODI

    Hi,
    My environment:
    WinXP pro SP3, MS SQL SERVER2005, Oracle data integrator latest version.
    MS SQL 2005 JDBC 2.0 DRIVER, JRE 1.4.2
    com.microsoft.sqlserver.jdbc.SQLServerDriver
    jdbc:microsoft:sqlserver://testserver:1433;SelectMethod=cursor;databaseName=AdventureWorksDW;integratedSecurity=false
    I set the classpath, odi_home path and path poiting to jdbc driver in odi home->drivers and to odi->jre->1.4.2
    Before i begin, i would like to mention, i have gone through many forum topicson this one and made sure my string is all right.
    When I try to create a new data server in topology manager, it says connection is successful, but after that when i try to click OK, it gives me a error:
    java.lang.UnsupportedClassVersionError: com/microsoft/sqlserver/jdbc/SQLServerDriver (Unsupported major.minor version 49.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.b.jz.dP(jz.java)
         at com.sunopsis.graphical.frame.b.jz.bD(jz.java)
         at com.sunopsis.graphical.frame.bo.bz(bo.java)
         at com.sunopsis.graphical.frame.b.jz.em(jz.java)
         at com.sunopsis.graphical.frame.b.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)
    Someone please help me.
    Thank you.
    Edited by: user9946607 on Feb 7, 2010 7:20 AM
    Edited by: user9946607 on Feb 7, 2010 7:21 AM

    Hi John,
    Thank you for your reply. The link was good, but it did not solve my problem.
    The artcile you provided me, lead me to another one: http://msdn.microsoft.com/en-us/library/ms378422.aspx
    I download JRE 1.5.
    Based on these, I have JDBC 2.0 (sqljdbc and sqljdbc4.0) files.
    I copy only sqljdbc to my classpath = C:\OraHome_1\oracledi\drivers\sqljdbc.jar
    my ODI_JAVA_HOME = C:\OraHome_1\jre\jre1.5.0_11
    Same error in topology manager.
    Data server name: test.ahu.edu, 1444
    Conntection string:
    com.microsoft.sqlserver.jdbc.SQLServerDriver
    jdbc:microsoft:sqlserver://test.ahu.edu:1444;SelectMethod=cursor;databaseName=AdventureWorksDW;integratedSecurity=false
    I am not sure show the share screen shots here, but if there is a way, please let me know, I can upload the screen shots.
    Please help me.
    java.sql.SQLException: No suitable driver
         at java.sql.DriverManager.getDriver(Unknown Source)
         at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.java)
         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.l.pm.o(pm.java)
         at com.sunopsis.graphical.l.pm.r(pm.java)
         at com.sunopsis.graphical.l.pm.g(pm.java)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.iz.actionPerformed(iz.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.Dialog$1.run(Unknown Source)
         at java.awt.Dialog$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Unknown Source)
         at java.awt.Component.show(Unknown Source)
         at java.awt.Component.setVisible(Unknown Source)
         at com.sunopsis.graphical.l.pm.q(pm.java)
         at com.sunopsis.graphical.l.pm.<init>(pm.java)
         at com.sunopsis.graphical.frame.b.jh.bx(jh.java)
         at com.sunopsis.graphical.frame.bo.w(bo.java)
         at com.sunopsis.graphical.frame.bo.d(bo.java)
         at com.sunopsis.graphical.frame.w.actionPerformed(w.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Thank you.

  • Trouble connecting to SQL 2005

    I'm using Flex 3, trying to connect to SQL 2005 via ASP with IIS7.
    I was following the instructions listed [url=http://livedocs.adobe.com/flex/3/html/help.html?content=data_3.html]here [/url] under the section "Generating an ASP .NET database application", I attempted to Create an Application from Database, following all the steps as listed, but Flex is failing to connet to my database.
    I specified a name for the connection profile (I assume this can be anything - maybe this is my mistake), on the next screen under server name I put in the name of my local SQL 2005 Server on my machine: DAVE-PC\SQLEXPRESS, I put in the name of the database AIS1010 and user ID: sa and password 1234 (these all match the credentials on my local SQL Server) and I clicked the button 'Test connection', I get the message unable to connect to database.
    I looked at the logs under the detail button, and I can see that Flex is failing to find "DAVE-PC\SQLEXPRESS'.  What am I doing wrong here?
    Is there something specific I need to do in IIS?
    D.

    I should add:
    The first line of the error details reads:
    java.sql.SQLException: Unknown server host name 'DAVE-PC\SQLEXPRESS'.
    but this is the correct server name in SQL 2005.
    also
    In the Projects Flex Server Properties root folder is: C:\inetpub\wwwroot\
    root URL is: http://localhost/
    these locations do 'validate' in Flex.
    IIS Server is running and I'm able to run other applications through it using some other applications, both in Flex and in Unipaas..
    D

  • Error in Connecting to MS SQL 2005 via JDBC Driver

    Here's the setup
    CF MX7 resides on a centOS wid Apache 2.0 webserver box.
    I need to established a datasource connection between the
    Coldfusion server and a MSSQL 2005 Express+SP1 database sitting on
    a remote XP wid SP2 setup.
    I've also downloaded and installed on the /lib folder of the
    CFMX7 server the corresponding JDBC drivers (versions 1.1 and 1.0)
    for the MS SQL server.
    The thing is, this problem always occurs:
    Connection verification failed for data source:
    datasourcename
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for
    JDBC]Error establishing socket.
    The root cause was that: java.sql.SQLException:
    [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing
    socket.
    The datasource connection info is as follows:
    CF Datasource Name: datasourcename_JDBCdriver
    JDBC URL:
    jdbc:microsoft:sqlserver://192.168.0.47:1433;DatabaseName=nameofdatabase
    Driver Class: com.microsoft.sqlserver.jdbc.SQLServerDriver
    Driver Name: mssql2005
    Username: sa
    Password: userdefinedpassword
    I've already tried these settings:
    * Enabled mix mode of authentication under the SQL server
    * Affix a /MSSQLSERVER instance name on the jdbc url setting
    "jdbc:microsoft:sqlserver://192.168.0.47\MSSQLSERVER:1433;DatabaseName=nameofdatabase"
    but a different error had occured:
    The root cause was that: java.sql.SQLException:
    [Microsoft][SQLServer 2000 Driver for JDBC]The requested instance
    is either invalid or not running.
    so i remove it since its only an optional setting
    * Configured the SQL 2005 Express, under the SQL Server
    Configuration Manager, to listen to protocol TCP/IP under port 1433
    (this is the ONLY ENABLE protocol)
    I've checked using Telnet and netstat and the SQL service is
    normally listening to the said port.
    * Disabled windows firewall under XP (came with SP2)
    and even tried using other JDBC drivers such as:
    * macromedia drivers
    * jtds driver
    but to no avail.
    Is the problem still within the MS SQL 2005 Express wid
    XP+SP2 box or a connecting issue on the Cf server under the
    centOS/Apache machine?
    A little help would do wonders just about now.

    I had the same problem, but do not have express version. In
    the configuration manger, I viewed the properties of the enabled
    tcp/ip protocol. On the IP addresses tab, I found that though the
    IPs were enabled, the drop down beside active was no. I changed all
    to yes, applied it and restarted my instance. Then in the cf
    datasource I left the port blank and everything worked.

  • SQL 2005 will not connect in SQL 2012 profiler

    We have a few SQL 2005 databases that we manage. I went to do a trace on them(recently upgraded to 2012) and it gives me the error, "SQL Server Native Client 11.0 does not support connections to SQL Server 2000 and earlier versions".
    According to MSDN it does.  https://msdn.microsoft.com/en-us/library/cc280356(v=SQL.110).aspx  
    "SQL Server Native Client 11.0 supports connections to SQL Server 2005, SQL Server 2008, SQL Server 2008
    R2, SQL Server 2012, and Windows Azure SQL Database."
    Any clue why it wouldn't let me connect?

    Can you specify the following parameter in the "connect to server" dialog when you load the Profiler --> click on "options" button and go to "Additional Connection Parameters" tab and paste the following?
    DataTypeCompatibility=80
    Satish Kartan www.sqlfood.com

  • Maybe you are looking for

    • TimeOut Exceeded in SMQ2- queue Block

      Hi all,    I am having an issue with my production  PI BOX. Not sure if there is any solution for this. I have some interfaces in PI which expects huge payload data.Sometime the messages are getting failed in SMQ2 with error message " Time Limit Exce

    • Table statistics delete

      Hi Is there any command to delete gathered statistics of a table suppose : I have gather table statistics as under exec dbms_stats.gather_table_stats('TEST1','EMP'); now I want to delete the statistics from the above table EMP Regards Jewel

    • Using table comparison transform can you point to multiple tables as target

      Using table comparison transform can you point to multiple tables as target tables? Thank you very much for the helpful info.

    • Down to just 0.25mb speed

      Hi I've had a few bad/noisy connections which I've now cured. My speed was 7 -8mb but now down to 0.25. It's been 48hrs since the line has been quite but the speed has not increased from 0.25. How long will it take? Ta Solved! Go to Solution.

    • Configuration guides for Healthcare / Pharma industries.

      Hi, Where can I find configuration guides for SAP CRM for Healthcare / Pharma industries? Thanks, Satya.