Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a new background thread on web server
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00764110
Message ID:
00764493
Vues:
23
Hi Teresa,

Try running CreateTextFile without starting a new thread. Make sure it runs fine and has correct permissions. Unless you are using impersonation or some other type of user logon, the process is running under the ASPNET account.

>I use the following to create a new thread on the web server to perform some processes:
>
>
>myThread = new System.Threading.Thread(new ThreadStart(CreateTextFile));
>
>myThread.Priority = ThreadPriority.Highest;
>
>myThread.Start();
>
>Response.Redirect("CheckOut.aspx?OrderID=" + orderId,false);
>
>
>
>
>It works great on my localhost but the thread does not execute on the prod. server. No error is returned or written to the log? Any help on where I can troubleshoot this? Does the user that runs aspnet_wp.exe need any other permissions? i already added permissions through dcomcnfg. Please let me know where to look. thanks
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform