运行使用Crystal Reports的Visual Studio 2013的解决方案 [英] Run Visual Studio 2013 solution with Crystal Reports

查看:275
本文介绍了运行使用Crystal Reports的Visual Studio 2013的解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最初在VS2010开发的MVC应用程序。我们拥有的Crystal Reports(CR)集成到它和所有工程进展顺利。

I have an MVC application originally developed in VS2010. We have Crystal Reports (CR) integrated into it and all works smoothly.

现在,我需要设置其中一些将只有VS2013新工作站。我可以运行在VS2013的网站,但仅仅是因为我有VS2010和previously安装了CR运行时文件。新站将没有安装VS2010和SAP安装程序将无法运行,除非是VS2010在机器上。 SAP将不会在最早提供修复,直到2014年初。

Now, I need to setup some new workstations which will have only VS2013. I can run the site in VS2013, but only because I have VS2010 and previously installed the CR runtime files. The new stations won't have VS2010 installed and the SAP installer will not run unless VS2010 is on the machine. SAP will not provide a fix until early 2014 at the earliest.

新的工作站不需要能够修改的报告,所以我不在乎,如果安装了完整的CR应用程序为,我只需要它能够引用运行时文件,使他们可以调试等领域应用。

The new workstations don't need to be able to modify the reports, so I don't care if the full CR application is installed, I just need it to be able to reference the runtime files so they can debug other areas of the application.

我不能从此时的应用程序中删除的CR,并且不能先在所有新的工作站上安装VS2010

I cannot remove CR from the application at this time, and cannot install VS2010 on all the new workstations first.

我试图把DLL文件在网站的bin文件夹。我试图把它们放在 C:/Windows/Microsoft.NET/
    框架/ v4.0.30319 / ASP.NET临时文件/根/ dec0de27 / fa4bed84 /
似乎没有任何工作。

I have tried putting the dlls in the bin folder of the site. I have tried putting them in C:/Windows/Microsoft.NET/ Framework/v4.0.30319/Temporary ASP.NET Files/root/dec0de27/fa4bed84/ Nothing seems to work.

在哪里放置的dll这样VS2013可以使用它们?我知道必须有某种方式来做到这一点,因为我的工作站可以运行在VS2013网站eventhough SAP没有公布2013年的版本。

Where do I place the dlls so VS2013 can use them? I know there has to be some way to do this because my workstation can run the site in VS2013 eventhough SAP hasn't released a 2013 version.

以下是错误当他们尝试运行应用程序了:

Here is the error when they try to run the applicaiton:

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.

这是SAP讨论 http://scn.sap.com/message/14614675#14614675

推荐答案

水晶报表更新的支持
版本更新文件

这篇关于运行使用Crystal Reports的Visual Studio 2013的解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆