问题描述
我正在开发一个包含 Crystal Reports(版本 10,包含在 VS 2005 中)的 ASP.NET 2.0 应用程序.最初,无论是在使用 ASP.NET 开发 Web 服务器从我的机器上运行报告时,还是在部署到 IIS 服务器时,报告都能正常工作.
I'm developing an ASP.NET 2.0 application that includes Crystal Reports (version 10, included with VS 2005). Originally, the reports were working properly, both when run from my machine using the ASP.NET development web server, and also when deployed to an IIS server.
我对报告进行了一些更改,并将应用程序重新部署到 IIS 服务器,但是当我运行应用程序时,报告更改没有显示(尽管它们在我的机器上本地提供应用程序时显示).IIS 服务器是否可能正在缓存 rpt 文件的旧副本并且没有正确刷新它们?我向管理服务器的人建议了这种可能性,但他说他重新启动了应用程序池并且没有任何区别.有什么想法吗?
I made some changes to the reports and re-deployed the app to the IIS server, but the report changes are not showing up when I run the application (although they are showing up when serving the app locally on my machine). Is it possible the IIS server is caching older copies of the rpt files and not flushing them properly? I suggested this possibility to the guy managing the server, but he said he re-started the app pool and it didn't make a difference. Any ideas?
推荐答案
仔细检查新的没有在进程的某个地方重命名,并且代码仍然引用旧的.
Double check that the new one didn't get renamed somewhere in the process and the code is still referring to the old one.
如果您暂时删除 Web 服务器上的 RPT 文件会怎样?如果您没有收到错误,它正在从其他地方加载报告.
What happens if you temporarily remove the RPT file on the web server? If you don't get an error, it's loading the report from someplace else.
是否涉及子报表?
这篇关于ASP.NET 2.0 应用程序中的 Crystal Reports - 报表更改未显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!