Naveen,
Thanks for the suggestion. That would definitely work. I found, though,
that using
System.AppDomain.CurrentDomain.BaseDirectory
will return the path for the application folder even when there is no
HttpContext.Current object, so I'm just using that. If I run into problems,
your method may come in handy!
"Naveen K Kohli" wrote:
When you initiated thread, you can always pass the error log path as a
parameter. If your error log path stays the same thorugh out the processing,
this should work.
"Solel Software" <So***********@newsgroup.nospam> wrote in message
news:0D**********************************@microsof t.com... Hi,
I'm running a long running process on a background thread in an ASP.NET
application and not sure about how to get the path since the
HttpContext.Current object is null. If there is no context, how does one
get
the path for the error log?
--
Sincerely,
Mark Fox