【发布时间】:2012-08-22 05:18:05
【问题描述】:
我通过 wkhtmltopdf 从 HTML 页面生成 PDF 文件(使用 C# 中的 Process)。
在本地系统 (Windows 7) 上它可以工作,但在 Windows Server 2008 R2 上我有“System.IO.FileNotFoundException”。 Process (C#) 执行的 wkhtmltopdf 没有足够的权限来写入文件。
我测试了很多文件夹(例如:“APPDIR/Content/temp”),但我不知道该怎么做。
【问题讨论】:
标签: c# asp.net windows permissions windows-server