- Plesk for Windows
Website shows error:
Server Error in '/' Application
Event viewer Alplication log contains:
Event code: 3008
Event message: A configuration error has occurred.
Event time: 25.11.2014 11:42:59
Event time (UTC): 25.11.2014 09:42:59
Event ID: 2c69c0bf11ad4117b77a2afe6cc7562f Event sequence: 1 Event occurrence: 1 Event detail code: 0
Application domain: /LM/W3SVC/380/ROOT-93-130613821796426241
Trust level: Full
Application Virtual Path: /
Application Path: C:\\Inetpub\\vhosts\\example.com\\httpdocs\\
Machine name: WINDOWS2
Process ID: 5764
Process name: w3wp.exe
Account name: WINDOWS2\\IWAM_plesk(default)
Exception type: ConfigurationErrorsException
Exception message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive. Note that attribute names are case-sensitive. (C:\\Inetpub\\vhosts\\example.com\\httpdocs\\web.config line 22)
parameter for domain. IIS unable to parse/handle parameters defined.
Since the issue was caused by customizing and changing configuration file
, there is no exact resolution.
The changes made have to be examined carefully and the parameters of the configuration have to be assigned with the correct values.
Note : Windows Application log usually contains the number of the line with incorrectly defined parameter. In this current example it is line 22:
Note that attribute names are case-sensitive. (C:\\Inetpub\\vhosts\\example.com\\httpdocs\\web.config line 22)
Attempt ot remove the line and access domain.