Information générale
Titre:
Creating a new background thread on web server
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement