Click here to Skip to main content
15,886,832 members
Everything / DevOps / Deployment

Deployment

deployment

Great Reads

by Mohamed Kalmoua
This article describes how you can deploy your application using ClickOnce and Windows Installer technology.
by Habibur Rony
This will cover how to use Domain Driven Design in your application according to the Onion Architecture. There are short descriptions about architecture Category / Style, N-Layer / N-Tier Architecture, Template Method Pattern and Facade Design Pattern.
by Monjurul Habib
How to: ASP.NET 4.0 Routing and Ext.NET.
by DannyVarod
Fast, stable and powerful creation of NuGet packages

Latest Articles

by Ruslan Shkarin
A step-by-step guide on how to easily perform code quality checks with AWS CodeBuild.
by ToughDev
How to install Microsoft Web Deploy on Win7
by Sauradipta Chaudhury
This is a coding solution to use Application Settings and Connection Strings sections under Configuration Menu in Azure Functions V2.x and above to store configurable entries.
by Arctype SQL
Easily deploy PostgreSQL pod in Kubernetes

All Articles

Sort by Title

Deployment 

19 Mar 2016 by Tushar Tale
A decisive view whether we should adopt continuous integration
6 Feb 2016 by Muzammil Raza khan
Hello everybody,Respected Dotnet developers and engineers specially deployment team members.....Please let me know "How to successfully deploy the Winform application (developed using C# and SQL server, in Visual Studio 2012) to the Client's machine.I have used install shield to...
6 Feb 2016 by OriginalGriff
We can't really help there, as "it generates the problem with database." could mean anything.But the most likely things to check are:1) Does the client have an existing SQL Server installation?2) Does the connection string you are using in your application correctly reference that...
2 Jul 2013 by Sebastian T Xavier
Hi all,I have a web setup project of my REST Web Service which is working correctly in 32 bit OS. I have a prerequisite of .net framework 4.0 & a launch condition for IIS. When I try to install this in a Windows Server 2012(With IIS8 is setup), an exception is thrown.Installation is...
21 Jun 2017 by JatinKhimani
I know that is this question has dozen of answers and posts, but nothing works for me. We have my MVC4 application and i deployed it to IIS7 to my server and one more machine where we don't have visual studio installed. We are doing import/export data from/to excel for doing bulk entry. we do...
18 Dec 2021 by Devendra Sarang
I have developed one software in C#. Now I am creating setup project and add all the Prerequisites that are needed in project. Now i want that setup should be working in 32 bit operating system and thats why i am setting " target platform =...
18 Dec 2021 by OriginalGriff
"x86" says "Build a 32 bit app" instead of "Build a 64 bit app" - and all components of an app must be built for the same word size as the Process cannot switch between them on the fly: either memory addresses are 32 bit wide, or they are 64 bits...
15 Dec 2011 by Kutayy
Hi all,I am trying to deploy my project but it gives an error on other computers like 'system.io.filenotfound' it's work perfect on my computer and People who have Visual studio 2010 in his computer.I noticed cause of the error is some of reference that I used.So I remove the reference it...
14 Dec 2011 by Abhinav S
Try to copy the contents of the bin folder and then try to run.If you are using COM Interop, then you might need to register a few dll's on the client system.
14 Dec 2011 by koolprasad2003
try to put you referenced dll in GAC (C:\Windows\Assembly\). just drag and drop dll there you can't make copy, paste.
7 May 2015 by Muhamad Faizan Khan
My Website is deployed on a server with windows xp I am using WAMP SERVER.Two days ago I am receiving this error continuously!Warning: mysql_connect() [function.mysql-connect]: [2002] Only one usage of each socket address (protocol/network address/port) is normally permitted.well I...
5 Nov 2013 by Ziee-M
Hi all,i have an application that checks for update from a website, if the website version is newer , it erase the current .exe and replace it with the .exe in the website.In the case of one layer application, i am pretty sure its good enought!Now, the application is multi layers...
5 Nov 2013 by Bhuvanesh Mohankumar
Hi Ziee-M,You first list out what all the Files will be replaced when its a Single Layer Application.IF the Application is Single layer or Multilayer, the Logic Layer & Data Layer are refereced to the third layer UI for sure.As the other 2 layers are reference all the Final DLL will...
5 Nov 2013 by expert-programmer
I think It will be best if you create two exe. 1 for update checker and downloader and another one is your application. That you don't fetching up with any problem. first application update checker find new update exe and download it silently and replace your application.
4 Jul 2012 by peru j
Hi ,We have a web application hosted in IIS 8 in Windows 8 Beta Server. When i browse the file from IIS getting 404 Erro every time.When i saw the IIS logs am able to see different Extensions everytime for the same file i browse.Sample Error log2012-07-03 06:58:14 ::1 GET...
4 Jul 2012 by Imran from Mumbai
Have you checked this IE10?If you have IE10.0 then make this as default browser and try again
12 Nov 2014 by HemantShrivastava
Hi ,we had an web api 2 service deployed on production server, every thing was working fine and one day we have started getting 500 error from one of the seviceWe looked into the error codes its showing un handel null exception from one method by some lamda expression Steps that we...
12 Nov 2014 by Deepu S Nair
Do you have a StackTrace or any other details regarding this error?A 500 error is fairly generic server-side error that could indicate a variety of things (compilation issues, exceptions etc). You might consider disabling custom errors within your web.config temporarily so that you can...
13 Aug 2014 by Jitendra Satpathy
I'm new to windows form development. So i have developed a windows form application for my dad.It uses a small portion of data base i have used sql server 2008 for designing the data base. Now i want to deploy the app so that it may run on my dad's pc without any need of installation of...
13 Aug 2014 by Sergey Alexandrovich Kryukov
Your dad needs to install the SQL server, period. Moreover, even though deployment of database service with the application is the acceptable practice, it all heavily depends on licensing models, actually available licenses and maybe business setting. Therefore, the choice #1 is still just...
1 Aug 2018 by King Fisher
There is a site which was created long back in IIS with in Default Website. for example site accessible through : http:mysite.co.in/myapp/login.aspx Actually, files are deployed in this location "C:\inetpub\wwwroot\myapp" Now I wanted to deploy the application out side the Defaultwebsite as its...
1 Aug 2018 by Vincent Maverick Durano
Perhaps you may want to consider URL Rewrites? Scott Forsyth's Blog - IIS URL Rewrite – Hosting multiple domains under one site[^]
8 Dec 2013 by Ziee-M
Hi all,Hi, i want to make my application installation easy and intutive.so i am trying to add "VC ++2008 runtime" to my application installation required components, but i can't find a way to add it. someone knows how to achive this? if not, maybe another installation system other...
5 Dec 2013 by Ziee-M
here is the solution to add required component with the project.Add your own (custom) prerequisite to "ClickOnce" application[^]works for windows installer and Click once.this solution work fine for VS 2010, check the coments to find out how.Hope it helps.
11 Nov 2013 by Deenuji
After deploy the crystal getting error on serverBut i installed both CRforVS_redist_install_32bit and CRforVS_redist_install_64bitbut getting this error ....how to resolve this...Server Error in '/' Application.An error has occurred while attempting to load the Crystal...
7 Mar 2013 by Mr. Daveho
I'm looking for a program that will deploy C#.net applications to windows workstations without an agent. I can deploy antivirus and RealVNC through a management console to workstations on the network by providing credentials. Now that I have my own home-grown application for...
3 Feb 2013 by TheCodeKing
This article provides a solution for deploying multiple applications to a single AWS instance when using AWSDeploy.
21 Jul 2021 by sencsk
Hi Team, We have implemented SSR in our angular website and its working fine as expected. When we deployed it to QA instance in the iis its working fine. But the same code we moved it to UAT instance images are not loading. We are not sure why...
5 May 2017 by Habibur Rony
This will cover how to use Domain Driven Design in your application according to the Onion Architecture. There are short descriptions about architecture Category / Style, N-Layer / N-Tier Architecture, Template Method Pattern and Facade Design Pattern.
8 Feb 2012 by sivakumarmr10
hi from morning onwords iam slapping my head to my laptop for this issue i am using the 4.0 wpf framwork and i and i am trying to create the setup using the clickonce every thing is getting, it was publishing with out any warning it was ...
12 Jan 2012 by leopard447
By default the Websetup project add virtual directory to an existing website on IIS. I want to create a new website during my installation process then add my virtual directory to this site. I know it can be achieved using custom installer code but i want to ask if there is any builtin support...
14 Jan 2012 by Emad Al Hawary
CHECK THIS AND VOTE:http://weblogs.asp.net/scottgu/archive/2007/06/15/tip-trick-creating-packaged-asp-net-setup-programs-with-vs-2005.aspx[^]
10 Jan 2016 by Saad Saadi
Hi, I'm trying to deploy an asp.net MVC website using windows authentication but I'm facing issues.Website has deployment successfully but I think there is some kind of permissions issues.Bellow is the screenshot for your reference.Please help me!Thank You!ScreenShot
12 Jan 2016 by VR Karthikeyan
Hi, refer this links,1. https://support.microsoft.com/en-us/kb/253667[^]
5 Sep 2012 by jami_jamilan
i have uploaded my asp.net website using visual web developer 2010 express, but im unable to see the result. the webpage only displays the code, i dnt know why?webpage url http://hellixwork.com/mywebsite/Default.aspx[^]
6 Sep 2012 by Abhai Oza
Check your plank details..This is supported .net frm wrk version or not.if supported to call plank admin..
6 Sep 2012 by Dhol Gaurav
Hello,http...
25 Jun 2014 by Pankaj Chamria
I am trying to publish a ASP.NET MVC web application (.net 4.5) using Web Publish. My publish profile (.pubxml file) looks as below. ...
26 Apr 2012 by Sebastian T Xavier
Hello all,I have a visual studio setup project (with the extension .vdproj). How can I automate the build (creating msi & exe).I have tried MSBuild.exe, but not worked. (I was able to build projects with .sln extension using MSBuild.exe). is it possible to create setup, either using...
24 Apr 2012 by Sandeep Mewara
Look here:How do you automate a visual studio build?[^]Try:devenv solution.sln /build configuration
2 Jul 2012 by Sebastian T Xavier
Hello,This problem is solved. I could run the below script by creating a solution with the same name of my web setup project"C:\Progra~1\Microsoft Visual Studio 9.0\Common7\IDE\devenv" "C:\Users\Admin\Desktop\SebNewRESTSetup\SebNewRESTSetup.sln" /Build "Release" /Project...
6 Aug 2014 by DannyVarod
Fast, stable and powerful creation of NuGet packages
26 Feb 2013 by Yvan Rodrigues
I'm just finishing up a project for a client. It consists of an HTML5 application that is run from the local filesystem (a USB stick). The application includes the Chromium browser.The client has just requested a new feature: they'd like the software to be able to auto-update.Enumerating...
6 May 2018 by Majdi Saibi
Automating code deployment with Github and Azure
2 Feb 2014 by TheCodeKing
This article focuses on an alternative way to deploy and update .NET applications running on AWS EC2 instances, and mitigates the shortcomings of the AWSDeploy standalone tool.
31 Dec 2016 by Swapna Patnaik
Azure Environment Config. using ARM and PowerShell
28 Mar 2018 by Manjunath Matathamana
Angular framework is useful for building Single Page Apps and Progressive Web Apps. This article covers everything you need to know about deploying an Angular application in under 2 minutes.
16 Jul 2013 by ardeva1201
I have created windows application using windows c#.net and ms sql server 2008. And i am going to build setup file including database. Is that possible to build a setup including DB with out installing MS SQL Server 2008 in my client system?. If possible, this helps no need to install SQL server...
16 Jul 2013 by midnight_
A more suitable way to solve your issue would be to create a Custom Action in your setup right after commit-phase. Custom Action in Visual Studio setup projects[^]I did the following steps already: after commit a Form opens, asking for the DB Connection props and the place to install....
11 Oct 2013 by ASP.NET Community
Here's a few good places to start with MSBUILD, the new XML-based makefile system built into .NET. Basic Introduction to MSBUILD  MSBUILD MSDN
11 Oct 2012 by joshrduncan2012
Hi everyone!I have a program written in Visual Studio 2012 targeting .NET 3.5. When I deploy it and install/launch it on my personal laptop, it works fine. When I install and launch it on 2 of my colleagues' computers, it crashes immediately after launching. I'm at a loss. Any ideas as...
29 May 2013 by Sharan Khanal
I have developed my c# desktop application using MS-SQL server 2008 R2 as back end. I have used windows authentication mode. So is it necessary to install MS-SQL server 2008 R2 in client computer/machine ? or is there any option so that i should not install whole server in client machine. I have...
29 May 2013 by OriginalGriff
If you are using Sql Server in your app, then there must be an Sql Server installation within reach of your application when it runs: that doesn't mean it must be on the same machine - that is generally a poor idea with release software for a variety of reasons - but it must be available, which...
8 Feb 2014 by payne173
Hi,I am Trying to get the File Names of Content Added To Setup Via Custom Action.I am able to access the Virtual Directory in which content files are going to copy,but unable to list the files which will be copied.So i am trying to display all the Files which will be copied to...
26 Jul 2012 by Temidjoy
my project after deployment works fine on my computer bt on another computer it installs successfully but do not run.and does not give any error message.pls help me out
26 Jul 2012 by jaimin85
please re install .netframework and iis
20 Aug 2016 by Bhuvanesh Mohankumar
Task:I have created a Selenium Automation Scripts using the Visual studio and C# language, I have the set of files including Assemblies [DLL and Executable] in the bin folder of the project.How does it work?When I click on the executable it automatically triggers the Firefox and...
3 Nov 2016 by Roy1209
can anyone tell me the accurate way of deployment my C# application with a SQL Server database? I want to run my application on client's machine, it is running on my machine but showing error on client's machine. I am able to install SQL Server 2008 on client's machine using clickonce technique....
3 Nov 2016 by #realJSOP
0) Are you installing Sql Server 2008, or Sql Server Express 2008?1) Are you using the actual Microsoft installer to install SQL Server?2) Installing SQL Server is much more involved than installing SQL Server Express.3) You have to modify your code (in your application) so that it...
30 Oct 2011 by All Time Programming
Hi, I want to sign my exe and msi files. I have my certificate installed in "Trusted Root Certification Authorities", but I couldn't find a way to access that store so I imported my certificate CA (.cer) to "MyCertStore" store. I tried to sign my exe file using the following command :...
30 Oct 2011 by Mehdi Gholam
For signing to work properly you need a genuine key from providers like Verisign etc.But read these...
31 Oct 2011 by All Time Programming
@Mehdi Gholam, Not necessary that we need a key to sign an application. Using Verisign withour password key is also possible. I GOT SOLUTION to my problem : Well, sometimes it works perfectly well and sometimes it just fails for signing also. Cause of Failure for Verify : Signtool...
26 Apr 2012 by Sebastian T Xavier
Hello all, Is there any option to change the font / font size in windows installer. I am working with a web setup wizard. Thanks & regardsSebastian
30 Apr 2012 by Sebastian T Xavier
Hello all,I have solved this myself using orca[^]ThanksSebastian
5 Nov 2011 by chathura666
Is there any way to make the installer, install the applicaion/software system and its database. this should happen even if there is no dbms installed in the current os.The user is not good with computers but he may just know how to install a program and does not know anything about databases...
5 Nov 2011 by Orcun Iyigun
Yes you can add a database install to your installer. Check the links in order to do it how:Hod do I do it in C#(Deployment)[^]Using a custom action add DB to your installer[^]Deploy your Application and Database[^]Good luck.
5 Nov 2011 by thatraja
Already I have answered similar questions here, check these you'll find more informationPackage and Installation .net[^]Setup file creating in dot net[^]
23 Apr 2015 by Simran Chopra
I know in general we have dedicated servers for applications and databases and a business logic server in between (3-tier).What I want to know, can we deploy an application on a dedicated SQL server, means both resides on same server.Like we have windows as a platform to run applications...
24 Apr 2015 by Homero Rivera
Yes you can. It will have a toll on performance as now the same computer will serve orders for both SQL Server and the application of course.When requests are made to a server application, although they reside in the same domain name and/or IP Address, the SQL Server orders have a port...
30 May 2015 by Member 11543226
When I tried to deploy project in another machine which does not have .net framework installed when I tried to install .net framework by "dotnetfx40.exe" it gives error that higher version already installed. but my project cannot run. what is the problem and what is the solution for this? please...
31 May 2015 by Member 11543226
When I tried to deploy project in another machine which does not have .net framework installed when I tried to install .net framework by "dotNetFx40_Full_x86_x64.exe" it gives error that higher version already installed but that machin does not have any framework installed. but my project cannot...
12 Feb 2014 by JTRizos
I cannot deploy a report nor the project because I keep getting the error "The permissions granted to user 'KCDCSS-SQL\EContacts' are insufficient for performing this operation."The Report Server is on the same server as SQL Server 2008r2 EContacts is a user on the server as an...
12 Feb 2014 by mgoad99
Make sure that the account has permission to publish reports. This link may help:http://www.mssqltips.com/sqlservertip/2793/sql-server-reporting-services-2012-permissions/[^]
15 Dec 2014 by id-athul
I have a project with classic asp files, say in //Root/Home.asp folder. Now I have created a new aspx project under it, like //Root/NewAspxProj/Defaut.aspx. But when I try to acces the default.aspx, I get the folowing error :Active Server Pages error 'ASP 0221' Invalid @ Command directive...
26 Nov 2011 by kstxx
I have created deployment procejct which registers COM object. The output file is a setup.msi file. After installation I moved file into other directory. While unistalling app I recived error "the feature you are trying to use is on a network resource that is unavailable" so I must point...
26 Nov 2011 by Manoj K Bhoir
This error comes because you moved .msi file into other directory.When you create any deployment project it will create two files in debuge folder 1 : .msi 2 : .exe.Exe is the main setup file.because you can install/deploy application by running .exe file.If you want to move...
17 May 2021 by pkaelin
Has anyone some experience when it comes to change & release management and legal, compliance or audit requirements (country dependent)? Can you share some of your legal (country dependent), compliance or audit requirements? We already have a...
12 May 2021 by SeanChupas
As Richard said, you need to consult a lawyer. I would not trust any legal advice that you find on this site.
13 Sep 2011 by senthil sennu
I want to create Setup to install my website in my server. During installation i want to specify the folder path. By default its taking c:\inetput.How to Change the default Folder to My Folder pathSenthil S
5 Oct 2011 by bretthamilton
try having a look at this article.Specify a different location for Virtual Directories in Web Setup Projects[^]
8 Aug 2012 by comred
Hi.. I have published my code via click once. When my client tried it to upgrade its current version, it shows GAC error. Like abc.dll not found in GAC. To avoid this error, i have added the same dll with the specified version of dll. BUt now i m getting another error "An error has...
9 Aug 2012 by Christian Amado
In your project, go to Properties --> Publish and click the Application files... button.Search for your dlls files and select Include from the DropDownList. Click Ok. Publish again. And everything going to work perfectly =)Hope you can find it useful.
28 Jan 2011 by Kschuler
I have an application that deploys with ClickOnce. It works for 99% of my users, but two of my users are having trouble with it. They install the application and it works just fine (During publish install mode is "The application is available offline as well (launchable from Start menu). Then...
28 Mar 2013 by Kschuler
I have a ClickOnce app that has been published and used by our customers for about a year now. It's an app that can run online and has a desktop shortcut. Everything has been working okay until we started getting reports a couple of months ago that when users try to launch the app they get the...
28 Mar 2013 by Member 1303755
I would be interested in what responses you get to your question. I am having issues as well (we don't blue screen, but hang). We have a vendor provided application that uses ClickOnce accessed in Terminal server mode by several users. We have noticed that sometimes it hangs and after that, the...
28 Dec 2014 by Ravi Kanasagra
I am learning clickonce deployment and created a POC console application. I have selected 2 separate folders, one for Publish and another for install. I have used shared folder as install folder. When I published this POC application using publish wizard, I found setup.exe, one manifest file...
6 Apr 2016 by Zahid Khan Kakar
Deploy your Windows Application in Online Mode
13 Jan 2024 by Ruslan Shkarin
A step-by-step guide on how to easily perform code quality checks with AWS CodeBuild.
10 Oct 2012 by joshrduncan2012
Hi everyone! I have a project that has been completed in Visual Studio 2012. When I deploy it and require .net framework 4.0, it still requires 4.5 when it's installed on a separate computer. What am I doing wrong? I'm using the msi deployment with InstallShield method for deployment.
10 Oct 2012 by Sergey Alexandrovich Kryukov
You need to go to the properties of each project and choose the property "Target Framework". It's usually goes under "Application" tab of "Properties" window.—SA
7 Apr 2015 by vipulnegi
Hi Folks,I have VB porject, which is compiling/buidling perfectly using vb6 IDE in XP mode.My objective is to automate the deployment process, so am trying to build this project in command line using VBC.But while compiling vb project in window 7 using VBC.exe and cmd its throwing...
7 Apr 2015 by den2k88
We can't see your code, nor access your HD in any way. Please give us more informations to work with.I may try to guess: as far as I know VBC exist for .NET projects - I don't have any similar utility in my VB6 Enterprise installation. Not only that but "namespace level" is a concept non...
7 Apr 2015 by Afzaal Ahmad Zeeshan
All of these are compiler thrown exceptions (errors). Some say, identifier was expected (example context is when you miss the identifier while creating an object), some say Class doesn't end with exact matching End Class; check for any typo. Again that Module thing... Do you know the VB language...
21 Apr 2015 by bayotle
I have about 30 programs in vb6 which are part of a system and compile them all via a script with out issue but I'm not using VBC...My script pulls the project names from a directory and calls something similar to..."C:\Program Files\Microsoft Visual Studio\VB98\vb6.exe" /m...
2 Jun 2016 by Laviee
i have created a setup project for my solution in visual studio 2008 but while installing this MSI build package i am getting Config.Csproj error stating"D:\Applications\Config.csproj : error : The source file D:\Applications\Config.csproj is actually a directory. the move task does...
7 Oct 2014 by Yamin Khakhu
The article presents CI for Asp.net Application using CruiseControl.Net.
24 Sep 2013 by Leo Gan
A Target for MSBuild, which I use with BizTalk Deployment Framework (BTDF) for the BizTalk Server application deployment.
27 Feb 2014 by Member 9829329
Hello All,if i analyzed any system then i build Database and code from beginning. what is the percentage for time of the building (Implementation)? for example ( visibility study 5%, Collect Requirements 5%, Describe the system 10% Analyze system (DFD or UML) 35%, implementation 40%,...