My application often is offline generating this error event:
The worker process for application pool 'sitename' encountered an error 'Configuration file is not well-formed XML
'Trying to read configuration data from file' \\ \ C: \ inetpub \ temp \ AppPools \ sitename \ sitename.config ', line number' 3 '. The data field contains the error code.
Environment: Farm ARR 2 hosts with NLB for each farm created two host back end with iis 8.5 using iis shared configuration saved on the file server, DFSR for applications in secondary disk.
I have done several searches without success, in time to solve the problems temporarily perform an iisreset / restart.
I realized that the .config file in the C: \ inetpub \ temp \ AppPools \ sitename \ sitename.config after the error event is corrupted, I give permission for my User read the file and it is only with a line "<! . - eRROR: There's been an error reading or processing
the applicationhost.config file Line number: 0 error message: Can not read configuration file because the network path is not found
->
When running the iisreset / restart the file is rewritten and application back to work.
Interestingly, all the applications that are utlizando iis shared configuration feature the error instantly even though different host for each application, each host with iis have a folder on the file server and a domain of User was created just for this access another situation I noticed is that when checking my file server the User created to access the shared folders on iis has many open sessions and stay open long and connentions of number on each shared folder to the configurations of iis is very high, all the User created to access