Exécutez Visual Studio 2013 solution avec Crystal Reports

J'ai une application MVC développé à l'origine dans VS2010. Nous avons Crystal Reports (CR) intégrer et tout fonctionne bien.

Maintenant, j'ai besoin de mettre en place un nouveau poste de travail qui n'ont que la VS2013. Je peux faire tourner le site en VS2013, mais seulement parce que j'ai VS2010 et déjà installé le CR fichiers d'exécution. Les nouvelles stations de ne pas avoir de VS2010 installé et que le programme d'installation de SAP ne fonctionnera pas si l'VS2010 est sur la machine. SAP ne sera pas fournir un correctif jusqu'au début de 2014 au plus tôt.

Les nouveaux postes de travail n'ont pas besoin d'être en mesure de modifier les rapports, donc je ne m'inquiète pas si le plein CR application est installée, j'ai juste besoin d'être en mesure de référencer les fichiers d'exécution afin de pouvoir déboguer les autres parties de l'application.

Je ne peut pas supprimer les CR de l'application à ce moment, et ne peut pas installer VS2010 sur tous les nouveaux postes de travail en premier.

J'ai essayé de mettre les dll dans le dossier bin du site. J'ai essayé de les mettre dans C:/Windows/Microsoft.NET/
Framework/v4.0.30319/Temporary ASP.NET Files/root/dec0de27/fa4bed84/
Rien ne semble fonctionner.

Où dois-je placer les dll afin de VS2013 pouvez les utiliser? Je sais qu'il doit y avoir un moyen de faire cela parce que mon poste de travail peut exécuter le site de VS2013 bien que SAP n'a pas publié une version 2013.

Voici l'erreur lorsqu'ils tentent d'exécuter l'application:

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. 
ExceptionDetails: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.
SourceError: 
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.
AssemblyLoadTrace: 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.

C'est la SÈVE de discussion http://scn.sap.com/message/14614675#14614675

OriginalL'auteur davids | 2013-12-16