配置错误ASP.net + Crystal报告? [英] Configuration Error ASP.net + Crystal Report ?

查看:136
本文介绍了配置错误ASP.net + Crystal报告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是初学者.

我的项目的Asp.net + Crystal Report

当我在服务器上运行Crystal Report网页时.我发现...

 配置错误

说明:在处理服务于此请求所需的配置文件期间发生错误.请在下面的中查看具体的错误详细信息,并适当地修改您的配置文件.

解析器错误消息:无法在应用程序级别以下定义元素'buildProviders'.



 源错误:
第20行:<   buildProviders  > 
第21行:<  添加   扩展  ="    类型  ="  CrystalDecisions.Web.Compilation.RptBuildProvider,CrystalDecisions.Web,版本= 13.0.2000.0,Culture = neutral,PublicKeyToken = 692fbea5521e1304" > 
第22行:<  /buildProviders  >  





在服务器上,我为.NET Framework 4(32位)安装了 SAP Crystal Reports运行时引擎

我该如何解决这个问题? :confused:

解决方案

看看这些线程:
类似的讨论已解决 [类似的讨论2 [类似的讨论3 [ ^ ]-按照它, buildProviders节点只能在位于Web应用程序根目录的web.config中定义,而不能在下面的任何子目录中定义.


<谢谢你. ^ 0 ^"

我忘记了将文件夹转换为应用程序.


I''m beginner programmer.

My project''s Asp.net + Crystal Report

When I run crystal report webpage on server. I found that ...

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: The element 'buildProviders' cannot be defined below the application level.



Source Error :
Line 20:       <buildProviders>
Line 21:         <add extension=".rpt" type="CrystalDecisions.Web.Compilation.RptBuildProvider, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
Line 22:       </buildProviders>





on server, I installed SAP Crystal Reports runtime engine for .NET Framework 4 (32-bit)

How do i solve this problem? :confused:

解决方案

Have a look at these threads:
Similar discussion resolved[^] - As per it, looks like you might have forgot to make the application folder an application in IIS.

Similar discussion 2[^]

Similar discussion 3[^] - As per it, the buildProviders node can only be defined in a web.config that is located at the root of the webapp, not in any subdirectories below.


thank for you ans. ^0^"

i forgot convert folder to application.


这篇关于配置错误ASP.net + Crystal报告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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