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.comwww.prenia.comWeblog: blogs.prenia.com/cathi