[英]RDLC report in Visual Studio 2017 does not run on hosting with .NET Framework 3.5, why?
We have rented a hosting that offers me to work with ASP.NET and .NET Framework 3.5;我们租了一个主机,让我可以使用 ASP.NET 和 .NET Framework 3.5; everything worked fine, until we got to the reporting part;
一切正常,直到我们进入报告部分; where I had to created a dataset and a RDLC report.
我必须在其中创建数据集和 RDLC 报告。 When I update my site, it doesn't start anymore because it does not recognize the report libraries.
当我更新我的网站时,它不再启动,因为它无法识别报告库。
How could I solve it please?请问我该如何解决?
These entries were added to the web.config
;这些条目已添加到
web.config
; without it, even my database-bound dataview worked fine:没有它,即使我的数据库绑定数据视图也能正常工作:
I have a hard time reading the image;我很难阅读图像; better post the config as code.
最好将配置发布为代码。
It looks like you are using traditional ASP.NET.看起来您使用的是传统的 ASP.NET。 I had used the following config in an previous project:
我在之前的项目中使用了以下配置:
<compilation debug="false" targetFramework="4.5">
<assemblies>
<add assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91" />
<add assembly="Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91" />
<add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> </assemblies>
<buildProviders>
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" /> </buildProviders>
</compilation>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.