Solved

deploy vb.net winform and sqlexpress application

Posted on 2009-04-01
2
902 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

867 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

18 Experts available now in Live!

Get 1:1 Help Now