fiat
fiat

Reputation: 15981

How to solve Web Deploy - IISWMSVC_AUTHORIZATION_FAILED

Using Web Deploy, I encountered this problem as recorded in the server event log:

IISWMSVC_AUTHORIZATION_FAILED

The user '[my user]' is not authorized for the path '/[my site]'.

Process:WMSvc User=NT AUTHORITY\LOCAL SERVICE

Upvotes: 3

Views: 1738

Answers (1)

fiat
fiat

Reputation: 15981

When setting up the site, I had misspelled the site name in IIS. Confusingly, the error reported contained the correct spelling! (must be obtained from the url passed to web deploy)

Hence the web deploy command didn't match the site name in IIS.

Upvotes: 5

Related Questions