日期:2014-05-17  浏览次数:20381 次

asp.net 报表 发到服务器上出现问题(本地一切正常)
问题是这样,错误提示

Error in File UNKNOWN.RPT:
The request could not be submitted for background processing. 


在msdn上面看到一个外国佬解决了我问题,
引用原文:
I am using Visual Studion 2008 - Crystal reports 10.5.3700.0. Everything worked fine in the development. when i moved this to production, it showed wiered message "File UNKNOWN.RPT: The request could not be submitted for background processing". I took the below steps to correct it:

<div mce_keep="true">Right Click on C Drive</div>
<div mce_keep="true">Click on Security Tab</div>
<div mce_keep="true">Add "Network Services" to the list of users. Caution: Remember to remove it later.</div>
<div mce_keep="true">Browse to you application and crystal report should work now.</div>
<div mce_keep="true">Go back to your server and Remove the "Network Service" user from the security list. </div>
Hope this fixes the issue for all.

我试了先给服务器上的C盘添加了Network Services权限,马上预览 ,一切OK ,报表可以工作了。。。
不过移除了这个权限后又不行了 求解。

------解决方案--------------------
看看配置文件哈。我以前也出现过本地能访问,服务器不能访问的问题。发现配置文件里的用户名和密码是自己本地的没改过来。改成服务器上的就可以了。。估计是有权限问题。。不是很清楚你的状况哈