Solved

deploy vb.net winform and sqlexpress application

Posted on 2009-04-01
2
898 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
Comment Utility
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
Comment Utility
Thanks for your info and insight..  
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now