How to connect to remote MS SQL Server?
I use:
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con = DriverManager.getConnection("jdbc:odbc:iweb",userid,passwd);
to connect to my "iweb" database on MS SQL Server running locally. Works great.
But now I want to connect to this same database that is now running on a remote MS SQL Server
on port 1433 of a machine with IP address 123.456.789.123.
What is the magic incantation to make this happen? I have been trying variations of:
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String conString = "jdbc:odbc:DRIVER={SQL Server};SERVER=123.456.789.123:1433;"
+ "DATABASE=iweb;UID=" userid ";PWD=" passwd ";";
Connection con = DriverManager.getConnection(conString);
but no joy. Any help would be greatly appreciated. Surely this is a common problem
but I'm having a heck of a time finding helpful docs that spell it out.
-Dave Maffitt [email protected]
Configuring a local DSN to point to the remote server is a good solution, but, I am still puzzled by something. On page 216 of Core Java 2, Volume 2, Advanced Features, there is an example of a database URL using a network address as part of the value. The example reads in part:
For example: jdbc:odbc://whitehouse.gov:5000/CATS;PWD=Hillary
would connect to the CATS database on port 5000 of whitehouse.gov using ODBC attribute value of PWD set to "Hillary".
This example is what lead me to believe that I might be able to connect to a remote Data Source if I had the right syntax in the URL. My attempts at duplicating this example with my own MS SQL Server 7.0 database are failing. Have you tried this with any success?
Similar Messages
-
How to connect external database(Ex:SQL Server/Tivoli) from ABAP Webdynpro
Hi,
Any one have idea how to connect external database like SQL Server/Tivoli to access tables from WebDynPro ABAP.
Please point to me some links if you have
Thanks
PraveenHi,
Please check out this link -
FETCH DATA FROM ORACLE DATABASE USING Web Dynpro
Regards,
Lekha. -
How to connect musicdb to Microsoft SQL Server
hi..
i have tried musicdb example with mysql, but i need to connect it to SQL Server.
i have created a similar DB in SQL SERVER, however i am not able to create a user, similar to musicdbuser and musicdbpass in SQL SERVER.
Also in the Administrator console i followed these steps.
1. Applications->web Applications->deployed the war file-> OK
2.Resources->JDBC->Connection Pool->New->Name ='musicdb-jdbc-pool-SQLserver'->Resource Type='javax.sql.Datasource'->Database Vendor='Microsoft SQL SERVER'-> Next
added properties Values
databaseName musicdb(this is the database i created in MS SQL SERVER)
databaseSourceName musicdb(this is the DSN name i created in control panel->ODBC connections)
networkProtocol TCP
user sa (this is the username that i use to start SQL SERVER)
password syntel123$ (this is the password that i use with the above user )
portNumber 1443
serverName localhost
then i click finish.
if i say ping to this connection , i get success!!
3. then i goto resources->jdbc->jdbc resources->new->JNDI Name="jdbc/musicdb"->pool name="musicdb-jdbc-pool-SQLserver'"->ok
4. Then i click resources->connectors->connector connection pool->new->Name="mep/musicdb"->resource adapter="ds-jcr-connector-jaxrs"->next->finish
5 Then i click resources->connector resources->new->JNDI name="mep/musicdb"->pool="mep/musicdb"->ok
however when i hit the URL http://localhost:8080/musicdb/resources/albums
i get the following error
type : Exception report
message
description: The server encountered an internal error () that prevented it from fulfilling this request.
exception: javax.servlet.ServletException: com.sun.jersey.api.container.ContainerException: java.lang.NoClassDefFoundError: Could not initialize class com.sun.mep.ws.vtms.util.ConnectionPool
root cause: com.sun.jersey.api.container.ContainerException: java.lang.NoClassDefFoundError: Could not initialize class com.sun.mep.ws.vtms.util.ConnectionPool
root cause: java.lang.NoClassDefFoundError: Could not initialize class com.sun.mep.ws.vtms.util.ConnectionPoolHi,
I was able to create a JDBC connection pool for SQL Server successfully and will share the key steps, and was able to create a MEP user with an ECBO connection configured for the SQL Server; However, it looks like there is a "false positive" problem. Even though the user was created with the SQL Server connector whose associated JDBC connection pool passed the Ping test, doing a sync as that user changed the MySQL database album table and not the SQL Sever album table. MEP didn't give any error at all. I will bring this up with our engineers.
Here are the steps for at least getting GF JDBC connections with SQL Server working.
1. With MS SQL Sever 2005 Server Management Studio,
created a 'musicdb' database, a 'musicdbuser' user with password 'musicdbpass',
and added the 'album' table with
name (varchar(30) primary key, not null)
artist (varchar(30), not null)
date_published (datetime, not null)
rating (int, not null)
username (varchar(30), not null)
2. With MS SQLServer Configuration Manager, enable TCP/IP on static IP address
and 127.0.0.1 on port 1433 and restarted the SQL Server service
3. Downloaded Microsoft's 2.0 Driver for SQL Server 2005
4. Copied the driver sqljdbc4.jar to GF_HOME/domains/mep/lib/ext
5. Restarted GF
6. Login to GF Admin Console
7. Create Resources -> JDBC -> Connection Pool
name: musicdb_pool_sqlserver
resource type: javax.sql.DataSource
datasource class: com.microsoft.sqlserver.jdbc.SQLServerDataSource
8. Create Resources -> JDBC -> Resource
name jdbc/musicdb_sqlserver
9. Go back to musicdb_pool_sqlserver and click Additional Properties then add
user: musicdbuser
password: musicdbpass
serverName=localhost
portNumber=1433
databaseName=musicdb
10. Click General tab and click Ping. Get Success! -
How to connect Java and Microsoft SQL Server 2000
hi,
could anyone please teach me how to connect Java and SQL Sever 2000?? if possible could you guys provide me with an example??? i could hardly find any relevant resources about it...
Thanks ~!thanks for the information...
by the way hv any working module on it?? i'm new to
both Java and Microsoft SQL Server... Thanks againFirst things first... you should read this:
http://java.sun.com/docs/books/tutorial/jdbc/
This is microsofts official JDBC Driver: http://www.microsoft.com/sql/downloads/jdbcregister.asp
Install it and the documentation has some usage examples -
How to connect from InformixDB to SQL Server 2012 (and copy data)
Hello guys
I try to build a connection from an Informix (Informix2000) database to my SQL Server 2012.
I really dont know how to do this...
The plan is to build a job in the night in which data is beeing copied from the InformixDB to my SQL Server 2012
The SQL server should be like a "archive server" (same data as informix DB , but the data should stay for 2 years)
Any idea if this is possible ? (what im trying to do)
Can i do this with ODBC Connection ?
Thanks a lot and Regards, DominicThanks a lot guys... but what im trying to do is not to migrate the hole Informix DB to SQL 2012, i just want to copy some data into my SQL Server (archive). in the informix DB the data is only 30days back... i want to transfer every week
the data and let it on the SQL Server 2 years back. (SQL Server should be like an archive system)
Hello ,
Then you need to create an SSIS package to migrate data from Informix to SQL Server 2008 since Informix is old I dont know which connection provider to use but you can try ADO.NET connection provider
Can you check below link
http://davidbridge.wordpress.com/2012/05/30/extraction-from-informix-database-using-ssis-data-warehouse-etl/
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
How to connect java project to sql server 2008 r2 database
i want to create an java application which has to create a database and later access it. My problem is that i am not able to connect sql server 2008 r2 database driver on to the netbeans.i have sql server 2008 r2 installed on my system.please
suggest me the step by step procedure to establish the connectionHi ENG,
To establish a connection to SQL Server from a Java project, you have to download the JDBC driver for SQL Server from
here.
After extracting the jar files(like sqljdbc.jar) from the above link, add the driver to the netbeansIDE.
Test establishing a connection with the below Java Class.
import java.sql.*;
public class Test {
public static void main(String[] srg) {
String driverName = "com.microsoft.sqlserver.jdbc.SQLServerDriver"; //load the jdbc driver
String dbURL = "jdbc:sqlserver://localhost:1433; DatabaseName=test"; //connection string to the db hosted on localhost
String userName = "sa"; //user name
String userPwd = "123456"; //password
Connection dbConn;
try {
Class.forName(driverName);
dbConn = DriverManager.getConnection(dbURL, userName, userPwd);
System.out.println("Connection Successful!"); //print Connection Successful! if connection establishes
} catch (Exception e) {
e.printStackTrace();
A demonstration video from Youtube for you reference.
Connect NetBeans Project with Microsoft SQL Server 2008 - YouTube
Since this is a question regarding Java, I suggest you post your subsequent questions to a java dedicated forum. It is appropriate and more experts will assist you.
If you have any question, feel free to let me know.
Eric Zhang
TechNet Community Support -
How to connect from Oracle to SQL Server Database?
I want to connect to SQL Serv DB via Oracle 10g can anyone assist please?
Hi,
you should post this question in the database forum (General Database Discussions - this is specially for the Oracle Warehouse Builder.
Regards,
Detlef -
Connect to a MS SQL Server database
Dear all,
Please tell me how to connect to a MS SQL Server database in
Flex 3.
Thanks a lot !Please checkout these two detailed blog entries (tutorials ) on Flex- SQL Server Connection.
Part1 - http://codeexpander.blogspot.com/2009/10/connecting-flex-to-sql-server.html
Part 2 - http://codeexpander.blogspot.com/2009/10/connecting-adobe-flex-to-sql-server.html
Hope this will help.
Thanks,
Amrit -
How can I make my adodc connect faster to my SQL Server? It's taking a minute (so long) before I can view thousand of record in my listview. Please anyone help me.
I'm using this code:
Public Class McheckpaymentNew
Private cn As New ADODB.Connection
Private rs As New ADODB.Recordset
Private Sub McheckpaymentNew_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Try
cn.ConnectionString = "DSN=database; UID=user; PWD=password"
cn.Open()
rs.CursorLocation = ADODB.CursorLocationEnum.adUseClient
rs.CursorType = ADODB.CursorTypeEnum.adOpenStatic
rs.LockType = ADODB.LockTypeEnum.adLockBatchOptimistic
Catch ex As Exception
MsgBox("Failed to Connect!, Please check your Network Connections, or Contact MIS Dept. for assistance.", vbCritical, "Error while Connecting to Database.."
End
End Try
End Sub
End ClassHow can I make my adodc connect faster to my SQL Server? It's taking a minute (so long) before I can view thousand of record in my listview. Please anyone help me.
I'm using this code:
Public Class McheckpaymentNew
Private cn As New ADODB.Connection
Private rs As New ADODB.Recordset
Private Sub McheckpaymentNew_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Try
cn.ConnectionString = "DSN=database; UID=user; PWD=password"
cn.Open()
rs.CursorLocation = ADODB.CursorLocationEnum.adUseClient
rs.CursorType = ADODB.CursorTypeEnum.adOpenStatic
rs.LockType = ADODB.LockTypeEnum.adLockBatchOptimistic
Catch ex As Exception
MsgBox("Failed to Connect!, Please check your Network Connections, or Contact MIS Dept. for assistance.", vbCritical, "Error while Connecting to Database.."
End
End Try
End Sub
End Class -
Please tell how to store jpeg images in SQL Server using NI Database Connectivity Toolset.
http://www.w3schools.com/sql/sql_datatypes.asp
You setup a field as BLOB and store the binary of the picture there. Depending on the database it can be called differently as you can see in the link, in SQL server there's even a Image datatype.
/Y
LabVIEW 8.2 - 2014
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
G# - Free award winning reference based OOP for LV -
How to establish a trusted connection with JDBC for SQL SERVER 2000
Hi!I am using jdk 1.4 and eclipse 3.3.
I create a servlet in eclipse with in-build tomcat.
When I run it ,it was working perfectlly has it was suppose to work.
In this servlet I connect to a sql 2000 database using jdbc-odbc bridge driver.
But when I tried to deploy the servlet on tomcat 5.5 manully on the same machine ,it gave me error saying
[Microsoft][SQLServer JDBC Driver][SQLServer]Login failed
for user 'sa'
I searched around some post and found that ok ,I need trusted connection
But I have 2 Questions
1). Why was in eclipse I was able to connect to the SQL server and why not in the servlet which I deployed manully on tomcat.
2). How do I create a trusted connection with JDBC for SQL server 2000
Thnaks for your help in advance.Hi! duffymo ,QussayNajjar ,dvohra09 .
Thank for help.
The ideas are really great.
I am trying generate reports for my company.
When I used eclipse the code worked perfectly.
below is code which I used
out.println("Calling For Class Name<br>");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
out.println("Calling For Class Name success Now calling database <br>");
1). jdbcConnection = DriverManager.getConnection("jdbc:odbc:SQLJasper");
2). jdbcConnection = DriverManager.getConnection("jdbc:odbc:Driver={SQL Server};Server=ServerName;Database=tempdb");
3). jdbcConnection = DriverManager.getConnection("jdbc:odbc:Driver={SQL Server};Server=ServerName;Database=tempdb","UID=UserName","Password=Password");
out.println("connecting to database success<br>");
I had tried to connect the database using this three way.
In 1st I tried using DSN name .
Next 2 self explainer for expert like you.
I used to 2nd variant to connect in eclipse and it worked fine.
I not an expert in java ,I just doing some research on jasperReport.
My best guest is that eclipse is using some library files of which I have no clue.
Thank's for your help,I appretiate it.
Once again thank a billion.
Sorry for the messy righting. -
Connecting from Oracle to SQL Server
Hi
I am now tring to connect from oracle to sql server using database link.
Created database link
but when connecting to remote db getting the floowing error
select * from region@mysqlserverdsn
ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from MYSQLSERVERDSN
Can anyone help
My Listener File
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc1)
(SID_DESC =
(GLOBAL_DBNAME = ORCL.DOMAIN.COM)
(ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
(SID_NAME = orcl)
(SID_DESC =
(GLOBAL_DBNAME = NORTHWIND.DOMAIN.COM)
(ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
(SID_NAME = MYSQLSERVERDSN)
(PROGRAM=hsodbc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST=
(ADDRESS = (PROTOCOL = TCP)(HOST = SALIHKM.DOMAIN.COM)(PORT = 1522))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
My Tnsnames Entry
MYSQLSERVERDSN =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=xxx.xxx.xxx.xxx)(PORT=1522))
(CONNECT_DATA=(SID=MYSQLSERVERDSN))
(HS=OK)
Lsnrctl is working fine.
c:\>lsnrctl start
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 18-MAY-2006 18:53
:13
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting tnslsnr: please wait...
TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
System parameter file is D:\oracle\product\10.2.0\db_1\network\admin\listener.or
a
Log messages written to D:\oracle\product\10.2.0\db_1\network\log\listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=SALIHKM.DOMAIN.COM)(POR
T=1522)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROCipc)
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=SALIHKM.DOMAIN.COM)(POR
T=1522)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 18-MAY-2006 18:53:16
Uptime 0 days 0 hr. 0 min. 3 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File D:\oracle\product\10.2.0\db_1\network\admin\listener.o
ra
Listener Log File D:\oracle\product\10.2.0\db_1\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=SALIHKM.DOMAIN.COM)(PORT=1522)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROCipc)))
Services Summary...
Service "NORTHWIND.DOMAIN.COM" has 1 instance(s).
Instance "MYSQLSERVERDSN", status UNKNOWN, has 1 handler(s) for this service..
Service "ORCL.DOMAIN.COM" has 1 instance(s).
Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
But Tnsping show no listener
C:\>tnsping MYSQLSERVERDSN
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 18-MAY-2
006 18:56:27
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
D:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=xxx.xxx.xxx.xxx)(P
ORT=1522)) (CONNECT_DATA=(SID=MYSQLSERVERDSN)) (HS=OK))
TNS-12541: TNS:no listener
Services
C:\>lsnrctl services
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 18-MAY-2006 19:00
:04
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=SALIHKM.DOMAIN.COM)(POR
T=1522)))
Services Summary...
Service "NORTHWIND.DOMAIN.COM" has 1 instance(s).
Instance "MYSQLSERVERDSN", status UNKNOWN, has 1 handler(s) for this service..
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "ORCL.DOMAIN.COM" has 1 instance(s).
Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:1 refused:0 state:ready
LOCAL SERVER
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1002 state:ready
DISPATCHER <machine: SALIHKM, pid: 2080>
(ADDRESS=(PROTOCOL=tcp)(HOST=SALIHKM.DOMAIN.COM)(PORT=1070))
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:1 refused:0 state:ready
LOCAL SERVER
The command completed successfully
I am very much confused with this situation.
Thanks & Regards
Salih KmHi ,
Thanks for your reply.
Contents of my initMYSQLSERVERDSN.ora file is
# This is a sample agent init file that contains the HS parameters that are
# needed for an ODBC Agent.
# HS init parameters
HS_FDS_CONNECT_INFO = MYSQLSERVERDSN
HS_FDS_TRACE_LEVEL = 0
HS_FDS_TRACE_FILE_NAME = hsmsql.trc
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
set ODBCINI=c:\WINDOWS\ODBC.INI
SALIHKM.DOMAIN.COM is my system in which Oracle Test DB is Installed.
SQL Server is in another location.
In Tnsnames i specified ip address.
One more doubt.
I am using 10g Release 2 demo version.
whether it will support Hetrogeneous Services?
How to know whether a database supports HS or not?
Thanks & Regards
Salih Km -
Cannot connect to the specified SQL Server instance
I am trying to install Microsoft System Center 2012 R2 Virtual Machine Management.
I am getting the following error:
Setup cannot connect to the specified SQL Server instance.
Ensure that the server name, isntance name, and, if speceified, port number are correct. If you are installing VMM remotely, ensure that remote connections are set up correctly, and then try Setup again.
I have installed the
Microsoft® SQL Server® 2008 R2 Command Line Utilities
but have not set up any SQL Server instances.
how should i proceed?
Edit:
The followign fields are configured:
Server Name: The name of the machine i am using
Port: <empty>
Use the following credentials <NOT ticked>
Instance name <empty> (the drop down is empty)
New Database <Ticked> : VirtualManagerDBIs SQL server is properly installed on the system?
Are you able to connect with SQL server instance?
As per the given details looks, only client utilities installed and trying to create the database which needs SQL server.
Make sure you are able to connect with the "ServerName\InstanceName,PortNumber" and hope installing the system as per below article:
http://technet.microsoft.com/en-us/library/gg610656.aspx
Hope it help!
Please click the Mark as answer button and vote as helpful if this reply solves your problem -
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 open sdf files in SQL server 2012?
How to open sdf files in SQL server 2012?
I couldn’t figure out how to open the sdf files in SQL server 2012
Thank you
Best
JamalI don't think it's hard if understood the question properly you can try this I do it most of the time and this might be the solution for you, sometimes minor simple click is a life saver:)
1.
Open SQL Server Management Studio, or if it's running select File -> Connect Object Explorer... and click the
connect drop down arrow
2.
In the Connect to Server dialog you will see Database Enghine, Analaysis Servie on so on and you go head change Server type to
SQL Server Compact Edition
3.
From the Database file drop-down as shown below click the drop down arrow and select <
Browse for more...>
4.
And you will see C:\, D:\, G:\
drive and so on and open, your SDF file where it is located
I hope this has been informative for you and good luck
Please remember to click “Mark as Answer” on the post that has answered your question as it is very relevant to other community members dealing with same problem in seeking the right answer
Maybe you are looking for
-
How can a mount a NFS share exported from OpenBSD?
Hello Apple Discussions: I've been experimenting with NFS in a mixed OS environment, and have been successful exporting nfs share with tigerserver, and mounting it on both a powerpc linux system, and on a powerpc openBSD system. Likewise, I can expor
-
JAAS Subject with stale principals
I'm trying to figure out how to use JAAS and so far I have a more or less clear understanding of the authentication part. But I have some difficulty with the authorization part. Here is what I don't understand. Upon successful user authentication, a
-
After resetting my MAC to factory default how do I reinstall my Creative Suite 5?
After having to reset my Macbook Pro to factory default, do I need a new product code to reinstall my Creative Suite 5?
-
HT4623 My phone won't make or receive calls
This afternoon my phone was fine and all of a sudden I can't make or receive calls. I can send texts.. Just.. It's is so annoying. I can't even call my service provider
-
Hello to everyone, I need to solve a quite difficult problem, at least from my point of view :). I was given 3 tables (Entries, Consumptions, Entries_Consumptions) and I am supposed to update the Entries_Consumptions table and the Entries.LeftQuantit