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

Similar Messages

  • Possible for AIR app connecting to SQL 2005 server

    Is it possible using Flex AIR to connection to SQL 2005
    server and fetch data ?
    If YES, whats step / process we need to follow please.
    We have the DB in sql 2005 and we want to develop desktop
    client and fetch the records from DB to AIR app.

    "kamaljeetsinghsaini" <[email protected]>
    wrote in message
    news:gmsmnc$non$[email protected]..
    > As we know that AIR supports SQlite only but in our case
    we want to fetch
    > data
    > from server that is using SQL 2005 as DB. So are you
    saying we can
    > directly
    > send the HTTP service to that server and fetch data from
    it ?
    You can send the HTTPService request to whatever back end
    technology you are
    currently using to access it. For example, if you are using
    ASP.net, you
    would still use ASP.net, but you would send back something
    that Flex
    understands, such as XML, instead of the HTML that the
    browser client
    understands.

  • Connecting to SQL 2005 from Oracle error

    I have an Oracle Database and SQL Database on the same server and wants to use odbc to connect to the SQL 2005 database and query tables of my choice.
    I did configured the ODBC correctly and called the DSN TSH_ARCHIVE. I have tested it and it works great. But each time I run the following query I get error:
    SQL> select count(*) from BALANCES_HS@tse_archive;
    select count(*) from BALANCES_HS@tse_archive
    ERROR at line 1:
    ORA-12154: TNS:could not resolve the connect identifier specified
    Any suggestion and help will be greatly appreciated.
    Edited by: azaza on Jan 28, 2010 6:32 AM

    Hi,
    Thanks for the files.
    There are some problems with the configuration.
    listener.ora -
    LISTENERTSE_ARCHIVE =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST = xxxxx.ita.doc.gov)(PORT=1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=TSE_ARCHIVE)
    (ORACLE_HOME=J:\app\product\11.1.0\db_2)
    (PROGRAM=hsodbc)
    (SID_DESC=
    (SID_NAME=tpisdb06)
    (ORACLE_HOME=J:\app\product\11.1.0\db_2)
    This should be -
    LISTENERTSE_ARCHIVE =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST = xxxxx.ita.doc.gov)(PORT=1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENERTSE_ARCHIVE =
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=TSE_ARCHIVE)
    (ORACLE_HOME=J:\app\product\11.1.0\db_2)
    (PROGRAM=dg4odbc)
    (SID_DESC=
    (SID_NAME=tpisdb06)
    (ORACLE_HOME=J:\app\product\11.1.0\db_2)
    The SID_LIST_LISTENER needs to match the actual listener name and the program for 11g DG4ODBC is called dg4odbc and not hsodbc.
    tnsnames.ora -
    TSE_ARCHIVE =
    (DESCRIPTION=
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = TSE_ARCHIVE)(PORT=1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TSE_ARCHIVE)
    (HS=OK)
    The HOST name - TSE_ARCHIVE does not match the HOST in the listener, so it should be -
    TSE_ARCHIVE =
    (DESCRIPTION=
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxx.ita.doc.gov)(PORT=1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TSE_ARCHIVE)
    (HS=OK)
    I've changed the actual name to xxxxx so replace that with the name in the original file.
    Change the files, stop and start the listener then try again.
    If you still have an ora-12154 error then send the output from the following SQL -
    select db_link, host from user_db_links; <=== as the user getting the error
    and
    select db_link, host from dba_db_links; <===== as a DBA user
    Regards,
    Mike

  • Crystal 8.5 connection with Sql 2005

    Post Author: sgtpep
    CA Forum: Semantic Layer and Data Connectivity
    Hello all,I'm not sure this is the right forum group to post in, but here it goes:I have a  problem when trying to print my crystal 8.5 reports through a sql 2005 native client.Some of them work just fine, but i get this error: "print job failed cannot open sql server" for others.I've been doing a little research, but i can't seem to find a definitive answer on this topic: Can/Does crystal 8.5 work with sql 2005 databases.I did find something about upgrading my drivers, but i'm not sure where to find them and what i should be looking for.Thanks in advance for your help,Eric

    I see - the field notice does mention ICM 7.2(7)ES139.
    Multiple occurrences of this issue have been observed since October 14, 2010
    and on all Unified ICM/CCE releases. This is not a regression defect. The issue
    occurs when a Microsoft SQL Server query operation is performed to compare the
    'lastUpdateKeys' on AW and Central Controller/Logger, during the incremental
    copying of configuration changes to the local AW. In addition, using the ICMDBA
    tool to backup and restore the database with "Truncate Config Message Log"
    option checked can lead to a similar issue that causes the ICM/CCE Router to
    reject configuration updates. No UpdateAW restart is observed in this
    situation.
    I mistakenly thought it was caused by the SQL upgrade from 2000 to 2005.
    By the way, regarding defect CSCtj65060, I NEVER check that "Truncate Config Message Log" option when exporting the config.
    Regards,
    Geoff

  • How Crystal report XI connect to SQL 2005(9.0.3073)

    hi
    i am trying to connect sql server 2005 to create a new report, however, it seems Microsoft OLE DB Provider for SQL server is not working for sql server 2005
    please advise which data link i have to use for connecting sql server 2005?
    thanks

    it seems Microsoft OLE DB provide for SQL server is only working for sql 2000 and earlier version, for sql 2005, it should use sql server provide, however, it is not an option in the crystal report?
    i don't want to use ODBC to connect sql 2005, any body knows if there is other way to connect sql 2005?

  • Issues connecting to sql 2005 database using Oracle sql developer 1.2

    I just installed the sql developer and was trying to use the quick migrate to try a migration from a sql server to oracle..
    I am getting the following error message when i click on the retrieve database after entering the database credentials
    Status : Failure net.sourceforge.jtds.jdbc.driver
    I am getting another error message when i click on the 'test' button
    Status: Failure - Unable to find driver: net.sourceforge.jtds.jdbc.driver
    I downloaded the jtds driver from source forge and i am wondering what I should do to get the sql developer to make successful connections to sql server.
    Any help is appreciated.
    Thanks

    I have the same issue with both version 1.1.3 of the SQL developer and the latest version(1.2.1). I have added the jar file path in tools->preferences->Database->Third Party etc...
    I got the jar file from this download: jtds-1.2.2-src.zip
    I get this error when trying to connect to an sql server:
    oracle.jdeveloper.cm.CMException: Unable to find driver: net.sourceforge.jtds.jdbc.Driver
         at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.createConnection(RaptorConnectionWrapper.java:175)
         at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.getJdbcConnection(RaptorConnectionWrapper.java:202)
         at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.getPresentation(RaptorConnectionWrapper.java:68)
         at oracle.dbtools.raptor.utils.Connections$ConnectionInfo.createConnection(Connections.java:1004)
         at oracle.dbtools.raptor.utils.Connections$ConnectionInfo$ConnectRunnable.doWork(Connections.java:876)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:553)
         at java.lang.Thread.run(Thread.java:595)
    Any help would be appreciated. I like the tool would hate to have to abandon it, it works like a charm on our oracle databases.

  • Not able to connect to SQL 2005

    All,
    I am not able start WLI domain with weblogic XA drivers to sql 2005. It fails during startup.
    I was able to create weblogic XA data source on another weblogic instance( NOT WLI) after it was up and running. I was able to select from XA datasource. I was able to select with the same SQL(SELECT PROCESS_TYPE, PROCESS_INSTANCE FROM WLI_PROCESS_DOC_REFERENCE) where wli was failing.
    I added wlspy.jar for debug messages.
    spy(2005/11/04 14:54:13.967)>> java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 1 (""): Data type 0x38 is unknown. ErrorCode=8009 SQLState=HY000
    java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 1 (""): Data type 0x38 is unknown.
    at weblogic.jdbc.base.BaseExceptions.createException(Ljava.lang.String;Ljava.lang.String;I)Ljava.sql.SQLException;(Unknown Source)
    at
    Any help appreciated.

    Satish Patil wrote:
    All,
    I am not able start WLI domain with weblogic XA drivers to sql 2005. It fails during startup.
    I was able to create weblogic XA data source on another weblogic instance( NOT WLI) after it
    was up and running. I was able to select from XA datasource. I was able to select with the
    same SQL(SELECT PROCESS_TYPE, PROCESS_INSTANCE FROM WLI_PROCESS_DOC_REFERENCE) where wli was failing.What driver was the other WLS using? Same driver? Same
    revision level? Are the two WLS versions the same? What
    version(s)?
    I added wlspy.jar for debug messages.
    spy(2005/11/04 14:54:13.967)>> java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 1 (""): Data type 0x38 is unknown. ErrorCode=8009 SQLState=HY000
    java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 1 (""): Data type 0x38 is unknown.
    at weblogic.jdbc.base.BaseExceptions.createException(Ljava.lang.String;Ljava.lang.String;I)Ljava.sql.SQLException;(Unknown Source)Send us the whole spy log. Actually the first
    thing you should do is to contact offical
    support and get the latest driver package.
    thanks
    Joe

  • Trouble connecting to SQL 2014 Database using Power Query

    I am trying to connect to a SQL 2014 Database using Power Query.  My connection string requires that I set the "Application Intent" setting to a value of "readonly", The connection parameter is required by SQL 2014 because of
    the failover cluster configuration.   
    I have successfully been able to connect via PowerPivot with the following connection string:
    Provider=SQLNCLI11;Data Source=<Server>;Persist Security Info=False;Integrated Security=SSPI;Initial Catalog=<DB>;Application Intent=readonly
    I cannot seem to find the correct syntax to connect via SQL 2014.  This is the syntax that I have been attempting: 
    Sql.Database("<Server>", "<DB>",[Application Intent=readonly])
    Is this currently supported?
    Thanks, Barbara

    It's not yet, I'm afraid, but it's something we're aware of and have vague plans to address :/.

  • Coldfusion connection to MS SQL 2005

    Please help with this issue if you have any suggestions. I am
    trying to establish a connection from my IIS server with ColdFusion
    to another local server with an MS SQL 9.0 database. I can connect
    to this database using Enterprise from another computer, but when I
    use the same username and password within ColdFusion I get the
    following error:
    Connection verification failed for data source: FORMS
    java.sql.SQLException: [Macromedia][SQLServer JDBC
    Driver][SQLServer]Login failed for user 'domain\coldfusion'. The
    user is not associated with a trusted SQL Server connection.
    The root cause was that: java.sql.SQLException:
    [Macromedia][SQLServer JDBC Driver][SQLServer]Login failed for user
    'domain\coldfusion'. The user is not associated with a trusted SQL
    Server connection.
    I have reinstalled ColdFusion with no errors and have also
    installed the MS JDBC driver for MS SQL 2005 but still get the same
    error.
    Thanks for any suggestions you might have.
    Craig

    If there is anyone else with this problem I have something
    that you may want to try. This did work for me and I'm able to
    connect to SQL 2005 using ODBC Socket. The IIS computer was using
    system credentials and not the ColdFusion credentials I had
    created.
    On the ColdFusion application server goto the Properties of
    CF's ODBC server and agent. Under LogOn change the LogOn
    information to the username and password you have set up for
    ColdFusion for both and restart these services. When setting up
    your ODBC Socket do not include username or password information.
    Hopefully CF8 will include Windows Authentication. Even with
    this workaround we may need to switch to mixed authentication on
    SQL which is not ideal.

  • Connecting to SQL Server 2005 Express

    Hi All,
    Have gone through the forums but can't seem to fix this problem.
    I'm running DW 8 and ASP.NET VB pages (XP Pro, IIS 5.1) and cannot get DW to connect to SQL 2005 Express. Please see attached error message.
    I have no problem connecting when I'm in Visual Web Developer 2008 Express.
    The settings in DW when I have a ASP.Net page open are;
    "Persist Security Info=False;
    Data Source=[mycomputer];
    Initial Catalog=[mydatabase];
    User ID=[myuser];
    Password=[*************]"
    Would appreciate someone's wisdom here, I much prefer to use DW than VWD!!
    Thanks in advance.
    Pete

    Question moved to the appropriate forum: Dreamweaver Application Development.

  • IPC 4.0 Standalone with SQL 2005 Express as a database

    Hello,
    I am trying to setup IPC 4.0 standalone up for a training class on a XP laptop with SQL 2005 Express as the database.  I keep getting login errors connecting the IPC admin.bat tool to the sql database.  And yes, I know this is not 'officially' supported by SAP, but I see no technical reason why it shouldn't work and yes my port is correct.  My entries are as such:
    Alias: 00_230
    Server: localhost
    System: Microsoft SQL Server
    Database Name: 00_230
    port: 1433
    User: ipc
    password: hidden
    client: 230
    Is everything I entered correct?  Am I missing anything that I need?
    Thanks!

    Hi Jeff.
    You will probably have problems with the database subsystem, when you upgrade to UccX7.0.1 if the 3rd party database is af SQL2k5 server.
    There is a fix for that problem, check below :
    Upgrading UCCX to 7.0(1)Sr4 is failing ODBC connection to SQL 2005.
    Symptom:
    Upgrading the UCCX server to 7.0(1) Sr4 and OS to 2003.1.4a SR11 is failing the ODBC connection to SQL 2005 external database.  (also a problem in new installations)
    The error generated when trying to setup a ODBC connection to SQL 2005 database is
    ======
    [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.
    =======
    Conditions:
    Upgrade to UCCX 7.0(1) Sr3 or 4 and OS upgrade to 2003.1.4a SR11
    Workaround:
    Work around:
    a) In UCCX SQL Server 2000 - Start the Client Network Utility.  (cliconfg.exe is used from MSDE versions of UccX)
    b) On the General tab, add TCP/IP in the list under Enabled protocols by order. (make sure its first)
    c) Click the Alias tab, and then click Add. Under Network libraries, select TCP/IP.
    d) In the Server name text box, type the IP address of the server that is running SQL Server
    2005.
    Note:
    If port other that 1433 is being used Click the check box to clear the Dynamically determine port option, and then type the port number of the instance of SQL Server 2005 in the Port number text box.
    Regards
    \Søren Lavard

  • IPCC 4.0(5) with Sql 2005 Enterprise DB

    Hello,
    I currently have IPCC 4.0(5) (no SR) doing with an ODBC connection to a SQL 2000 server.  I am preparing to upgrade the SQL 2000 server to SQL 2005 (only upgrading a SQL server, not touching SQL 2000 running on IPCC).
    According to the document in the link below, support for SQL 2005 as an enterprise db was not posted until IPCC 4.0(5) SR2.  I will be upgrading to IPCC 7.x very soon, but need to buy time and avoid touching IPCC 4.0(5).  Does anyone know if the ODBC connection from IPCC 4.0(5) will connect to a SQL 2005 server?
    http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_compatibility/matrix/crsmatrxeol.pdf
    Thanks,
    Jeff

    Hi Jeff.
    You will probably have problems with the database subsystem, when you upgrade to UccX7.0.1 if the 3rd party database is af SQL2k5 server.
    There is a fix for that problem, check below :
    Upgrading UCCX to 7.0(1)Sr4 is failing ODBC connection to SQL 2005.
    Symptom:
    Upgrading the UCCX server to 7.0(1) Sr4 and OS to 2003.1.4a SR11 is failing the ODBC connection to SQL 2005 external database.  (also a problem in new installations)
    The error generated when trying to setup a ODBC connection to SQL 2005 database is
    ======
    [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.
    =======
    Conditions:
    Upgrade to UCCX 7.0(1) Sr3 or 4 and OS upgrade to 2003.1.4a SR11
    Workaround:
    Work around:
    a) In UCCX SQL Server 2000 - Start the Client Network Utility.  (cliconfg.exe is used from MSDE versions of UccX)
    b) On the General tab, add TCP/IP in the list under Enabled protocols by order. (make sure its first)
    c) Click the Alias tab, and then click Add. Under Network libraries, select TCP/IP.
    d) In the Server name text box, type the IP address of the server that is running SQL Server
    2005.
    Note:
    If port other that 1433 is being used Click the check box to clear the Dynamically determine port option, and then type the port number of the instance of SQL Server 2005 in the Port number text box.
    Regards
    \Søren Lavard

  • Having trouble connecting SQL Developer to database on LINUX machine

    Having trouble connecting SQL Developer to database on LINUX machine
    Hello,
    I am trying to connect my windows 7 home premium machine to an oracle database 11g on a RedHat 5 machine using SQL Developer. i got this error message on SQL Developer
    Status : Failure - Test failed :The Network Adapter could not establish the connection
    on Linux
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date                03-APR-2013 16:13:13
    Uptime                    7 days 22 hr. 16 min. 41 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/product/11.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.X.X.X)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orc11g" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    Service "orc11gXDB" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    Service "orc11g_XPT" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL> and TNSPING
    tnsping 172.x.x.x
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 11-APR-2013 14:32:17
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
    Used EZCONNECT adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=172.x.x.x))(ADDRESS=(PROTOCOL=TCP)(HOST=172.x.x.x)(PORT=1521)))
    OK (0 msec)
    [oracle@ltebilling ~]$Tnsnames.ora On Linux ,
    ORC11G =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orc11g)
    )Listner on Linux ,
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521))
    )/ect/hosts Linux ,
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    172.x.x.x             LTEBillingand there is no problem of ping linux from windows
    Edited by: user11309581 on Apr 11, 2013 3:16 PM

    yes really i'm already enaple the port 1521 and SELINUX=disabled
    [root@ltebilling ~]# /etc/init.d/iptables status
    Table: filter
    Chain INPUT (policy ACCEPT)
    num  target     prot opt source               destination
    1    RH-Firewall-1-INPUT  all  --  0.0.0.0/0            0.0.0.0/0
    Chain FORWARD (policy ACCEPT)
    num  target     prot opt source               destination
    1    RH-Firewall-1-INPUT  all  --  0.0.0.0/0            0.0.0.0/0
    Chain OUTPUT (policy ACCEPT)
    num  target     prot opt source               destination
    Chain RH-Firewall-1-INPUT (2 references)
    num  target     prot opt source               destination
    1    ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0
    2    ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0           icmp type 255
    3    ACCEPT     esp  --  0.0.0.0/0            0.0.0.0/0
    4    ACCEPT     ah   --  0.0.0.0/0            0.0.0.0/0
    5    ACCEPT     udp  --  0.0.0.0/0            224.0.0.251         udp dpt:5353
    6    ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:631
    7    ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:631
    8    ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED
    9    ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:1521
    10   ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:22
    11   REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibitedbut from windows system when i'm try tnsping i got this error
    C:\Windows\system32>tnsping orc11g
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 11-APR-2
    013 14:44:09
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    D:\app\ubai\product\11.2.0\dbhome_2\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x
    .x)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orc11g))
    TNS-12535: TNS:operation timed out
    C:\Windows\system32>

  • 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

  • Database connection to MS SQL 2005 (URGENT Help Needed)

    Hi all,
    Does anyone know how to connect my adobe form to MS SQL 2005?
    I have this code:
    try {
         InitialContext initialContext = new InitialContext ();
         DataSource dataSource = (DataSource) initialContext.lookup ("jdbc/MyAlias");
          java.sql.Connection connection = dataSource.getConnection ();
    } catch (SQLException e) {
         // handle exception
    } catch (NamingException e) {
    // handle exception
    Other than these, what else do i need to do inorder to get my database connection up?
    And after my database connection is up, how do i test to check if my database connection is up or not?
    How do i extract the information from the database and put them onto the textfields/dropdownlists on my form?
    Thanks In Advance

    Hi Mel,
    After implementing the codes and modifying them, some of them are underlined, why is this so? =X
    Or are u willing to exchange msn so i could send u the screenshot instead?
    Thanks In Advance
    (Sorry im not that good in this)
    (I shall underline the areas which represents the red underline in my web dynpro)
         //Code for database connection.
           InitialContext ctx = new InitialContext();
           DataSource ds = (DataSource)_ctx.lookup("jdbc/JXDataSource");_
           Connection conn = ds.getConnection();
           Statement st = null;
           ResultSet rs = null;
           IPrivateDetailed_Claims_FormView.IFillDataElement dataEle = null;
           st = conn.createStatement();
         //     Execute the appropriate SQL query
           rs = st.executeQuery("SELECT NAME WHERE VENDORCODE='9000116L' ");_     
           while (rs.next())       {
         //     Code that will populate your VN based on the data obtained in the ResultSet.
           dataEle = wdContext.createFillDataElement();
           dataEle.setName(_rs.getString(1)_);
          // dataEle.setAge(rs.getInt(2));
          // dataEle.setAddress(rs.getString(3));
           //wdContext.nodeFillData.addElement(dataEle);
           //  Close the connections
           rs.close();
           st.close();
                      conn.close();
    Edited by: JingXuan Lim on Jan 25, 2008 4:59 AM
    Edited by: JingXuan Lim on Jan 25, 2008 5:00 AM

Maybe you are looking for

  • 3194 error while updating, Secure Link to iTunes Store Failed, No Audio CD Found

    Microsoft Windows 7 Ultimate Edition (Build 7600) LENOVO 20060 iTunes 10.7.0.21 QuickTime not available FairPlay 2.2.19 Apple Application Support 2.2.2 iPod Updater Library 10.0d2 CD Driver 2.2.3.0 CD Driver DLL 2.1.3.1 Apple Mobile Device 6.0.0.59 A

  • Need help with a Java-SQL connection

    My classmates and I created a DesktopFrame. Within it are reports that require a connection to an MS Access Database. When a report in an InternalFrame is opened: the SQL command works, there is a connection, and everything goes well on the first run

  • Oracle 8i on Windows XP

    Sorry about the triple posting -- let's hope I got it right this time :) I have been trying to set up Oracle 8i on Windows XP. I bought the CD pack ---- Oracle Database 8i for Windows NT/95/98. However I have not been able to get anything to work. Fo

  • Cant save custom theme

    Hi, We are new into SAP Fiori area and we would like to customize our theme. I have gone through many articles, but when I try to open the UI Theme Designer using the tcode. The UI theme designer opens up. When I open a standard theme, it does not al

  • WIN - UNIX: color palette

    Hi, How can you port as color palette definition file from win -> unix and get your custom colors displayed Form help guide takes you only to the point of creating a custom color palette and using it on windows - not actually deploying it ! I've trie