Installing MS Web Deploy 3.0 - Failed to start WMService - asp.net

I have a dedicated server and I am trying to install MS Web Deploy 3 using the Web Platform Installer running as administrator.
It fails to install with the message:
We're sorry. The following products have failed to install.
**Web Deploy 3.0 - July 2012**
This product did not install successfully: Service 'Web Management Service' (WMSvc)
failed to start.
Verify that you have sufficient privileges to start system services.
I have tried running the installer using 'Run As Administrator' but this error comes up each time. Does any one know how I can verify or fix this issue?
Thanks! Sorry for any noobness!

I found a possible answer to this as I wouldn't give up. go to your iis installation and select the server so you get the options, go to management service. you can try checking "Remote Connections" and restarting if that doesn't help, select the certificate you have installed in the ssl certificate dropdown. I was able to install the web deploy software after this.

Having the same problem. Seems to be a problem with Web Deploy v3. I installed Web Deploy v2 without problems. It looks like they both can coexist. Just make sure to change the path for the Web Deploy Agent Service from C:\Program Files\IIS\Microsoft Web Deploy V3 to C:\Program Files\IIS\Microsoft Web Deploy V2

I also found a possible answer to this issue. It seems that WebPI doesn't install the IIS Management Service as a dependency for Web Deploy.
After installing IIS Management Service (and re-installing Web Deploy) it began working.

Related

Cannot install Microsoft Web Farm Framework v2.2

Trying to install Microsoft Web Farm Framework v2.2 on a Windows 2008 server.
I've already downloaded and installed Web PI v3 after realising v4 is too new to be able to download the Web Farm Framework.
When I run the installer for the Web Farm Framework v2.2 I get the following error:
Web Deployment Tool is a pre-requisite for installing Web Farm Framework. Please install the Web Deployment tool.
The strange thing here is that Web Deploy is already installed (v3.0). So I then try and download v3.5 assuming there is a problem with the current version at v3.
However when I try to install this I get the following error:
Failed to instal Web Platform Installer. Lick OK to use the browser to download installer.
Can anyone help to get this working?
Not sure why it wants me to open another browser window since I just came from a browser to install the extension? So it seems I cannot install something because there is a dependency on something else, yet I can't install that dependency either.
Why is this so difficult and why hasn't Microsoft made this easier to install?
I got this working in the end. Basically you need to just install everything in sequence starting with the Web PI v3 then Web Deploy v2 followed by the Web Farm Framework. It seems there is a dependency on specific versions on each of the required tools. Not sure why it insists on opening a browser window again though.
I just encountered this issue and tried the registry modification which helped me out.
Try changing the registry setting install the module and change the registry back to the original value.
Open Regedit > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp
Edit "MajorVersion" and set the "HexaDecimal" value to 9
Install the WebFarm 2.2 module.
Change the "MajorVersion" back to "HexaDecimal" value of a
Hit F5 while in Regedit
Close Regedit

IIS Not Working with VS 2013

I'm getting the following error after installing VS2013:
Service Unavailable HTTP 503
The earlier version of IIS is working with an application pool ASP.Net 4.0. This uses the 4.0 framework. I believe the new version uses the 4.5.1 framework. So the application pool might get a conflict. So when I go through the IIS manager dashboard I noticed that the application pool is getting stopped automatically. So I manually restarted and tried again. Whenever the application starts this application pool get stopped automatically. I don't know why this happening?
Please could you help to fix this issue?
I am not quiet sure whether it works for you, but i had the similar problem once, registering the FrameWork with the IIS Manager resolved my problem.
Below are the commands to run depending on 64-bit/32-bit OS version installed in your system
%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i
Note:
1. Please remember to replace the "v4.0.30319" with your current version installed.
2. You should run the above commands as a Administrator(better if you logged in as a administrator).

MSDEPLOY: How can I access the command generated by Visual Studio

How can I access the MSDEPLOY command line generated by Visual Studio 2010.
I am asking because when I manually run MSDEPLOY I can easly deploy on a remote server and when I run it throught Visual Studio, I get this error
Web deployment task failed.(Remote Agent (url https://x.x.x.x:8172/msdeply.axd?site=Default Web Site) could not be contacted
Make sure the remote agent service is installed and started on the target computer.
An unsupported response was received. The response header 'MSDeploy.Response' was '' but 'v1' was expected
The remote server returned an error:(404) not found
If you follow this guys instructions you can see more verbose output:
http://sedodream.com/2010/11/04/WebDeployHowToSeeTheCommandExecutedInVisualStudioDuringPublish.aspx
FYI, I tested this myself because MSDeploy.exe from the command line was working but the Publish form Visual Studio 2010 wasn't working (using Web Deploy). MSBuild gave me the error messages I needed to fix my issues.
My issues were specifically that the web server I was deploying to did not have .NET 4 installed, and therefore the App Pools were set to 2.0. Visual Studio in all it's greatness says nothing about this, but MSBuild did. After that, I had an ACL issue and had to add another delegation rule in addition to the ones they tell you to add in the intro guides.

Error 1609. ASPNET is not valid

Out company have a product that is being install through InstallShield.
When I run the installation on a machine with IIS 6 installed it is working great.
But, when I am trying to install it on a machine with IIS 7 install I get:
*Error 1609.An error occurred while applying security settings. ASPNET is
not a valid user or group. This could
be a problem with the package, or a
problem connecting to a domain
controller on the network. Check your
network connection and click Retry, or
Cancel to end the install. *
what am I doing wrong ? what do I need to change on the installation (or on the installed machine).
Thanks,
Ben
It is becase you don't have a ASPNET user. You have 2 choices you can either manaually create this user for the purpse of running this package or you can install .net framework 1.1 and then reinstall or reregister the version of .net you intend to run your apps with.
Run the following command to fix this issue:
aspnet_regiis –i
This is usually available in the .NET Framework installation path. If you use .NET 2.0, for example, the whole path would be:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -i
More information about the aspnet_regiis command is available here.

Deploy from Visual Studio 2010 stopped working after upgrade to Web Deployment Tool 2.1

I have a web site project that has been existing for a while - it has been ASP.NET MVC2 based up until right now. .Net 4, Visual Studio 2010 Sp1, deployed to IIS 7.5 running on Win2008 R2.
I have four separate deployment profiles - "alpha", "test", "staging" and "live". Yes, I could probably have come up with better names, but they should hopefully convey what they are for.
It was recently decided to upgrade to MVC3 to take advantage of new awesomeness like Razor, global filter attributes, and start using NuGet etc. So I went on an upgrade binge with the Web Platform Installer. One of the things I updated was the Web Deployment Tool - both my developer machine (where the MVC3 upgrade happens) and the web server got this new version of the tool installed.
Since then, I have not been able to do deployments. I have gone back to earlier versions of my project (thanks to git for allowing me to painlessly go back to any previous version) and tried to deploy them, and they don't work either.
Whenever I try to do a deployment from Visual Studio I get the following error:
Web deployment task failed.((23.05.2011 11:18:24) An error occurred when the request was processed on the remote computer.)
(23.05.2011 11:18:24) An error occurred when the request was processed on the remote computer.
Unable to cast object of type 'Microsoft.Web.Deployment.DeploymentSyncOptions' to type 'Microsoft.Web.Deployment.DeploymentSyncOptions'.
I can see why that cast would be hard. ;)
But seriously - how can we get deployment from Visual Studio to work again? In the future we will do this using our CI server, and install a deployment package using MsBuild automatically on the correct web server depending on the git branch that was updated, but that is some time in the future.
I have full access to both machines so any other information need can hopefully be gathered.
You might be having beta version of web deploy on your box if you have ever installed web platform installer v2 beta. YOu can check that by
gacutil -l Microsoft.web.deployment.
If you see any 7.5.0.0 version then you have a beta version. Uninstall this version. You need to check and change this on both the client as well as the server.
Owais is right - this is very likely because you have a pre-release version installed. Rune can you please check and let me know?

Resources