question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IIS Web App Manage - Error when using double back slash in Physical Path

See original GitHub issue

Required Information

Question, Bug, or Feature?
Type: Bug

Enter Task Name: IIS Web App Manage

Environment

  • Server - Azure Pipelines

  • Account Name: gary.huynh@thedocyard.co

  • Project Name: tdyapp

  • If using Azure Pipelines, provide the account name, team project name, build definition name/build number:

    • Project Name: tdyapp
    • Build Definition Id: 12
    • Build Definition Name: Alpha - Rolling Release
    • Build Number: Release-21
  • Agent - Hosted or Private: Private

  • Agent Version: 2.168.2

  • Agent OS: Windows_NT

  • OS of machine running on: Windows 10

Issue Description

Im currently using IIS Web App Manage task to update the IIS Website Physical path. When try to update it to a physical path with a network unc path with double backslashes, i.e:

  • \\AzureShare\Website\1.0.0

image

i get the following error.

image

However, if i use a rooted drive path (i.e. C:\Website\1.1.0) it works fine.

Task logs

tasklog_4.log

Error logs

2020-05-20T01:21:16.2086575Z ##[error]The parameter is incorrect.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
gaz91aucommented, May 22, 2020

@ChrisFulstow, i have added the credentials into cmdkey and its working now, Thank you for your help, much appreciated. 🙂

1reaction
eaarora-mscommented, May 22, 2020

@ChrisFulstow Thanks for the help!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Path to ISAPI filters with double back slash. - Stack Overflow
Now i tried to install a new EPiSite and the error came up that it could not load the ISAPI filters but the...
Read more >
Invalid Application Path, Win 7 - MSDN - Microsoft
Right click folder. Select "Convert to Application". Leave all default values as they are. Click "Test Settings" and I get the error about ......
Read more >
Relative and absolute paths, in the file system and on the web ...
Although technically absolute (starting from a slash), this path is essentially relative to the calling script, because if the calling script will be...
Read more >
puppetlabs/iis · Manage IIS for Windows Server 2012, 2012R2 and ...
Maintain application sites, pools, installation, and many other IIS settings. ... Learn more about managing modules with a Puppetfile.
Read more >
Get nice looking directory listings for your IIS website with ...
This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found