admin 管理员组文章数量: 1086019
We want to download a PDF file using RDLC Report Designer and use expressions in the footer section to use the Page Number options, but while running the file, the below error is coming, and when we try to find the v8.0.14 folder in the above directory, there is nothing about it. Old Suggestion said that "just copied vbc.exe from 4.0 to 8.0.0" but there is no 8.0.0 (dotnet) folder in the directory.
An unhandled exception occurred while processing the request.
InvalidOperationException: Compiler executable file C:\WINDOWS\Microsoft.NET\Framework64\v8.0.14\vbc.exe cannot be found.
AspNetCore.ReportingServices.ReportPublishing.ReportPublishing.InternalCreateIntermediateFormat(Stream definitionStream, out string description, out string language, out ParameterInfoCollection parameters, out DataSourceInfoCollection dataSources, out DataSetInfoCollection sharedDataSetReferences, out UserLocationFlags userReferenceLocation, out ArrayList dataSetsName, out bool hasExternalImages, out bool hasHyperlinks, out byte[] dataSetsHash)
ReportProcessingException: An unexpected error occurred in Report Processing. Compiler executable file C:\WINDOWS\Microsoft.NET\Framework64\v8.0.14\vbc.exe cannot be found.
Even ChatGPT is not answering properly, stuck in a loop!
We want to download a PDF file using RDLC Report Designer and use expressions in the footer section to use the Page Number options, but while running the file, the below error is coming, and when we try to find the v8.0.14 folder in the above directory, there is nothing about it. Old Suggestion said that "just copied vbc.exe from 4.0 to 8.0.0" but there is no 8.0.0 (dotnet) folder in the directory.
An unhandled exception occurred while processing the request.
InvalidOperationException: Compiler executable file C:\WINDOWS\Microsoft.NET\Framework64\v8.0.14\vbc.exe cannot be found.
AspNetCore.ReportingServices.ReportPublishing.ReportPublishing.InternalCreateIntermediateFormat(Stream definitionStream, out string description, out string language, out ParameterInfoCollection parameters, out DataSourceInfoCollection dataSources, out DataSetInfoCollection sharedDataSetReferences, out UserLocationFlags userReferenceLocation, out ArrayList dataSetsName, out bool hasExternalImages, out bool hasHyperlinks, out byte[] dataSetsHash)
ReportProcessingException: An unexpected error occurred in Report Processing. Compiler executable file C:\WINDOWS\Microsoft.NET\Framework64\v8.0.14\vbc.exe cannot be found.
Even ChatGPT is not answering properly, stuck in a loop!
Share Improve this question edited Mar 28 at 9:30 Jason Pan 22.4k2 gold badges22 silver badges45 bronze badges asked Mar 28 at 9:00 Parth SharmaParth Sharma 73 bronze badges1 Answer
Reset to default 0Please copy v4.0.30319
and paste here, then rename it v8.0.x
, for me, the error message is 8.0.0
, you can check it like below.
Why we facing this issue, because it's asp core application, and it try to find the vbc.exe inside the v8.0.0.
As far as I know, the above workaround is the best answer so far.
Why we face this issue?
Because you are using RDLC report in asp core application. As we know, RDLC us used for .NET Framework, not .NET Core. And from the error message, we found vbc.exe
is needed.
And we also use No Managed Code
for asp core web application.
Tip
If your project is only
deployed in Windows IIS
, you can use the above workaround. If you plan to migrate to the Linux platform
, it is recommended to use other reports libraries(RDLC IS NOT RECOMMENDED).
本文标签: vbcexe Missing While Using RDLC in ASPNET Core MVC 80Stack Overflow
版权声明:本文标题:vbc.exe Missing While Using RDLC in ASP.NET Core MVC 8.0 - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://roclinux.cn/p/1744046980a2524303.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论