All Questions
Tagged with deployment iis
770
questions
137
votes
13
answers
40k
views
How to deploy an ASP.NET Application with zero downtime
To deploy a new version of our website we do the following:
Zip up the new code, and upload it to the server.
On the live server, delete all the live code from the IIS website directory.
Extract the ...
126
votes
3
answers
29k
views
Error: "The configuration section 'system.webServer/management/delegation' cannot be read because it is missing schema
I am trying to publish a website from my computer to an IIS web server via web deploy.
I have 3 servers. All servers have installed the same things (Webdeploy etc.) and the services are started (Web ...
91
votes
33
answers
263k
views
HTTP Error 500.30 - ASP.NET Core app failed to start
I deploy a .NET Core app with settings:
And the website shows an error:
HTTP Error 500.30 - ASP.NET Core app failed to start
Common solutions
to this issue:
The app failed to start
The app started ...
91
votes
34
answers
138k
views
Web deployment task failed. Could not connect...server did not respond
I've been publishing my Lightswitch app using Visual Studio 2012 RC to my localhost (Win 7, SQL 2008 R2, IIS 7.5) just fine. Now I'm trying to publish to a remote server (Win 2008 R2, SQL 2008 R2, IIS ...
57
votes
7
answers
24k
views
Make MSDeploy (Visual Studio) not delete App_Data folder but delete everything else
I'm using Visual Studio's Publish button to deploy my website, and want a different App_Data folder on the server. There's a checkbox for Leave extra files on destination (do not delete) which ...
32
votes
2
answers
46k
views
Enable authentication for IIS app in Powershell
I know how you set this for IIS web site by following command:
Set-WebConfigurationProperty -filter "/system.webServer/security/authentication/windowsAuthentication" -name enabled -value true -PSPath ...
32
votes
6
answers
16k
views
Facebook login - how to develop on both localhost and in production?
I am developing a website which uses the Facebook login. Now, I want to be able to get this to work both in my production environment, as well as in my development environment.
On Facebook, I can ...
31
votes
3
answers
17k
views
How do you set up a Python WSGI server under IIS?
I work in a Windows environment and would prefer to deploy code to IIS. At the same time I would like to code in Python.
Having read that IIS can run fastCGI application, I went to the IIS site where ...
30
votes
7
answers
28k
views
Step-By-Step ASP.NET Automated Build/Deploy
Seems like there are so many different ways of automating one's build/deployment that it becomes difficult to parse through all the different scenarios that people support in tutorials on the web. So ...
27
votes
6
answers
32k
views
How to host multiple .NET Core apps under the same URL?
I am building a few web sites in ASP.NET Core (multiple user interface applications and a WebAPI app). They all work together, utilising the WebAPI. For the purpose of my question we'll call them App1,...
22
votes
7
answers
17k
views
Clearscript files cannot be found on host
Like a lot of others I'm receiving the following error when deploying my ASP.Net MVC application:
Cannot load V8 interface assembly; verify that the following files are installed with your ...
19
votes
9
answers
3k
views
Is it possible to deploy an enterprise ASP.NET application and SQL schema changes with zero downtime?
We have a huge ASP.NET web application which needs to be deployed to LIVE with zero or nearly zero downtime. Let me point out that I've read the following question/answers but unfortunately it doesn't ...
18
votes
1
answer
3k
views
Web Deploy no longer works
My team uses Web Deploy in order to deploy updates to our website on to our production server. The last few days I've been doing some housekeeping and have changed my password (which I made sure to ...
17
votes
3
answers
9k
views
What are best practices for ASP.NET application deployment
Not being into ASP.NET world too much, I still faced a neccessity to work on ASP.NET project that requires periodic deployment of new version to production IIS server.
What are generally accepted ...
16
votes
4
answers
6k
views
IIS Deployed ASP.NET 5 BETA 8 site to IIS gives HTTP Error 500.19 - Internal Server Error
I created a new ASP.NET5 Beta 8 Web Application.
I publish it to my local file system and copy those files to my server which is a Windows Server 2012 R2
In IIS 8.5 on the server I create an ...
14
votes
5
answers
5k
views
Seamless deployment in ASP.NET (IIS kills worker process before new worker process is ready)
I am trying to deploy a .NET Web application to IIS (7.5) without any hassle for the users. I have made sure that Disable Overlapped Recycle is False but i still run into the same problem every time.
...
14
votes
2
answers
2k
views
Deploying EF 4.1 code-first ASP.NET MVC3 to medium trust shared hosting
I think, this is quite common situation nowadays, so its surprising, that I have troubles finding nice and clean solution for it (even here at SO).
I have my ASP.NET MVC3 web application using Entity ...
14
votes
1
answer
3k
views
Deploying IIS Settings with Web Deploy
If I look at the Package/Publish Settings of a web application in Visual Studio 2010, there is an option to "Include all IIS settings as configured in IIS Manager (used only for IIS Web projects)"
I ...
13
votes
5
answers
45k
views
IIS forgets virtual directory permissions - An error occurred loading a configuration file: Failed to start monitoring changes
I have a website with a virtual directory that contains PDFs.
Users access the PDFs by using a URL such as http://myApp.com/PDFs/12345678.pdf, where PDFs is a virtual directory mapped to \\\...
12
votes
5
answers
20k
views
Deploying asp.net application to root directory in IIS
How can I deploy an asp.net application to the root of an IIS6 webserver? All the applications I've deployed before have been in directories, such as http://www.example.com/app1/. To deploy that for ...
12
votes
4
answers
17k
views
How to deploy DevExpress to server?
Hello I am needing to deploy a project using DevExpress controls to an IIS 6.0 server. The project loads fine and until I add in the DevExpress controls. When trying to load the site I get the error
...
11
votes
4
answers
6k
views
MS Web Deploy: configuration section `system.webServer/management/delegation` is missing
I have Windows server 2012 R2 with installed Web Deploy 3.5.
I try to deploy my application, but got next error:
Log file contains next:
Is there any solution?
11
votes
3
answers
12k
views
Inno Setup IIS Installation and Configuration
I have been trying to figure out how to install and register IIS using an Inno Setup Script, but I have so far been unsuccessful.
I need to create an application, application pool with .Net version 4 ...
11
votes
5
answers
3k
views
Is there a solution for deploying IIS websites that's similar to Capistrano?
Capistrano is a great solution for building scripts that automatically deploy a website and/or a database. But, it's also very *nix centric, and from I've read it would probably be more trouble than ...
10
votes
3
answers
9k
views
Best practice for updating a live website running on IIS
Currently, when we have updates that we want to roll out to our live website, we run a .bat file that copies the entire folder structure up from our development environment to the live servers. This ...
10
votes
2
answers
23k
views
Disable inheriting the "Allow all users" rule from IIS 7
I created a new site in IIS 7. This site is inheriting a rule to allow all users. I want to remove this rule but it won't let me. Is there a way to set the site to not inherit any rules?
10
votes
2
answers
9k
views
change physical path for virtual directory or site in IIS using command line for IIs6 or IIs7
I need to implement some versioning for deployment for the app I support where I can copy the site to say c:\inetpub\wwwroot\app_v2 and then switch the virtual directory from c:\inetpub\wwwroot\...
10
votes
1
answer
5k
views
Auto update asp.net web application from remote server
I have several clients who are using web application hosted in their local IIS server at different locations. Currently all are using version 1.0.
I published the new version of the application say ...
10
votes
2
answers
13k
views
Deploying Next Js project in IIS
I had a requirement of server side rendering in my project.So, I have developed it using next js and now i got struct in deployment.
I need to deploy my project in iis and dont know how i can achieve ...
10
votes
2
answers
2k
views
MsDeploy remoting executing manifest twice
I have:
Created a manifest for msdeploy to:
Stop, Uninstall, Copy over, Install, and Start a Windows service.
Created a package from the manifest
Executed msdeploy against the package against a ...
10
votes
2
answers
4k
views
automated deployment from bitbucket to iis on windows server
I want to use bitbucket as middle-ware between local server and the live server I'm deploying into.
I'm using windows server 2012 and iis 8. I'm working on an ASP.NET MVC 5 project.
Basically, i ...
9
votes
4
answers
10k
views
How to update a running asp.net core application on Windows?
I have a Asp.Net Core MVC application running on Windows Server 2008 R2 with IIS. But every time I update this application, I need to manually stop the applicationPool in IIS, and restart the ...
9
votes
3
answers
17k
views
How to publish ASP.NET Web API without Visual Studio?
How can I publish ASP.NET Web API without Visual Studio?
There is an external server, where must be only binaries or created project.
If I publish with the studio on localhost to the local IIS - no ...
9
votes
7
answers
2k
views
What is a good deployment tool for websites on Windows?
I'm looking for something that can copy (preferably only changed) files from a development machine to a staging machine and finally to a set of production machines.
A "what if" mode would be nice ...
9
votes
1
answer
3k
views
Why the same files are copied to /Approot and /Siteroot in Windows Azure WebRole?
I found that approot and sitesroot are used for:
\Approot - The customer’s code, aspx pages, DLLs, etc.
\Sitesroot\ – This is the folder where the full IIS site is run
from. When the role is ...
8
votes
9
answers
41k
views
Missing ASP.NET tab in IIS
Hmm. I'm trying to deploy a web service to a new server and there is no ASP.NET tab. I've tried running aspnet_regiis from ASP.NET 2.0 directory but this doesn't seem to work. Any ideas anyone?
8
votes
4
answers
13k
views
Visual studio not creating virtual directory
I am stuck here in deploying my application to the local IIS server.
First of all my system doesn't have IIS manager then I get this by adding features to windows to enable that.
My IIS manager is ...
8
votes
1
answer
5k
views
Publish to IIS. Omit installing .NET Core Windows Server Hosting bundle on the server
ASP.NET Core documentation says, that one of the prerequisites is to install .NET Core Windows Server Hosting bundle on the target server.
Is it possible to somehow include this dependency into self ...
8
votes
3
answers
2k
views
Updating the production IIS WebSite and SQL Server Database without stopping
There is a testing server that uses the testing database. We test the website on the testing server. If it is okay, we update the website and the database schema from the testing server to the ...
8
votes
3
answers
19k
views
Asp.net core deployment not working on server but works on machine
I am trying to deploy an asp.net core app on a server. I have done the following steps.
first thing is first, this is an Windows Server 2012 r2 environment that is a brand new virtual machine.
build ...
8
votes
2
answers
5k
views
Best way to deploy website - App pool start stop or website start stop
What is the best way to deploy changes to a website( replace the dlls and other required files) ?
Should the website be stopped and started or should the app pool be stopped and started?
I read that ...
7
votes
3
answers
44k
views
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON' Possible Connection String Issue?
I'm attempting to deploy my first MVC application and I keep running into issues revolving around connecting to my sql server database. My current problem is that when I try to publish the site, I'm ...
7
votes
2
answers
11k
views
How do I configure a .net core API to work in IIS?
I've got a .net core API created in Visual Studio 2017 that's working fine. When I go to deploy it I get error message HTTP Error 500.19 with error code 0x8007000d. I've found multiple solutions ...
7
votes
3
answers
5k
views
How do you deploy django applications for windows? [closed]
I'm working on a web application using isapi_wsgi and django-pyodbc. I'd like to have a way to install all dependencies and push the files out to the webserver. Unfortunately, some of these are ...
7
votes
2
answers
3k
views
Automatic start of Azure webrole after deploy
A have an azure webrole with a test page and a service in that role.
After publishing the role it doesn't start automatically, only at first use.
So if the role is shut down for some reason the first ...
7
votes
2
answers
1k
views
Deploying ASP NET Core to IIS
I've made a simple ASP.NET Core website based on tutorial on asp.net website here.
Now, I'd like to publish it on my other machine on the IIS.
I've followed the instructions on this site but I just ...
7
votes
1
answer
2k
views
Add a *new* DestinationBinding for a site to a package using MSDeploy
I'm using a staging model with MSDeploy to deploy a couple of our sites to a web farm. The sites are configured in IIS on the staging boxes only, and then MSDeploy is used to build the target web ...
7
votes
3
answers
16k
views
How to solve the HTTP Error 403.14 - Forbidden in Asp.Net Core API?
I am developing Asp.Net Core 3.1 API. Its running fine and I am deploying it on IIS and It's giving me the below error.
HTTP Error 403.14 - Forbidden
I have found out the root cause of the issue, I ...
7
votes
0
answers
5k
views
Deploy VUE application on IIS [closed]
I'm trying to deploy a VUE frontend application on IIS.
The routing is working fine in dev mode, however, something seems to break in the routing when I host my VUE app on IIS.
When I click on a link, ...
7
votes
0
answers
9k
views
How to deploy a FastAPI web app on IIS server?
I have a FastAPI web app that I'm trying to deploy on IIS version 10.0.* on Windows server 2019.
Right now, I can run the application locally with no issues, you can find the repository here:
https://...