:水晶报表发布的有关问题

在线等:水晶报表发布的问题,
一个小项目,需要用到水晶报表打印,但是在本地VS2010环境上跑着没问题,本地发布后运行也没有问题,但是发布到服务器后,就无法访问报表页面,报一下内容错误:
Server Error in '/' Application.
--------------------------------------------------------------------------------

无效文件名。 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Runtime.InteropServices.COMException: 无效文件名。

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace: 


[COMException (0x800001fb): 无效文件名。]
   CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
   CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +95
   CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +270

[CrystalReportsException: 加载报表失败。]
   CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +333
   CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +876
   CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +84
   zerui.Web.Report.CrystalHelper.CreateReport(String strSql, String cryPath, String tableName, CrystalReportViewer crystalReportViewer) in F:\08prjSVN\814xifeng_sys\program\trunk\zerui.Web\Report\CrystalHelper.cs:32
   zerui.Web.Report.UserInfo.Page_Load(Object sender, EventArgs e) in F:\08prjSVN\814xifeng_sys\program\trunk\zerui.Web\Report\UserInfo.aspx.cs:13
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207。

我的开发环境是VS2010,下载的水晶报表版本是CRforVS_13_0_7,网上找了好多方案,什么权限,安装东西什么的。都没有解决。

跪求高人支招,如何解决,如果能详细告诉在服务器端需要如何配置更好!
谢谢了。第一次弄报表,前前后后折腾3天了。

------解决方案--------------------
看出问题呀,关权限什么事哦?又不是提示401错误
Exception Details: System.Runtime.InteropServices.COMException: 无效文件名
这个无效是因为你在开发的时候,那台电脑可能是安装EXCEL2013版本,所以调用的引用集是这个版本,若是服务器是安装其他版本的EXCEL,,这个引用集就没用了。重新在服务器中安装跟你电脑一样的EXCEL版本,记住,一定要完全安装,而且还是要完整版的,剩下的就是权限配置了,network,everyone权限全开
------解决方案--------------------
会不会是服务器策略组的问题?

你可以发布一个在自己本机的IIS上测试一下呀,一般只要给了WINDOWS/TEMP和报表的权限就可以了,水晶报表我以前经常用,只用这样就行了,如果你连network service的帐号都提上来还是一样的结果,建议自己机子上或找一台同事用的IIS测试一下。