I am trying to make the current asp.net web form (with .net framework 3.5, vb.net) application run on the Microsoft Edge browser. There is no issue in IE, it has been working fine on IE and still works fine. But when I open in Edge browser it throws the error shown in the screenshot:
Also, it doesn't throw this error in Edge browser when I run from Visual Studio in localhost. It runs perfectly fine.