怎么在MVC4中使用水晶报表
展开全部
报表不显示的原因是水晶报表的功能没有在站点中,因此网页中的确有水晶报表的标签描述(javascript),但是没有能显示。
解决方法:
This means you're running the ASP in a different site from the Default Site in IIS. When you install Crystal Reports it puts a bunch of files in C:\Inetpub\wwwroot\aspnet_client that are necessary for report viewer to work.
Solution: Copy the crystal files beneath C:\Inetpub\wwwroot\aspnet_client to your website root folder.
To get the right path, go to IIS Manager > Sites > [your website] > right-click > Manage Web Site > Advanced Settings... > Physical Path. The actual files you need are beneath wwwroot\aspnet_client\system_web\[framework version]\crystalreportviewers13 but it's usually simplest to just copy the entire aspnet_client folder from the default webroot to your site's webroot.
解决方法:
This means you're running the ASP in a different site from the Default Site in IIS. When you install Crystal Reports it puts a bunch of files in C:\Inetpub\wwwroot\aspnet_client that are necessary for report viewer to work.
Solution: Copy the crystal files beneath C:\Inetpub\wwwroot\aspnet_client to your website root folder.
To get the right path, go to IIS Manager > Sites > [your website] > right-click > Manage Web Site > Advanced Settings... > Physical Path. The actual files you need are beneath wwwroot\aspnet_client\system_web\[framework version]\crystalreportviewers13 but it's usually simplest to just copy the entire aspnet_client folder from the default webroot to your site's webroot.
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询