IIS not able to locate the web.config

前端 未结 4 481
盖世英雄少女心
盖世英雄少女心 2021-01-21 04:50

I have a deployed a web application in IIS. Which used to work without any issues. Recently i have shifted that web application to another machine, Here is the problem. Once i s

4条回答
  •  -上瘾入骨i
    2021-01-21 05:00

    I know it's old post but I resolved the same issue as follows:

    If you are using TFS and you are getting this problem then Reason is ".vs" file is not excluded from commit.

    Because of that ".vs\config\applicationhost.config" gets the local version of another user/Developer.

    To Solve the error, First open that file Update Physical path inside "" xml tag.

    Also ask user to exclude this folder from TFS to prevent future issues.

提交回复
热议问题