i have a Asp.Net web application, and in VisualStudio it works perfect. i published the project to my server, and when i run it on the server, i get an System.ArgumentException

This is the error page

in the details, there is written :

Non-web exception. Exception origin (name of application or object): mscorlib.

does this mean that there are problems with mscorelib? and how do i fix this?

有帮助吗?

解决方案

No. This means that you have duplicate sessionState section or its subsection in your web.config.

Key duplication when adding: sessionState

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top