Visual Basic .NET Forums  
Click here to advertise with us

Go Back   Visual Basic .NET Forums > Database > SQL Server > SQL Server Express

VB.NET Forums Newsletter Signup:
Email address:


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-01-2009, 2:40 AM
VB.NET Forum Newbie
.NET Framework: .NET 3.5 (VS 2008)
 
Join Date: Apr 2009
Posts: 17
Reputation: 12
Shemeer is on a distinguished programming path ahead
Question Remotly access Sql Express mdf database

Help me to connect Sql Express 2005 mdf file to connect remotely.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-01-2009, 4:39 AM
jmcilhinney's Avatar
VB.NET Forum Moderator
.NET Framework: .NET 3.5 (VS 2008)
 
Join Date: Aug 2004
Location: Sydney, Australia
Age: 40
Posts: 6,006
Reputation: 538
jmcilhinney VB.NET gold medalistjmcilhinney VB.NET gold medalistjmcilhinney VB.NET gold medalistjmcilhinney VB.NET gold medalistjmcilhinney VB.NET gold medalistjmcilhinney VB.NET gold medalistjmcilhinney VB.NET gold medalistjmcilhinney VB.NET gold medalistjmcilhinney VB.NET gold medalistjmcilhinney VB.NET gold medalistjmcilhinney VB.NET gold medalist
Default

Please do us the courtesy of posting in the most appropriate forum for the topic and not just the first one you come to. Thread moved.

There are two ways to connect to a SQL Server Express database:

1. You can deploy the MDF file with your application and then attach it to SQL Server on demand. This would only be done for single user apps with a local server.

2. You build a new database or attach an existing database permanently to the server using SQL Server Management Studio Express. This database can then be accessed by any user and any application on the network, assuming that the instance has been setup to support remote connections.

If you can specify which of those scenarios matches your situation then we can provide more information if required. That said, as far as the application is concerned it doesn't really matter. The only thing that is different from the application's point of view is the connection string. You can find all the connections strings you might need at ConnectionStrings.com - Forgot that connection string? Get it here!.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-01-2009, 10:10 AM
VB.NET Forum Newbie
.NET Framework: .NET 3.5 (VS 2008)
 
Join Date: Apr 2009
Posts: 17
Reputation: 12
Shemeer is on a distinguished programming path ahead
Smile Sql Express Remote access

Hi,

Am using only Sql Express 2005. i want to create a server client like atmosphere with mdf file.

mdf file will be in the server system and no mdf files in client systems.
the clients and server should work from the mdf file.

that is one database for all systems.

is it possible ?

i will be glad to hear from u ........

Thanks in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-01-2009, 11:31 AM
jmcilhinney's Avatar
VB.NET Forum Moderator
.NET Framework: .NET 3.5 (VS 2008)
 
Join Date: Aug 2004
Location: Sydney, Australia
Age: 40
Posts: 6,006
Reputation: 538
jmcilhinney VB.NET gold medalistjmcilhinney VB.NET gold medalistjmcilhinney VB.NET gold medalistjmcilhinney VB.NET gold medalistjmcilhinney VB.NET gold medalistjmcilhinney VB.NET gold medalistjmcilhinney VB.NET gold medalistjmcilhinney VB.NET gold medalistjmcilhinney VB.NET gold medalistjmcilhinney VB.NET gold medalistjmcilhinney VB.NET gold medalist
Default

SQL Server Express can handle multi-user networked apps no problem, although the databases can only be 4GB and it won't handle the same load as the full SQL Server. What you want to do is no different than it would be with the full SQL Server. You need to install SQL Server Express on your server and make sure you enable remote connections. You use Management Studio Express to create the database and then your application simply needs to specify the appropriate connection string, the format for which you can find using the link in my last post.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -4. The time now is 11:28 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2


For advertising opportunities click here.