I got this following error while running the application. It was happened after updating nuget package using package manager console.
Solution:
It was fixed by deleting all files from the bin folder of project. Right click on the project and click clean and build. It worked fine.
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'OpenAuth.MvcApplication'.
Source Error: Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="OpenAuth.MvcApplication" Language="C#" %> Source File: /global.asax Line: 1
If the above way is not working then I suggested you to restart the application OR remove the temporary files in the computer by Run command temp and %temp% OR include the obj folder in to the project and rebuild and run.
Post your comments / questions
Recent Article
- How to Enable Virtualization in BIOS Security Settings in Intel Processors For Android Studio?
- Dependency 'androidx.activity:activity:1.8.0' requires libraries and applications that depend on it.
- AttributeError: 'NoneType' object has no attribute 'get_text' - Python
- ModuleNotFoundError: No module named 'openpyxl' - Python
- How to get thumbnail from vimeo video URL in Python?
- Remove all special characters, punctuation except spaces from string - Python
- OSError: cannot write mode RGBA as JPEG- Python
- expected str, bytes or os.PathLike object, not JpegImageFile - Python
Related Article