Could not load type Namespace.Class or Global.asax
This is one of the annoying error messages in an Asp.net application.
Few verifications can fix this error.
1. Make sure you have right Asp.net version in IIS
2. Make sure the Application Root Namespace and Inherits=”” (on .aspx page) are the same (including case)
3. If you are using Multiple Projects (Project > Sub Project) make sure the Build Output Path (Project Properties > Compile) is pointing to Main application.
If you have come across any other scenario feel free to write it.