Search code examples
asp.netwcf

"The current configuration system does not support user-scoped settings"


We're getting a "The current configuration system does not support user-scoped settings" compilation exception being thrown when navigating to a WCF service on our staging server.

We're getting this exception through the app consuming the WCF service and when we navigate to the .svc test page directly.

This works fine on our test servers - and the websites are setup in the same way (in IIS, in the filesystem etc. etc.).

Does anybody have an idea of what this would be?


Solution

  • User scope settings are stored in a config file hidden away in the C:\Users\\AppData\Local\ folder. Maybe the setup of your server prohibits .Net to write files there?

    Do you have any user-scope settings? I don't think these are necessary for a service? Maybe you should change the settings to Application Scope and your problem is fixed.