Search code examples
asp.netasp.net-2.0argumentexceptionmscorlib

Problems with mscorelib? : System.ArgumentException


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?


Solution

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

    Key duplication when adding: sessionState