>All the features and function of the application works fine in both environments except for the thread thing.
Does the function part exist as a separate class project?
If so try the following:
- Write a harness application to check the function will run on the Windows Server 2003 run by an admin account
- Write a windows service to call the function (non-threaded) on the Windows Server 2003 run by an service account
Do you use Custom Event Logging?
If so, instrument up your application to write trace messages to the custom event log around the threading code. Put try...catch around suspect code and in the catch, log the exception and rethrow.
Don't forget to click "Mark as Answer" on the post that helped you.
This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.