troubleshooting Question

Impersonation Problem on Windows XP

Avatar of jdhackett
jdhackettFlag for Ireland asked on
Windows XPVisual Basic.NETOS Security
5 Comments1 Solution648 ViewsLast Modified:
I have a program that uses impersonation. On one clients pc, it doesn't work. The operating system is Windows XP, SP2.
I thought the issue was with report viewer, but it seems more to do with impersonation.
I ran some test programs, and this is what happens:
1) Reports without impersonation work fine

2) Programs with impersonation generate temp dll files, and then reports won't launch as I get a message about
'C:\Documents and Settings\theusername\Local Settings\Temp\expression_host_abc12324334435435435.dll in use by another process'

3) And now the freaky one. I wrote a simple program that just prints the contents of a folder to a report. Added a tick box, so that Impersonation can be turned on/off. With Impersonation off, everything ok. Turn impersonation off, and I get the '....dll in use by another process' message above.
However, once that message is generated, the program will never run again! Even if I reboot the pc. Or remove and re install the program. Once impersontation has been used, it won't run again, even if don't use impersonation again.

This one is really baffling me. I know that on Win 2000 pcs, local security settings had to be changed to get impersonation to work. But I haven't read anything similiar for Windows XP.
Any help appreciated!


Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros