General information
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only