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,
Veasna
Just 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.
Similar Messages
-
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. -
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 -
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 -
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 KHi 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 -
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 -
How to Connect SQL Server enterprises Manager Version 8.0 with Form 6i
Dear experts
I want to know that How can I connect SQL server Enterprise Manager Version 8.0 with Forms/reprots 6i.
currently I have oracle 9i database at server windows 2003 and I also connected with client (my PC) I work on server.
I also have SQL server in that server 2003 machine and this SQL Server also work with other clients that have VB program.
I want to know that can I connect with this SQL server with Form 6i?You can't. The closest thing would be to create links in an oracle database to the SQL Server database using Heteregeneous Services and connect forms to the that.
This forum is for the SQLDeveloper tool. You will get more complete answers in the "Database General", or "Heterogeneous Services" forums -
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider,
error: 40 - Could not open a connection to SQL Server)An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named
Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Hello,
Make sure your SQL Server service is started.
Make sure TCP\IP and names pipes protocol is enabled
Make sure you have made an exception in firewall for SQL Server connection
Make sure SQL Server browser service is enabled
Make sure you connect with correct name hostname\instance name for named instance,MSSQLSERVER for default instance and Hotname\SQLEXPRESS for express edition.
Please make sure you use port no when connecting to SQL server listeing on different port (hostname\instance ,portno)
http://blogs.msdn.com/sql_protocols/archive/2006/09/30/SQL-Server-2005-Remote-Connectivity-Issue-TroubleShooting.aspx
Hope this helps
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
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.
-
How to connect SQL server using JRun
I am relatively dumb into Java. I am running JRun server in Unix box, and I need to connect to the SQL server (full marks for guesssing that SQL server is on the Win2K box).
Now I want to connect to the SQL server from Jrun using JSPs.
Question:
1. Is JDBC:ODBC only way to connect to the SQL server, if yes -
2. Do I have to create a DSN on the server for the JDBC:ODBC bridge to work
3. Can I write my own database connection package,
Appreciate if any body can help me with this problem, and if you have written a package to connect to the database, then would be nice if you would let me try the same.
If you have any responses, please email me at [email protected]
Thanks in Advance for the anticipated help.
Viviar PrasadHi Prasad,
There is two ways(what I have done) to connect to sql server in jRun..
1) using your jdbc - odbc connectivity using your type one jdbc driver..
2) using type 4 driver.. (type 2 and 3 are not available right now for sql server)
in 1 you have to create an dsn and use it directly in program bypassing jrun management console(I mean u don't have to configure for that)
in 2 case you need to use jrun proprietery driver for the jdbc... there is a problem here..
this driver is available in Jrun 3.0 enterprise edition only and still has got some problem so you need to apply service pack-2 to your Jrun installation and need to download the driver.. jdbc driver from following link
ftp://ftp.allaire.com/kbftp/jrun/all/jrun_drivers.jar.zip
this will suply a html doc along with the driver . which will explain you how to apply..
you can download jdbc driver specilly for sql server from this link http://www.j-netdirect.com/jsqlconnect2_26.zip
but it will expire in a month..
any way once you have obtain any of the above driver, follow these step to configure jdbc in jrun.. you need to put the driver in the classpath..
1 - open your management console
2- select the webapplication for which you want to configure from left frame of mc(management console)
3- select jdbc data source click the add button and follow the wizard..
for more info ref to jrun quick start configuring jdbc settings that came with your JRun..
or you can directly click the link there and type
the name of the
first
datasource(you have supply any name you will be using that to access db in your java prog)
second name of the the jdbc driver
for Jrun it's
allire.jrun.jdbc.JRunDriver
for net direct
com.jnetdirect.jsql.JSQLDriver
third
url for jrun driver
jdbc:jrun:sqlserver://hostname:portno/databasename = dbname; USER = uname; Password = password
where dbname is your database name
uname is your sql server user name e.g sa
password is your password for the corresponding user name
where hostname is the name of the computer where your sqlserver is running it could be an ip e.g 10.0.0.32:1433
1433 is the default port no for the sqlserver if you are using tcp protocol to connect to the sql server
url for net direct
jdbc:JSQLConnect//hostname:port/databasename=dbname; USER =uname; Password = password
for any more information on this you can mail me in this id
[email protected]
All the best..
regards
Bishwa -
I just started learning ASP.NET through a book, and it asks to connect to "your" SQL server and explore a .mdf file. I've been trying to install SQL, but I only just now got a working installation, and even then it won't let me install the Management
Software. Whenever I try to connect, I get this error: http://puu.sh/7F2JY.png
This is exactly what I do to connect:
1) Open project
2) Navigate to the Server Explorer
3) Click on connect to database
4) In this menu, I can see me Machine name on the top part, which I think means that it's picking up my server runningh
5) On the bottom, it wants me to enter a database name. I think this may be my problem, as I have no idea what to do here.
Also, when I double click on the database file, I get this errpr (52): http://puu.sh/7F2Yw.png
I really don't know what to do here, so post any tips down belowHi,
Did you choose the correct Server name? It should be the machine name where you installed SQL Server on.
Is it empty when you open select or enter database name drop box in the Add connect dialog box in the Visual Studio 2013?
“Update: I re-installed, and then used both installers. Now I have the Server Management tools, but I still cannot connect.”
The screenshots indicates that the SQL Server is not accessible.
Do you mean that you are not able to connect SQL Server by using SQL Server Management Studio?
If so, make sure that SQL Server Services is started.
Please check out the following articles for details:
How to: Start an Instance of SQL Server (SQL Server Configuration Manager)
http://technet.microsoft.com/en-us/library/ms190699(v=sql.105).aspx
Connect to Any SQL Server Component from SQL Server Management Studio
http://technet.microsoft.com/en-us/library/ms173871.aspx
Thanks.
Tracy Cai
TechNet Community Support -
Hi All
Can any one explain how we need to connect and extract data from SQL server from ODI
Thanks
RangaHi Ranga,
Please see here :
http://odiexperts.com/sql-server-connection/
You could try with the inbuilt driver before downloading the MS specific one, set up your topology as per the post above.
Hope this helps,
Rgrds
Alastair -
Unable to connect SQL server 2005 databse with JSF applications !
Hello guys!
Help me out to connect SQL server 2005 Databse with JSF applications using JDBC-ODBC bridge. I'm working with Netbeans 6.1 IDE.
I tried for the basic applications but instead got this error:
"unable to deploy jdbc drivers to the <project>domain/lib"
Please help me out with working sample codes that connects MS SQL server 2005 DB with JSF!!
Thank you guys!1) don't use the bridge driver
2) don't do database access from JSF
3) learn how to use your application server
4) learn how to use your IDE -
XML Publisher Desktop Db connect SQL Server Host:Port:Sid
Brand new to XML Publisher. Set up XML Publisher Enterprise environment to work with SQL Server 2005 using both MS 2000 & 2005 JDBC drivers, so far no problem.
However the XML Publisher Desktop Report Wizard will not connect to SQL Server 2005 using either MS 2000 & 2005 JDBC drivers. I provide the same data source name, user and pw that I use in the XML Publisher Enterprise environment but it is the 4th piece of information - the database portion (Host:Port:Sid) that I am having trouble with. SID is an Oracle invention not used in the SQL Server world. I have tried various combinations of the database string without sucess.
Perhaps the XML Publisher Desktop does not work with SQL Server. Does anyone know how to use XML Publisher Desktop to create templates that will work with MS SQL Server?
Thank you.
BG...Shaun,
Thanks for you comments. I belive I now have enough to use the HSGC-ODBC technique to make the template and then re-edit it to make it work with the original JDBC connection.
That said, "Using ODBC-JDBC bridge connection is really poor in performance." I, more than anyone on the planet am aware of this issue and more.
Being new to XMLPublisher I thought that having a JDBC connection to a SQL Server from XMLP Enterprise led me to beleive that the XMLP Desktop template creation tool would also work. "*** Pity the fool ***" for thinking that! (Thank-you Mr. T!!! <grin>).
Because I had to engage a 'heterogeneous connectivity" solution to this problem indicates that the product is half-baked. That's not to say that it is not capable.
Rushing software products to market quickly creates products that make the rest of us jump through hoops. I resent that!!! I have more import things to do than waste time!
I demand more of a trusted vendor, do you? I have tortured myself with Oracle products thinking they were ready since the early nineties.
Look we are in a "heterogeneous universe" and if the product pretends to work with "heterogeneous databases" on the Enterprise side than it damn well aught to work with them on the Desktop side. That's my opinion.
Attention OTN: I am back!!!
Justin, this needs to be fixed.
Thanks!
BG... -
Problem to connect SQL Server using dg4msql form Linux machine
Hi All,
I have oracle 11g 11.2.0.1.0 on RHEL 4 on one machine and MS SQL Server 2000 on another Windows XP machine. I have to link the oracle database with SQL Server Database. So that we can run queries on SQL Server from Oracle 11 Database.
For this purpose I have installed Oracle Database 11g Release 2 (11.2) Gateway for SQL Server on oracle machine.
For the purpose of configuration, I have followed the instructions of Doc ID (437374.1) available from oracle metalink.
listener.ora file
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = /opt/orabase/orahome11g)
(SID_NAME = orcl)
(SID_DESC=
(SID_NAME=dg4msql)
(ORACLE_HOME=/opt/orabase/orahome11g)
(ENVS="LD_LIBRARY_PATH=/opt/orabase/orahome11g/dg4msql/driver/lib:/opt/orabase/orahome11g/lib")
(PROGRAM=dg4msql)
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.10.15)(PORT = 1522))
ADR_BASE_LISTENER = /opt/orabase
tnsnames.ora file
DG4MSQL =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.10.15)(PORT=1522))
(CONNECT_DATA=(SID=dg4msql))
(HS=OK)
initdg4msql.ora file
# HS init parameters
HS_FDS_CONNECT_INFO=172.16.30.51:1433//Northwind
I have created DB link using following statement:
CREATE public DATABASE LINK dg4 CONNECT TO "sa" IDENTIFIED BY "sa" USING 'dg4msql';
when I give select statement, It gives following error:
select * from "Employees"@dg4
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Oracle][ODBC SQL Server Driver][libssclient24]General network error. Check
your network documentation. {08001,NativeErr = 11}[Oracle][ODBC SQL Server
Driver][libssclient24]ConnectionOpen (()). {01000,NativeErr = 11}[Oracle][ODBC
SQL Server Driver]Invalid connection string attribute {01S00}
ORA-02063: preceding 2 lines from DG4
I will appreciate if anyone can help meThe general DG4MSQL configuration is correct as DG4MSQL is loaded and tries to connect to the SQL Server.
Is the IP Address and the SQl Server port (HS_FDS_CONNECT_INFO=172.16.30.51:1433//Northwind) correct?
Can you ping it from the Oracle gateway machine?
Can you telnet to it from the gateway machine to the SQl Server: "telnet 172.16.30.51 1433"
Maybe you are looking for
-
I have been with this company for over 10 years and frankly I always overlooked one thing wasn't to keen on and that was some of the services Verizon offered on their website which many of the account related services they have as apps so you can vie
-
Home hub 3 orange power light and speed problem
Hi, I have posted this again as I think I posted in the wrong place last time being new to the site! Hi, I have a Home Hub 3 Version A. Orange power light constantly on. I came across this site while looking for answers and quickly registered to post
-
Can't get Airplay to work on iTunes 11.0.2
Anyone know any fix? I have a bunch of Airport Express 802.11n (1st Gen) that I need to play stuff on. Have lots of people over and now I have no way to play music. Can't seem to connect to any of the Airport Expresses. What gives?
-
DistributedCacheService not starting after installing CU5
Hello! I installed AppFabric CU5 (http://support.microsoft.com/kb/2932678) on a VM running SharePoint 2013 (Windows 2012). After installing (and updating the config file), the AppFabricCachingService no longer starts. The event viewer has the followi
-
Macbook Pro Hard Drive Space Information
How do you check for the remaining hard drive space on the MacBook Pro, with the new OS X Lion installed? I used to be able to see the information on my remaining hard drive space, using Finder, but that was when my OS was still Snow Leopard. Pleas