Parser Error when deploy ASP.NET application

后端 未结 17 644
既然无缘
既然无缘 2021-01-03 22:56

I\'ve finished simple asp.net web application project, compiled it, and try to test on local IIS. I\'ve create virtual directory, map it with physical directory, then put al

17条回答
  •  花落未央
    2021-01-03 23:30

    Very old question here, but I ran into the same error and none of the provided answers solved the issue.

    My issue occurred because I manually changed the namespace and assembly names of the project after initial creation. Took me a little bit to notice that the namespace in the Inherits attribute didn't match the updated namespace.

    Updating that namespace in the Global.asax markup to match the apps namespace fixed the error for me.

提交回复
热议问题