Solved

deploy vb.net winform and sqlexpress application

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Advice on Xojo as a development tool over VB. 4 53
Disable extension 8 37
VB.NET 2008 Publish Error 2 25
VB.net and sql server 4 34
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 …
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

776 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