473,378 Members | 1,539 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Help on deploying a c# application

navanova
Hi Guys, I've developed a c# application using MS Visual studio 2005. After finilizing developing the application, I want to deploy the application so that i can install it on the user PC. Can anyone tell me how to do that.

Thanks
Jun 26 '08 #1
6 2529
cloud255
427 Expert 256MB
Right click on your solution,
select add new project,
select other project types
select setup and deployment

then pick what you want probably a setup project, do some configuration to set the version number, owner etc then build the solution. this will create an .msi file for you.

good luck
Jun 26 '08 #2
Curtis Rutland
3,256 Expert 2GB
Alternatively, you can use OneClick. Select Publish <project name> under the "Build" menu. Follow the wizard. Now you have a project easily deployed from a network share, cdrom, or website.
Jun 26 '08 #3
I've done all that. But when I tried to install it on the user PC the installation intrrupts and displays the following message.

"Unable to install or run the application. The application requires that assembly CrystalDecisions.CrystalReports.Engine Version 10.2.3600.0 be installed in Global Assembly Cache (GAC) first."

What does it mean?

Thanks
Jun 27 '08 #4
nmsreddi
366 256MB
Hello

After adding all the required files and images to your setup application, before compiling the application make sure that all the required DLLs other installation files are included ,for this you have use

ProjectProperties --Prerequisites there you will find some of the common required dlls and framework also check the corresponding check box and select the correct radio button as from current location .

Hope this may work for you.

Regards
nmsreddi
Jun 27 '08 #5
After doing what you guys told me, it installs the application. However, it didn't find the database server. isn't the database incorporated in the setup? I thought the database is included in the exe file. if not, what shall I do to include the database together with the setup?

Thanks,
Jun 27 '08 #6
nmsreddi
366 256MB
Hello

what database you are using , if it is some thing like .mdb you can include that in your setup itself .but you cannot include Sqlserver or oracle.

you have to go for other alternatives ,any way in your application you will add app.config file for connections to Database, so you have to modify that connection string either manually(not recomended) or programatically which ever you wish.

for now i am changing manually after installing ,but no particular idea how to do it programatically.

Regards
nmsreddi
Jun 27 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Prem | last post by:
Hi All I have a portal application that we have built that contains links to different modules. There is no static binding to these dlls from the application so that we can deploy some modules...
2
by: Tom N | last post by:
Here's is our configuration ..Net Framework 1.1, Windows 2000, AppCenter 200 Our developers use XCOPY to deploy to the AppCenter NLB cluster (obviously, to the node that is the controller ...
2
by: msnews.microsoft.com | last post by:
Hi Every Body, I build an application using vb.net. Now i m deploying on the client system. I know that the deployment automatically check the .net framework on the client system at startup. I...
3
by: Rachel | last post by:
Hi, I am using the data access application block successfully in our development environment, however when I deploy to our testing server as Private Assemblies I keep getting the following ...
5
by: Mossman | last post by:
Hello, I am not sure what to look at next on this issue so any information and/or links to web sites would be greatly appreciated. I have developed an ASP.NET application using VB.NET. I...
7
by: Vinay | last post by:
Hi, I am using Excel in my VB.Net project. While deploying my application on a separate machine, I am getting the following error: File or Assembly name Interop.Excel or one of its...
0
by: Alain \Mbuna\ | last post by:
Hi to you all. As a beginning programmer, I finally succeeded in finishing my first application. I made the application with VB expr 2005 and provided the application with a help project, which...
0
by: Dave | last post by:
Hello The application I'm building an installer for uses dlls which were developed originally in C. Since the application itself is developed in C#, these dlls were wrapped using SWIG....
2
by: hulinning | last post by:
Hi, I create my Webservice in 2003 VS and test in Windows 2000 and Windows XP Pro without any problem. When I deploy it over Windows 2003 server, It fails to connect to the WS. I got Anonymous...
3
by: pooba53 | last post by:
I have a VB .NET 2003 application that communicates with an Access db. I am deploying the application using the Wizard that creates an install package and it IS properly grabbing the Access db and...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.