[Fixed]No relevant source lines error in Machine.config

By

August 7, 2019.NETNo comments

This solution is fix the error message whole hosting .NET website in IIS.

IIS10

Error message:

Configuration Error

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:

Source Error:

  [No relevant source lines]


Source File: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config    Line: 276


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:

Solution:

Verify the machine config and find the assembly mentioned on that line number. Make sure the assembly version installed on the machine is same as the one in the web.config file.

Alternate solution is to Remove Identity node on web.config

Leave a Reply

*