So I have been struggling with this error for a while and normally i get around it by removing the attribute and all is good, not quite simple this time.
Based on my research on this error, this is usually caused by incorrect .net version selected in IIS but for me this is usually not the case. For the app i am working on, it is a 4.0 app, the asp.net version in IIS is set to 4.0, and the error is caused by the RequirePermission attribute in the 4.0 machine.config. Since it is calling the 4.0 machine.config, that only tells me the version is set correctly. So what is wrong, why is it not recognized?
I have tried removing all the requirePermission attributes in the machine.config, then something else is not recognized, I believe it was the configProtectedData section. Endless error messages. It seems to be happening only on one machine. I did try uninstalling and reinstalling 4.0 and it didnt help, very frustrated!!!
Suggestion any one?
Thanks in advance!
View Complete Post