0

When I run the application using IIS Express then it works perfectly fine. The issue arises only when I deploy that in local IIS.
Please see the attached screenshot for the error.

First error when deploy in local iis

To fix this issue, I modified this part shown below:

Tried this one to fix the above issue

After doing all these, now getting below error shown in screenshot:

enter image description here

Can anyone please suggest me how to resolve this issue. Any help will be highly appreciated.

MVC
  • 519
  • 5
  • 16
  • 1
    https://docs.microsoft.com/en-us/iis/configuration/system.webserver/websocket#appcmdexe It says clearly that this setting can only be made in applicationHost.config. – Lex Li Dec 19 '19 at 04:53
  • Check folder permissions where project files are placed. – Nouman Janjua Dec 19 '19 at 09:28

1 Answers1

1

Have you seen this in applicationhost.config? . I can get it work if I just allow the override.

In some case, it will return same error if I put it into site/directory/web.config. But it will work if I put it into the site's web.config <location="directory"> section.

Jokies Ding
  • 2,855
  • 1
  • 2
  • 8