水晶报表编译报错"未能加载文件或程序集“file:///C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framewor "
2012-12-25 18:10
585 查看
最近学习水晶报表,发现编译后报如下错误:
上网百度了一下,发现很多遇到此问题的,解决办法是在app.config文件中添加如下代码:
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
我也不是很明白是怎么回事,但是问题确实解决了,暂时记下来.
参考:http://nanshanrenzhe-126-com.iteye.com/blog/1441762
http://stackoverflow.com/questions/7619745/very-odd-situation-with-crystalreport-and-or-visual-studio-2010-i-dont-know-may
未能加载文件或程序集“file:///C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll”或它的某一个依赖项。系统找不到指定的文件。
上网百度了一下,发现很多遇到此问题的,解决办法是在app.config文件中添加如下代码:
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
我也不是很明白是怎么回事,但是问题确实解决了,暂时记下来.
参考:http://nanshanrenzhe-126-com.iteye.com/blog/1441762
http://stackoverflow.com/questions/7619745/very-odd-situation-with-crystalreport-and-or-visual-studio-2010-i-dont-know-may
相关文章推荐
- vs2010水晶报表问题"未能加载文件或程序集“file:///C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common.."
- vs2010水晶报表问题"未能加载文件或程序集“file:///C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framew
- vs2010水晶报表问题"未能加载文件或程序集“file:///C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framew
- 未能加载文件或程序集“file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0
- 未能加载文件或程序集“file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0
- 文件系统未能加载文件或程序集“file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0
- 未能加载文件或程序集“file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.
- 未能加载文件或程序集“file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0
- 未能加载文件或程序集“file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0
- 未能加载文件或程序集“file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports fo
- FileLoadException: 未能加载文件或程序集"aliyun-net-sdk-cf, Version=1.0.0.0,
- 未能加载文件或程序集''file:///D:/Program Files (x86)/ArcGIS/DeveloperKit10.0/DotNet/ESRI.ArcGIS.ADF.Local.dll'' 或它的某一个依赖项。试图加载格式不正确的程序。
- System.IO.FileNotFoundException: 未能加载文件或程序集“CrystalDecisions.Windows.Forms, Version=10.2.3600.0, Culture=neutral, PublicKeyToken
- 【.Net】安装新版本CrystalReports 老程序出现未能加载文件或程序集“CrystalDecisions.CrystalReports.Engine, Version=10.5.37
- 服务 在初始化安装时发生异常:System.IO.FileNotFoundException: "file:///D:\testService"未能加载文件或程序集。系统找不到指定文件。
- 未能加载文件或程序集“CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0,
- Crystal Reports .NET Error - "Access to report file denied. Another program may be using it."
- IIS报错:未能加载文件或程序集"file:///c:/windows/temp/iuwelzdf.dll"或它的一个依赖项。系统找不到指定的文件
- 未能加载文件或程序集“CrystalDecisions.CrystalReports.Engine……或它的某一个依赖项
- 未能加载文件或程序集“CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0