Last post Oct 08, 2019 03:35 PM by PatriceSc
Oct 07, 2019 06:18 AMfirstname.lastname@example.org|LINK
I'm having problem deploying a MVC project to remote computer. Building the solution can be successfully made, but after trying to publish it the following error occured:
Severity Code Description Project File Line Suppression State
Error Web deployment task failed. ((4.10.2019. 10:58:47) An error occurred when the request was processed on the remote computer.)
(4.10.2019. 10:58:47) An error occurred when the request was processed on the remote computer.
Child object 'hsts' cannot be added to object 'site'. The 'site' provider may not support this deployment. ITEquipment 0
I lost hours trying to find the solution.It was working few days ago. I don't know what has happend in between.
Best Regards, Sanjin Kleva
Oct 07, 2019 06:44 AM|AddWeb Solution|LINK
What is the configuration of the server where the site is hosted.
You can also refer the below articles for further information
Oct 08, 2019 09:51 AM|jiadongm|LINK
According to your description, I couldn’t find the reason directly.
Could you please tell me how you publish your web application to remote IIS? By using visual studio publish feature or using command line? Do you add some special command in the csproj file?
If you use the VS to publish the project, I suggest you could tell us which version of your VS.
Oct 08, 2019 03:35 PM|PatriceSc|LINK
hsts is a new web.config features. I suspect you are using the very latest IIS10 versiion but try to deploy to an older IIS 10 version.