无法加载文件或程序CrystalDecisions.ReportAppServer.ClientDoc [英] Could not load file or assembly CrystalDecisions.ReportAppServer.ClientDoc

查看:5082
本文介绍了无法加载文件或程序CrystalDecisions.ReportAppServer.ClientDoc的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看了看SO类似的问题,但没有相当了我的问题,据我可以告诉匹配。

I've looked at similar questions on SO, but nothing quite matches my issue as far as I can tell.

异常消息:

无法加载文件或程序集CrystalDecisions.ReportAppServer.ClientDoc,版本= 13.0.2000.0,文化=中性公钥= 692fbea5521e1304'或它的一个依赖。该系统找不到指定的文件。

Could not load file or assembly 'CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

该文件是在我的GAC。我开发在32位机(Windows 7)中运行VS2010,一切都是.NET4。目标主机的机器是64位赢得2008 R2。我的本地机器有CR安装了VS2010;托管机器都有VS2010 64位运行时。我编译所有我的code在此Web应用程序任何CPU模式。

The file is in my GAC. I am developing on a 32 bit machine (Windows 7) running VS2010, everything is .NET4. The target hosting machine is 64-bit Win 2008 R2. My local machine has the CR installation for VS2010; the hosting machine has the 64-bit runtimes for VS2010. I am compiling all my code in "Any CPU" mode for this web application.

这是吹我的脑海里,它无法找到在GAC文件。这是一个IIS应用程序;是否有某种权限问题的?我想IIS将有机会获得GAC中。

It is blowing my mind that it cannot find the file in the GAC. This is an IIS application; is there some sort of permissions issue? I would think IIS would have access to the GAC.

做什么是AP preciated一些建议。

Some suggestions of what to do would be appreciated.

推荐答案

原来答案是可笑的简单,但神秘的,为什么它是必要的。

It turns out the answer was ridiculously simple, but mystifying as to why it was necessary.

在服务器上的IIS管理器,我设置的应用程序池为我的web应用程序不允许32位的组件。

In the IIS Manager on the server, I set the application pool for my web application to not allow 32-bit assemblies.

看来它假定,在64位系统上,那你必须要32位汇编​​。离奇。

It seems it assumes, on a 64-bit system, that you must want the 32 bit assembly. Bizarre.

这篇关于无法加载文件或程序CrystalDecisions.ReportAppServer.ClientDoc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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