I'm currently working on a project, that includes ASP.net, JS, C#, Html and etc. My project was working fine and had no problem to load whats so ever and neither had any problems running using IIS express (10.0). I added a few more classes and edited a web form, and when I tried to run the code in order to check my work, I had the 'Server Error in '/' Application. Configuration Error' thrown.
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: The CodeDom provider type "Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" could not be located.
Source Error:
Line 31: <system.codedom>
Line 32: <compilers>
Line 33: <compiler language="c#;cs;csharp" extension=".cs"
Line 34: type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Line 35: warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701"/>
Source File: C:\Users\Dell\Desktop\School\מדעי המחשב\WebProject\Project\web.config Line: 33
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4075.0
when I tried searching for a solution, I've found a few, but they all led me to a "Parser error", 'Could not load type'.
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 'Project.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="Project.Global" Language="C#" %>
Source File: /global.asax Line: 1
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4075.0
No matter what method nor approach I'm trying to use in order to solve any of these problems, I always seem to get back to the second one... Could anyone please help?