Skip to content

install.ps1 can't handle FTP sites in IIS #1632

@davetapley

Description

@davetapley

Description

Following instructions on docs.newrelic.com causes an error if the IIS instance has an FTP site configured.

Go Version

N/A

Current behavior

Following the docs shows an error, and it's not immediately obvious if it results in a broken install (as the script appears to complete successfully after displaying the error).

Expected behavior

Either the script exits with an error, or the error doesn't appear at all.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Have IIS configured to be an FTP server
  2. Click 'Guided Install' on https://docs.newrelic.com/install/dotnet/?deployment=windowsInstall&docker=noDocker
  3. Follow prompts
  4. See error

Debug Output (if applicable)

Get-WebURL : Site FTP Site doesn't have bindings for HTTP protocol.
At line:3 char:3
+   Get-WebURL "IIS:\Sites\*" | Out-Null
+   ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Get-WebURL], ArgumentException
    + FullyQualifiedErrorId : InvalidArgument,Microsoft.IIs.PowerShell.Provider.GetUrlCommand

Additional Context

Add any other context about the problem here.

References or Related Issues

Are there any other related GitHub issues (open or closed) or Pull Requests that should be linked here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions