阅读背景:

在ASP.NET中,当HttpContext.Current为NULL时,如何获取physcial文件路径?

来源:互联网 

I'm working with DotNetNuke's scheduler to schedule tasks and I'm looking to get the physical file path of a email template that I created. The problem is that HttpContext is NULL because the scheduled task is on a different thread and there is not http request. How would you go about getting the file's physical path?I'm working with DotNetNuke's scheduler to sche




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: