dav*_*ids 5 crystal-reports visual-studio asp.net-mvc-3
我有一个最初在VS2010中开发的MVC应用程序.我们将Crystal Reports(CR)集成到其中,并且一切顺利.
现在,我需要设置一些只有VS2013的新工作站.我可以在VS2013中运行该站点,但仅仅因为我有VS2010并且以前安装了CR运行时文件.新站将不安装VS2010,除非VS2010在机器上,否则SAP安装程序将无法运行.SAP最早要到2014年初才能提供解决方案.
新工作站不需要能够修改报告,因此我不关心是否安装了完整的CR应用程序,我只需要它能够引用运行时文件以便它们可以调试应用程序的其他区域.
我此时无法从应用程序中删除CR,并且无法首先在所有新工作站上安装VS2010.
我已经尝试将dll放在网站的bin文件夹中.我试过把它们C:/Windows/Microsoft.NET/
Framework/v4.0.30319/Temporary ASP.NET Files/root/dec0de27/fa4bed84/放进去似乎没什么用.
我在哪里放置dll以便VS2013可以使用它们?我知道必须有一些方法可以做到这一点,因为我的工作站可以在VS2013中运行该站点,尽管SAP尚未发布2013版本.
这是他们尝试运行应用程序时的错误:
Server Error in '/' Application.
Could not load file or assembly 'CrystalDecisions.ReportAppServer.ClientDoc'
or one of its dependencies. An attempt was made to load a program with an
incorrect format.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.BadImageFormatException: Could not load file or
assembly 'CrystalDecisions.ReportAppServer.ClientDoc' or one of its
dependencies. An attempt was made to load a program with an incorrect format.
Source Error:
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to determine why
the assembly 'CrystalDecisions.ReportAppServer.ClientDoc' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = CrystalDecisions.ReportAppServer.ClientDoc
(Partial)
WRN: Partial binding information was supplied for an assembly:
WRN: Assembly Name: CrystalDecisions.ReportAppServer.ClientDoc | Domain ID: 2
WRN: A partial bind occurs when only part of the assembly display name is
provided.
WRN: This might result in the binder loading an incorrect assembly.
WRN: It is recommended to provide a fully specified textual identity for the
assembly,
WRN: that consists of the simple name, version, culture, and public key
token.
WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more
information and common solutions to this issue.
LOG: Appbase = file:///C:/Users/Office/Documents/GIT/Site/site/
LOG: Initial PrivatePath = C:\Users\Office\Documents\GIT\Site\site\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file:
C:\Users\Office\Documents\GIT\Site\site\web.config
LOG: Using host configuration file:
C:\Users\Office\Documents\IISExpress\config\aspnet.config
LOG: Using machine configuration file from
C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/
Framework/v4.0.30319/Temporary ASP.NET Files/root/dec0de27/fa4bed84/
CrystalDecisions.ReportAppServer.ClientDoc.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/
Framework/v4.0.30319/Temporary ASP.NET Files/root/dec0de27/fa4bed84/
CrystalDecisions.ReportAppServer.ClientDoc/
CrystalDecisions.ReportAppServer.ClientDoc.DLL.
LOG: Attempting download of new URL file:///C:/Users/Office/Documents/GIT/
Site/site/bin/CrystalDecisions.ReportAppServer.ClientDoc.DLL.
ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing
terminated.
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
41326 次 |
| 最近记录: |