我使用wkhtmltopdf从我的html站点创建PDF。这在开发中工作得很好,但是当我使用IIS7将其上传到when服务器时,我遇到了用户的问题。但问题是pdf生成的wenn当前用户没有被使用,所以我得到了一个错误。我不想使用临时用户登录(wkhtmltopdf.exe --用户名...)因为这将显示在网站上,也会显示在pdf上。system.web>You are not authorized to view this page due to invalid authentication headers
我环顾四