栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > .Net

The type initializer for ‘FastReport.Report‘ threw an exception

.Net 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

The type initializer for ‘FastReport.Report‘ threw an exception

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

Stack Trace:
 

[ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.]
   System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark) +0
   System.Reflection.Assembly.GetTypes() +205
   FastReport.Utils.Config.ProcessAssembly(Assembly a) +19
   FastReport.Utils.Config.LoadPlugins() +51
   FastReport.Utils.Config.Init() +215

[TypeInitializationException: The type initializer for 'FastReport.Report' threw an exception.]
   FastReport.Report..ctor() +0
   FastReport.Web.ReportTab..ctor() +35
   FastReport.Web.WebReport.InitTabs() +113
   FastReport.Web.WebReport.get_Prop() +16
   FastReport.Web.WebReport.WebReportInit(Boolean inlineRegistration, Boolean stretched) +341
   ASP.printcontractpreview_test_three_aspx.__BuildControlWebReport1() in D:inetpubwwwrootLSWFSVCPrintContractPreview_test_three.aspx:18
   ASP.printcontractpreview_test_three_aspx.__BuildControlPanel1() in D:inetpubwwwrootLSWFSVCPrintContractPreview_test_three.aspx:17
   ASP.printcontractpreview_test_three_aspx.__BuildControlform1() in D:inetpubwwwrootLSWFSVCPrintContractPreview_test_three.aspx:11
   ASP.printcontractpreview_test_three_aspx.__BuildControlTree(printcontractpreview_test_three_aspx __ctrl) in D:inetpubwwwrootLSWFSVCPrintContractPreview_test_three.aspx:1
   ASP.printcontractpreview_test_three_aspx.FrameworkInitialize() +126
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +55
   System.Web.UI.Page.ProcessRequest() +91
   System.Web.UI.Page.ProcessRequest(HttpContext context) +240
   ASP.printcontractpreview_test_three_aspx.ProcessRequest(HttpContext context) +52
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +599
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171

参考:https://social.msdn.microsoft.com/Forums/windowshardware/en-US/5e6ed4b0-52f6-43bd-9d65-c8e89959ca54/the-type-initializer-for-crystaldecisionscrystalreportsenginereportdocument-threw-an-exception?forum=vscrystalreports

IIS -->select Application Pools -> Advanced Settings -> Enable 32-Bit Application = True.

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/910882.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号