Failed to connect SQL Server from Web Analysis
Hi,
I am not able to connect RDBMS-SQL Server 2000 SP3 from Web Analysis 9.3. I have installed JDBC driver for SQL Server 2000 also. Also defined CLASSPATH environmental variable for MSSQLSERVER.jar file. I am creating JDBC drive as: -
Driver Type: Microsoft SQL Server
Database Connection String:
jdbc:microsoft:sqlserver://CNOIA258:1433;DatabaseName=biplus;SelectMethod=cursor
JDBC User: biplus
JDBC: biplus
I am getting error "Getting Connection Failed"
Please suggest any solution to resolve this issue.
Regards.
Atul K
Hi Atul
I think you need to amend the standard strings as follows:
hyperion.jdbc.sqlserver.SQLServerDriver
jdbc:hyperion:sqlserver://CNOIA258:1433;DatabaseName=biplus;SelectMethod=cursor
This has always worked for me, hope this helps
Stuart
www.analitica.co.uk
Similar Messages
-
Not Possible Create Database Connection to Essbase From Web Analysis Studio
Hello
It is not possible to create a database connection to Essbase cluster from Web Analysis (WA) Studio. The following error message is displayed:
"Unable to retrieve the list of available databases"
And the detail:
[1033] Native: 1003 Error: Create connection failed [For input string:
[ApsServer=, OlapServer=[HOST];]]
Foundation Services, Agent, Financial Reporting and Web Analysis are enabled.
As additional information from EAS can seamlessly connect to Essbase server.
The EPM version is 11.1.2.2
Please help. thanks
regards
RodrigoHi ,
For creating a WebAnalysis database connection, please make sure you do the following :
1. Verify if you have Essbase client installed on the WebAnalysis server.
2. Check if the path of adm drivers are mentioned in the system environment variable -> PATH entries.
3. Try giving the Essbase server name instead of the cluster name when attempting to create a connection.
4. The error 1003 means it doesnt seem to create a connection with the server and while attempting it fails.
Make sure you have all the parameters mentioned correctly in the server details.
To get detailed information on what is causing the problem, make sure you stop the WebAnalysis service and start it from console . -
Connecting SQL server from Adobe forms
Hi Experts,
I want to know, whether it is possible to connect SQL Server database from Adobe Form directly at runtime without WAS/ADS. If it is possible, please provide any material to proceed further.
Please help.
Thanks,
RajeeHave a look at the following document, it explains how to use a MS Access database but it should also work when using a ODBC Data source configured for a MS SQL database.
[Providing interactive database lookup from forms|http://www.adobe.com/devnet/livecycle/articles/lc_designer_db_lookup_tip.pdf]
I hope I could help you. -
Failing to connect SQL Server 2005 from SAP
I'm trying to connect SQL database to write some data to an external sql table. But it's failing giving below message,
Error Message returned from "ADBC_TEST_CONNECTION" program:
Testing a Database Connection Defined in DBCON
Could not open connection EACT_MESSAGES
sql error 1- occured:
Login timeout expired
I can connect from .NET Applications using the same connection string configuration.
What could be the reason for this.
Do I need to enable some service for this in SQL server. I have enabled all possible SQL related services.
But still no luck.I found a solution..
Instead putting the server name, used IP address which is static. that solved the issue. -
Connect SQL Server From Oracle
Hi Experts,
I want's to made connection from Oracle 10g to Ms SQL Server 2000. I made necessary entries in receptive file, but still getting an error...
Setting info .....
*/hs/initMYSQLSERVERDSN.ora*
HS_FDS_CONNECT_INFO = MYSQLSERVERDSN
HS_FDS_TRACE_LEVEL = OFF
LISTENER.ORA
LISTENERMYSQLSERVERDSN =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)(queuesize=80)))
SID_LIST_LISTENERMYSQLSERVERDSN=
(SID_LIST=
(SID_DESC=
(SID_NAME=MYSQLSERVERDSN)
(ORACLE_HOME = E:\oracle\product\10.1.0\db_1)
(PROGRAM=hsodbc)
TNSNAME.ORA
MYSQLSERVERDSN =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
(CONNECT_DATA=(SID=MYSQLSERVERDSN))
(HS=OK)
LISTENER start successfully, and tnsping working fine.
But after createing db link , when i execute query desc spt_datatype_info@mysqlserverdsn;
I am geting an error message in listenermysqlserverdsn.log file
TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
Please help me out from this issue.
Thanks in Advance
ManiYou OS ?
I have also done the same.
I did install SQL Server & Oracle on another machine with Windows.
For more pls visit.
http://www.dba-oracle.com/t_heterogeneous_database_connections_sql_server.htm
Aqeel Nawaz -
Connect Sql Server From Oracle Both on Windows
I want to connect my SQL Server running on Windows2003 with my oracle database 10g which is also on windows through some odbc which i have also created on my machine running oracle 10g. Can some one guide me with simple steps.
Generally most folks use OLEDB rather than ODBC for that.
If you have Metalink access, check out the following note:
Note.191368.1 Ext/Pub How to Create a Sql Server Linked Server With The Oracle Provider for OLE DB:
Hope it helps,
Greg -
Connecting SQL server from Oracle 11g
Hello,
I know there are several threads available to this post but please help me in
*step by step process to follow in connecting 2 servers.
I tried everything in internet but got Connection closed error after tnsping of DNS name. Do i need to run any instance sort of thing in SQL server?
I dont have any access on SQL server.Whatever i have to do that has to be only in Oracle server.I got all those information and created ODBC (using SQL server driver) and tested the connection successfully in Oracle server. Altered INIT*.ORA,TNSNAMES.ORA and LISTENER.ORA but when pinging TNS awfully getting the afore said error.
My environment : Oracle 11g server - SQL server 2008 ( both in windows platform).
My
TNS names entry
GSIS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.1.1)(PORT = 63455))
(CONNECT_DATA = (SID=GSIS)
(SERVER = DEDICATED)
(HS=OK)
Listener entry
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
(ADDRESS = (PROTOCOL = TCP)(HOST = COB417147.cob.apac.bosch.com)(PORT = 1522))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\bin\oraclr11.dll")
(SID_DESC =
(SID_NAME = GSIS)
(ORACLE_HOME = C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1)
(PROGRAM = hsodbc)
and
initGSIS
entry
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO = GSIS
HS_FDS_TRACE_LEVEL = OFF
# Environment variables required for the non-Oracle system
#set
when tnsping i am getting
TNS connection closed.
I am awfully stuck here.
Please guide..Status
C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\BIN>lsnrctl status
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 11-MAY-2012 17:48
:14
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 11-MAY-2012 17:36:30
Uptime 0 days 0 hr. 11 min. 48 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\network\
admin\listener.ora
Listener Log File c:\oracle\app\amk1cob\diag\tnslsnr\COB417147\listener\
alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=COB417147.cob.apac.bosch.com)(PORT=1
522)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=COB417147.cob.apac.bosch.com)(PORT=8
080))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "GSIS" has 1 instance(s).
Instance "GSIS", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl.cob.apac.bosch.com" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB.cob.apac.bosch.com" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
TNS ping
C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\BIN>tnsping GSIS
TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 11-MAY-2
012 18:21:55
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.
1.1)(PORT = 63455)) (CONNECT_DATA = (SID=GSIS)) (HS=OK))
TNS-12537: TNS:connection closed
C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\BIN>
BTW it is 32-bit machine.
Edited by: 933729 on May 11, 2012 5:57 AM -
Is that any posibility to connect SQL Server from mobile phone?
As we have known in Destop application we can use jtds or SQL Server 2000 Driver for JDBC to access SQL Server. How about mobile phone? Is there any kind of this driver supported to do same thing?
Thanks for your help,
VeasnaJust to second/echo the excellent advice given by omcgovern. Do NOT
connect your phone directly to your database. This is a really, really,
really dumb thing to do.
Connect your phone to a tier of your making and have that tier talk to
the database.
And just to lay out why trying to connect the phone and database directly
are bad ideas.
1) This is a major security nightmare
2) Mobile and embedded devices tend to have very simplistic/limited/otherwise odd implementations of TCP. This is done to conserve space and performance. So I wouldn't be shocked if it was
even actually impossible to physically get and maintain a connection
to a database.
3) The SQL Server protocol is complex and so are the drivers. Complexity means a largish size. Size is at a premium on mobile devices. -
Exception:'NetworkAdapter fails'when connecting with oracle from web dynpro
Hi,
I am trying to run one of my application in SAP netweaver Studio(webdynpro).
I want to connect to the oracle db on my local system.
I wrote the code:
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection cn=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:DSNname","UsrId","password");
I am getting the following error in the connection statement
Error:
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
Oracle is 9.2.0.1.0 on windows XP platform.
I can do an SQLPLUS and the connection is ok.
I don't know were the problem is ?
Can any body help me out.
Thanks
SmithaHi,
For the error "The Network Adapter could not establish the connection" check and do the following:
In the Computer Management - Services, check if the Oracle*TNSListener is started. If not, restart the listener and set the Startup Type to "Automatic".
Also check whether the port number in listener.ora is correct ($ORACLE_HOME\network\admin\listener.ora) and updated during the installation.
For other details run through SAP Note 786673
Hope this helps.
Regards
Srinivasan T -
Failed to connect Oracle server from a x86 machine
Hi everyone,
Could you please help me take a look at the error below?
error info: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater
I just download the Oracle client (please refer to the url below) to my x86 machine, and set the machine following the installation steps, but failed to get the error above.
http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html
Could you please tell me how to fix that error?
your help will be very appreciated :-)
Thanks
LindsayBy examining it and reading all possible stuff...
http://www.oracle.com/technology/tech/oci/instantclient/index.html has:
OCI, OCCI, Pro*C, ODBC, and JDBC applications work without modification
You'll have to read that as: only those applications will work.
The "Database Client Installation Guide" says in chapter 1.3:
Instant Client: Enables you to install only the shared libraries required by Oracle Call Interface (OCI), Oracle C++ Call Interface (OCCI), Pro*C, or Java database connectivity (JDBC) OCI applications.
http://download-uk.oracle.com/docs/cd/B19306_01/install.102/b15662/install_overview.htm#sthref23
If you have Metalink access, Note 565000.1 will tell you everything in much more detail.
This Note also tells me that .NET and OLEDB providers are included in Instant Client 11.1.0.6 and higher, so you might consider using that. It will allow you to connect to a 10g database.
Yours,
Laurenz Albe -
Help,
setup a new sql server 2012 on a windows 2012r2 server to replace old sql server 2005 on an old windows server 2003 machine. When i test the ODBC connection locally on the server it works fine, however when i try to connect via windows 7 client machine
i get the following error:
Connection failed:
SQLState:'01000'
SQL Server Error:67
[Microsoft]ODBC SQL Server Driver][DBNETLIB]ConnectionOpen
(Connect()).
Connection failed:
SQLState:'08001'
SQL Server Error:17
[Microsoft]ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied
I think it must be a permissions thing, I've turned off the firewall for now and still no difference, 've also made sure remote connection is enabled. I can connect to the other sql server in studio manager on the new machine however, i can't go do
the same in the old server, says:
cannot connect to hbfsqlpro1\hbfsqlpro1
Additonal information a network related or instance specifc error occured while establising a connection to SQL server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL server is configured to
allow remote connections. (provider:SQL Network Interfaces, error 26 - error locationg server/instance specified) (Microsoft SQL server)
the instance is def correct, as that is what i use to connect locally on the new machine and what it comes up on the studio manager on the new machine. STarting to pull my hair out somewhat, i'm sure it's something really simple!Hello,
You are trying to connect to a named instance. Make sure the SQL Server Browser service is started on the SQL Server computer.
Make sure TCP/IP is enabled.
http://msdn.microsoft.com/en-us/library/ms191294(v=sql.110).aspx
Try to disable Windows Firewall or security software on both, SQL Server instance and client computer.
Test basic connectivity too. Try to ping from the client computer to the SQL Server computer.
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
How to connect to a Sql server from Oracle using db link
Hi All,
Does anybody have any idea about how to connect to a sql server from oracle database using db link to syncronize the data? I need to pull the data from Sql server table to Oracle tables and relay messages back to the sql server.
Thank you,
Praveen.we have 2 products - DG4MSQL and DG4ODBC.
DG4ODBC is for free and requires a 3rd party ODBC driver and it can connect to any 3rd party database as long as you use a suitable ODBC driver
DG4MSQL is more powerfull as it is designed for MS SQL Server databases and it supports many functions it can directly map to SQL Server equivalents - it can also call remote procedures or participtae in distributed transactions. Please be aware DG4MSQL requires a license - it is not for free.
Check out Metalink and you'll find notes how to configure both products.
For a generic overview:
Note.233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases
And the setup notes:
DG4ODBC
Note.561033.1 How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX) :
Note.466225.1 How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit RDBMS.HS-3-2 :
Note.109730.1 How to setup generic connectivity (HSODBC) for 32 bit Windows (Windows NT, Windows 2000, Windows XP, Windows 2003) V817:
Note.466228.1 How to Setup DG4ODBC on Linux x86 32bit
DG4MSQL
Note.466267.1 How to Setup DG4MSQL (Database Gateway for MS SQL Server) on Windows 32bit
Note.562509.1 How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) 64bit Unix OS (Linux, Solaris, AIX,HP-UX)
Note.437374.1 How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) Release 11 on Linux -
Connect SQL Server 2012 from Windows Server 2003 with native client 9.0
Hi,
I currently have a setup where ETL tool Ab Intio, running on a Linux server, connects to the SQL Server 2005 through a passthrough Wintel server with Windows Server 2003 OS using SQL server native client 9.0
Now I have the requirement to upgrade the SQL server from 2005 to 2012.
My question is, will it be possible to connect to SQL server 2012 through Windows Server 2003 with native client 9.0?
As per the specs, I need native client 11.0+ to fully support SQL Server 2012, but then, as per specs, native client 11.0 doesnot run on Windows server 2003. OS upgradation is currently not on the cards.
So will it be possible to the run the basic queries we use currently, if we can connect SQL server 2012 through Windows Server 2003 with native client 9.0/10.0, without updgrading the OS of the Wintel server?
Thanking you in advance!Hi Soumya,
Yes, you can use the SQL Server Native Client shipped with SQL Server 2005 to connect to a SQL Server 2012 instance, and there is no need to upgrade the operating system.
Regards,
Mike Yin
TechNet Community Support -
Connect to MS Sql Server from Java Source
Hi,
Is there any way I could connect to ms sql server from Java source? I know I can call java source from function thats easy but what I really want is capability to connect to non-oracle(MS SQL server) from my java source and then call it from function.
I don't know if JDBC driver for SQL server is even installed/available. Is there a way I could find it out form my IDE? I know sqlJ does compile but I have never used sqlj. help!!!
SinhaYou'll probably have better luck in a Java forum or a Microsoft forum.
-
Connect to SQL Server from Oracle
Does Oracle offer any connectivity to NON-Oracle databases such as SQL Server from within the Oracle database itself, similar to a database link ?
Yes, it's called Heterogeneous Connectivity. Basically how it works is you set up an ODBC data source on the Oracle server
and need to modify the tnsnames.ora and listener.ora files. Once you get it set up it works exactly like a dblink. You should be
able to find information on it in the Oracle manuals or from Metalink. There's also a Heterogenous Connectivity forum on OTN. If
you can't find anything let me know and I can send you some documents on how to set it up. I think the hardest part for you might
be finding a SQL Server ODBC driver for HP-UX.
Maybe you are looking for
-
Export from LR to PS no longer works
I just updated to Camera Raw8.3 and now when I'm in LR5.3 and attempt to edit an image in PS5, the image does not move from LR to PS. Should I just go back to a previous CR version?
-
ORA-48108: invalid value given for the diagnostic_dest init.ora parameter
Hi All, I am trying to start my oracle 11g database on windows 7 PC and i am getting below exception SQL> startup mount ORA-48108: invalid value given for the diagnostic_dest init.ora parameter ORA-48140: the specified ADR Base directory does not exi
-
??
-
Using After Effects CC locks up my computer
I've been having the most difficult time lately with Adobe software. I'll be working in After Effects CC, everything seems to be great, but there are points where it will start to slow my entire system to a crawl and then to the point I have to hard
-
My apps such as iWeb, Garage Band, iMovie, iDVD are damaged or incomplete after I updated my OS to 10.6.6. Anyone knows whats going on?