Exception in configuration section handler

  • Thread starter Thread starter Sean
  • Start date Start date
S

Sean

Hi all,

I have a weird problem and the error I get is not very helpful. My
code simply calls a function in a DLL. If I impersonate another user,
I get something like "Exception in configuration section handler, line
92", but if I impersonate as myself (seems moot but I was testing if
the impersonation was working), the DLL function works fine. I have a
hard time believing that there's anything wrong with the
machine.config file.

Any insights?

thanks,
Sean
 
ok, I solved the problem. There was nothing wrong with the config
file (Thanks for the great error Microsoft!). The problem was that
the user I was impersonating was not assigned to a local group that
had the ability to run a web service. Go to Computer Management and
find the groups section, right click the group where you want to add
the user and then add them.

Sean
 
Back
Top