使用Visual Studio 2013的Crystal报表aspnet_client/system_web/4_6_81 [英] Crystal Report with Visual studio 2013 aspnet_client/system_web/4_6_81

查看:163
本文介绍了使用Visual Studio 2013的Crystal报表aspnet_client/system_web/4_6_81的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对与Visual Studio 2013一起使用的SAP Crystal Report的行为完全感到困惑.当我运行ASP.NET Web应用程序时,我正在跟踪文件夹路径 aspnet_client/system_web/4_6_81/crystalreportviewers13/ 而不是C:\ inetpub \ wwwroot \ aspnet_client \ system_web \ 4_0_30319 \ crystalreportviewers13. 在IIS 7.5 C:\ inetpub \ wwwroot \ aspnet_client \ system_web)中找不到任何此类文件夹.你能帮我这个忙吗?因此,我看不到该报告.

I am totally confused with behavior of SAP Crystal Report which i am using with Visual Studio 2013. When I run my ASP.NET Web Application, I am getting following folder path aspnet_client/system_web/4_6_81/crystalreportviewers13/ instead of C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13. I do not have any such folder found in my IIS 7.5 C:\inetpub\wwwroot\aspnet_client\system_web). Can you please help me on this? due to this i am not able to see the report.

请检查以下屏幕截图以获取参考

Please check the below screenshot for the refernce

推荐答案

最可靠的解决方案是在IIS中的应用程序下创建虚拟目录:

The most robust solution is to create a virtual directory under your application in IIS:

  1. 转到IIS,右键单击您的应用程序

  1. Go to IIS, Right click your application

添加虚拟目录将物理路径设置为C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13\.

Add virtual directory Set the physical path to C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13\.

将虚拟路径设置为/crystalreportviewers13

Set the virtual Path to /crystalreportviewers13

在您的web.config文件中,在根元素之后添加以下内容:

In your web.config file add the following after the root element:

<configSections>
  <sectionGroup name="businessObjects">
    <sectionGroup name="crystalReports">
      <section name="rptBuildProvider" type="CrystalDecisions.Shared.RptBuildProviderHandler, CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, Custom=null" />
      <section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler" />
    </sectionGroup>
  </sectionGroup>
</configSections>

  • 然后稍后在您的web.config文件中添加:

  • Then later on in your web.config file, add:

    <businessObjects>
      <crystalReports>
        <rptBuildProvider>
          <add embedRptInResource="true" />
        </rptBuildProvider>
        <crystalReportViewer>
          <add key="ResourceUri" value="~/crystalreportviewers13" />
        </crystalReportViewer>
      </crystalReports>
    </businessObjects>
    

  • 这篇关于使用Visual Studio 2013的Crystal报表aspnet_client/system_web/4_6_81的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆