ASP.NET Virtual Path Maps To Another Application Which Is Not Allowed

后端 未结 4 553
灰色年华
灰色年华 2021-01-11 11:17

I have a website that was building without any issue on multiple servers.
But, when I copy/move it on the same machine from one folder to another folder: I started getti

4条回答
  •  天命终不由人
    2021-01-11 12:02

    If you are creating a new HttpContext and calling any external service, it also causes the same error.

    Key is you should not create new HttpContext, change the existing context to your needs.

提交回复
热议问题