?
Solved

Application Deployment

Posted on 2007-11-20
4
Medium Priority
?
186 Views
Last Modified: 2013-11-26
I have written an application in Visual Studio 2005 using visual basic.  I has Crystal Reports in it and use ODBC connections to access a database.  I would like to publish/deploy this to a file server and have my users run the exe from there.   I want to do it this way so I don't have to install the Crystal Reports runtime, ODBC connections, and updates on each user's local workstation.  Is it possible and if so how can I do this??
0
Comment
Question by:PEAKTT
  • 2
4 Comments
 
LVL 18

Expert Comment

by:Joel Coehoorn
ID: 20322324
There is a security feature in the .Net runtime that will limit how it can execute code.  You'll find you have a hard time allowing the .exe file to 'live' on a remote file server.  To get around this, try using the ClickOnce deployment option in visual studio.  This will create in install program that can live on the file server.  You can create a link users can click that will check the install program first, install or update the program if needed, and then run the program locally.  This won't completely get around installing the runtime on the users machine, but should make it possible to automate most of that process.
0
 

Author Comment

by:PEAKTT
ID: 20323606
So what you are saying is....
Publish to the file server as a ClickOnce deployment
Put the ODBC on the local machines and then have the install do the Crystal Report dlls and exe to the local machine.
To run the program, the user will click on the setup.exe on the fileserver to check for updates and it will run locally.
0
 
LVL 18

Accepted Solution

by:
Joel Coehoorn earned 1600 total points
ID: 20323849
That's pretty close.  From the users' perspective they don't even know they're doing an install first- the shortcut for installing the program and running the program is identical, and the install, while not exactly silent, can be very unobtrusive.  It should be able to handle deploying the crystal dlls.

You might be able to improve on this even further.  Depending on your database you can probably eliminate the need for the odbc step completely by using a more native driver, and get a slight speed boost as a bonus.
0
 
LVL 101

Assisted Solution

by:mlmcc
mlmcc earned 400 total points
ID: 20324567
This link should provide the Click Once deployment steps and file requirements for Crystal
http://www.businessobjects.com/global/pdf/dev_zone/VS2005_Walkthroughs.pdf

mlmcc
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

864 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