VS2013 Express Web Deployment: how to configure it on server side - web

I want to do publish of web-api application from VS2013Express to Windows 7 Professional. When I start publishing, the authentication fails, but my account is administrative one on server machine.
On server: WEb Deploy 3.5 is installed. But I dont see option Deploy - > Configure Web Deploy Publishing on any of my sites.
Where is the problem:)?
PS. I was following this document for Web Deploy installation/configuration:
http://www.iis.net/learn/install/installing-publishing-technologies/installing-and-configuring-web-deploy-on-iis-80-or-later

Related

How to publish IIS Application from VisualStudio?

I'm looking to publish automatically by using Publish in VisualStudio my C# Application, so it's not a WebSite but it's a IIS Website application.
When using Publish profile and Publish to publish a website all works fine, but i can't get on how i can setup the Web Deploy to deploy a WebSite Application...
As by right clicking the application i have only import/export under Deploy while only the Website has "Configure Web Deploy Publishing" ...
Web Deploy simplifies deployment of Web applications and Web sites to IIS servers, and must be installed as an application on the server. you can refer to this link about how to configure the required settings for Web Deploy. Publish to a Web site

Deploy website to IIS from VS - options aren't present?

I am trying to get web deployment working, but following Microsoft: Publish to IIS
Prerequisites:
Must have VS2019 [yes]
Server is running Windows 2019 DataCenter
Running IIS 10
ASP 2.0, 3.0 and 4.7 installed
Web Deploy 3.6 for Hosting Server installed
Web Account Manager Service running
Web Deployment Agent Service running
Web Management Service Running
IIS Management Scripts and Tools installed
With the above installed, the instruction say to restart the IIS Console and chose Deploy > Configure Web Deploy Publishing from the Default website, but it's not showing (on the Default Site, or my App Services site)
To resolve the close iis manager if it is open.
Go to the "programs and feature".
Select web deploy -> click change.
Enable IIS Manager UI Module, IIS Deployment Handler, and Remote Agent Service.
Click next -> change -> finish.

ERROR_SMO_NEEDED_FOR_SQL_PROVIDER when I'm trying to Web Deploy

When I try to publish project from Visual Studio 2019 to remote IIS server, I'm getting an error:
"The SQL provider cannot run because of a missing dependency. Please make sure that Microsoft SQL Server Management Objects (Version 10 or higher) is installed. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SMO_NEEDED_FOR_SQL_PROVIDER".
This is the first time I installing software to server, so here is what I did, following instructions on the web:
Added features: Windows Deployment Services (with Deployment Server and Transport Server), IIS Management Console, IIS Management Scripts and Tools, Management Service, Logging Tools.
Installed SQL Server Management Objects (version 13.0.1601.5), Microsoft Web Deploy 3.6 (because of version 4.0 won't offer me to install IIS Deployment Handler and won't show me Deploy menu in the IIS).
Tried to configure Web Deploy Publishing for existing user from Active Directory with defining connection string to SQL server.
Allowed users in IIS Manager Permissions.
Some important information:
Server is in domain, connection to internet restricted. Application works in intranet.
Using Web Platform Installer permitted because of item 1. Any programs should be installed offline only.
Server haven't been used for Web Deploy before.
Before installing Microsoft Web Deploy 3.6, I was unable to check connection from Visual Studio and even hadn't current error.
I guess that error happens because of incorrect connnection strings (Enter SQL Server/MySQL connection string to be used for publishing).

Publishing to Azure Virtual Machine with Web Deploy

I am trying to set up Web Deploy on Windows Server 2008 R2, I have installed Web Deploy and Web Management Service.
I know that I'm connecting to the server because I see the following in the log.
2015-06-19 12:13:59 100.72.108.11 HEAD /msdeploy.axd site=IAmAFish 8172 - 86.1.148.102 - 404 7 0 93
However, I'm receiving the standard error about checking that Web Deploy is running.
I suspect permissions are the issue and I'm currently trying to find 'IIS Manager Permssions' in IIS manager, after selecting the site. It's not there. How do I add this feature to IIS manager so that I can manage permissions?
It turns out that the version of Web Deploy installed by Web Platform Installer does not include the full suite of tools and should not be used for this.
Instead, download Web Deploy from:
http://www.iis.net/download/webdeploy
Be sure to restart IIS Manager to see the new icons.

Disparity in options available in Web Deploy 2.0 on two matching servers

IIS 7.5 is installed on two servers (both Windows Server 2008 R2) with Web Deploy 2.0 installed (to enable me to Publish from Visual Studio 2010.) Publishing straight from VS requires the Web Management Service be running on the server. I've been publishing to the first server for months, no problem. The second server has just been spun up (not by me) but as far as I can tell has all the same versions of components (OS, IIS, Web Deploy). However, on the second server the Web Management Service isn't installed. There's a key difference:
Web Deploy 2.0 options available on the first server:
Web Deploy 2.0 options available on the second server:
Why is there a difference between the two?
(Follow-up: I tried the Web Deploy 3.0 installer and encountered the exact same dialog as the second server, above, except that it said "3.0" instead of "2.0".)
Verify the proper IIS roles are installed on your new server. In the Server Manager console, under Web Server (IIS), verify the following roles are installed:
Management Tools
IIS Management Console
IIS Management Scripts and Tools
Management Service
Then try re-running your Web Deploy installer. I think you'll find you get the options you desire.

Resources