webdeploy

How to allow non-admin user to deploy web applications on IIS 6 using web deploy

。_饼干妹妹 提交于 2019-12-11 04:05:56
问题 I'd like to deploy a web application to IIS 6 on a remote server using a Web Deploy. I succeed to publish by an admin account of server but couldn't publish by a non-admin account. it failed with message : Unauthorized(401) I've found two different answer about this problem. scott guthrie said, "The non-admin scenarios enable administrators to configure Web Deploy on a server, and then delegate a subset of deployment capabilities to developers who do not have admin accounts on the production

Visual Studio 2012, Publish (Web Deploy) - Code First Migrations not changing web.config

一笑奈何 提交于 2019-12-11 02:06:02
问题 I am using the publish tool from Visual Studio 2012 for the first time - locally as a test. I have followed this tutorial: http://www.asp.net/mvc/tutorials/deployment/visual-studio-web-deployment/deploying-to-production I can publish the site files fine, they work. But the code first migrations do not seem to work & no database is created. Even if I create the database manually, it doesn't change (for this test it is the same SQL Server instance that the main site is on - just with 'stage'

The Type initializer for Microsoft.Web.Deployment.DeploymentManager threw an exception

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-11 00:53:45
问题 Anyone have a solution for this? I am trying to deploy an Azure Webjob using Visual Studio 2015 and it keep throwing this error whenever I try to validate the connection to the server. I tried the solution in the first answer of this post, but I do not have those registry entries listed in the registry Web deployment task failed. (The type initializer for 'Microsoft.Web.Deployment.DeploymentManager' threw an exception.) I also tried to install the Web Deploy extension using nugget to the

ERROR_USER_UNAUTHORIZED when deploy to IIS 7.5 when using IIS manager user

别说谁变了你拦得住时间么 提交于 2019-12-10 22:57:27
问题 I'm trying to deploy from a teamcity server to my iis server but I get unauthorized when I use an IIS Manager user set up in IIS. If I use a Windows account it works just fine. Am I missing something? I thought it was enough to create an IIS Manager User in ISS, or do I have to add that user to the domain or server I'm trying to deploy to? In the Management Service Delegation I have added two rules, it could probably be combined into one. The first rule is for contentPath and iisApp and the

WebDeploy API (IIS 7) - “public API”: resources?

时光怂恿深爱的人放手 提交于 2019-12-10 17:08:14
问题 Does anyone know any resources for the WebDeploy API? Has anyone used it? I've tried asking on the official forum, and looked around the site (the one that says there's a 'Public API' but then has no links, articles, resources, blog posts or samples): http://forums.iis.net/t/1180561.aspx .. There's a list of classes on MSDN, which as a resource is very poorly documented and useless - there's a single blog post with an app that uses it, but wraps the API (my point being, if it's a simple app,

vs2015 FTP publish changed files

ぃ、小莉子 提交于 2019-12-10 13:19:06
问题 Unfortunately I don't have the luxury to use Web Deploy on a server. How can I update only the changed files over FTP in Visual Studio 2015? Sounds like a question which has already been answered, right? Well I found questions for previous versions without good answers but that it is possible for publishing individual files.I still did not found a solution to publishing changed files over FTP. Is is just still not there over these years? There is this option to allow Pre compile during

After upgrading solution to .NET framework 4.5 the daily deploy stopped working

老子叫甜甜 提交于 2019-12-09 06:07:20
问题 We have with success been updating our development web site at a daily basis using msdeploy from TFS2010. This was working fine until we upgraded to VS2012, our application from .NET Framework 4.0 to 4.5 and ASP.NET MVC from 3.0 to 4.0. It look like all is well and assemblies deployed but nothing has actually been deployed. I have been looking into this for two days now and can't figure out why this is happening and now I am running out of ideas. Below is part of my build script in the way it

Web deploy results in Request too long only in VS2012

眉间皱痕 提交于 2019-12-08 21:39:30
Spent quite a bit of time configuring web deploy on IIS 7.5. I've made sure that Web Deploy 3.5 was installed with all features, and that both the Web Management Service and Web Deployment Agent is running. In Visual Studio I'm able to use the publishing wizard and validate my connection to the server. Additionally I can click on 'preview' on the last step to see a list of files. If I choose only one to publish it kicks off the process like normal and then hangs. Web deployment task failed. (Web Deploy experienced a connection problem with the server and had to terminate the connection.Learn

How to limit webdeploy connection number, ERROR_EXCEEDED_MAX_SITE_CONNECTIONS

99封情书 提交于 2019-12-08 08:12:23
问题 I have a solution that has 10-20 web projects, and I am trying to use msbuild webdeploy to deploy them. msbuild "mysolution.sln" /p:DeployOnBuild=true /p:PublishProfile="Debug" However, I got this error in the middle of deploy: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets(4295,5): msdeploy error ERROR_EXCEEDED_MAX_SITE_CONNECTIONS: Web deployment task failed. (The maximum number of connections for this site has been exceeded. In the log,

web deploy package not picking up parameters.xml when using latest csproj format

风格不统一 提交于 2019-12-08 07:53:23
问题 I have a project which is being updated to use the new .csproj format. We used to use the following msbuild arguments: msbuild Logging.sln /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="C:\Source\webdeploy" Which created a .zip web deploy package. In the top level of this folder was parameters.xml, which is a copy of a custom parameters.xml from the project being built. Since moving to the new .csproj format, the .zip is still