Re: thread.start() does not actually execute the assigned method

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Thanks for you response Brock. Sorry it has taken me so long to get back to
you. I have updated the main thread with where I am at.

How do I tell if I am running in a partial trust environment? Can you point
me at some good www sites to do a some reading on the topic?

Thanks again.
Chris

"Brock Allen" wrote:

> Are you running in a partial trust environment? It's possible that your application
> has not been granted sufficient permissions to create and control threads.
>
> -Brock
> DevelopMentor
> http://staff.develop.com/ballen
>
>
>
> > I have an ASP.NET application that creates 4 threads in the
> > Application OnStart event. Each thread is stored in the Application
> > object collection.
> >
> > This code works perfectly on my dev machine, running WindowsXPpro with
> > VS.NET 2003 installed. Each thread is started and goes about its
> > tasks as expected.
> >
> > This code fails on a dev Win2K Server. There is no exception thrown.
> > The methods that should be executed on each of the threads are just
> > not run at all.
> >
> > I have attempted to get my dev machine to produce the same outcome by
> > matching all the user privileges and using the config files from the
> > Win2K machine, without success.
> >
> > I have hunted high and low for any information that might point me in
> > the right direction as to why this is happening, again with no
> > success. Any help I can get on this one will be greatly appreciated.
> >
> > Thanks all.
> > CVC
>
>
>
>
.



Relevant Pages