Solved

deploy vb.net winform and sqlexpress application

Posted on 2009-04-01
2
906 Views
Last Modified: 2012-05-06
I have an application developed on my pc.  All is working fine.  The vb.net winform application is in a vs project folder and the sqlexpress database is c:\sql databases.  Now I need to deploy the sql database to a file server and then deploy the vb.net application to mulitple pc's on the network.  I am not sure what is the best way to do this?  
a) What are the steps needed to deploy the vb.net application from Visual Studio Express.  
b) What needs to be done at the pc's where the application will be installed?  
c) What needs to be done on the file server to install the sqlexpress database?  
d) What do I need to do to have the pc's access and share the sql database located on the file server?  
e) What issues will I have once deployed to the multi-pc network envornment that I am not seeing in my existing 1 pc setup?

Any help, insight, guidence or starting pointers would be greatly appreciated.
0
Comment
Question by:kperelman
2 Comments
 
LVL 18

Accepted Solution

by:
carlnorrbom earned 500 total points
ID: 24047468
Hi,

I would suggest:

a) 1. Install SqlExpress on the fileserver. 2. Copy the mdf over to the share. 3. Update connectionstring for the database for Your application. 4. Verify db connectivity. 5. Set build config to release and publish your application.
b) Nothing if they access the share the same way You do from your pc.
c) Probably just install SqlExpress.
d) Map the share.
e) Connectivity issues, network latency, possible performance issues?

I would probably build som logic around the connectivity parts before deploying. For instance adding the network path to the database and connectionstring to the AppSettings so that You can change this values in the AppName.exe.config file on the clients if they for some reason access the share in a different way. Well, just some of my thoughts.

/Carl.
0
 

Author Closing Comment

by:kperelman
ID: 31565648
Thanks for your info and insight..  
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Disable extension 8 48
start a process from a service 3 33
VS 2015 is giving [No relevant source lines] 2 30
Retrieve Active Directory Groups a User belongs to in VB.NET 3 20
Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question