【发布时间】:2010-08-17 23:47:50
【问题描述】:
我正在尝试对 SBS 2008 服务器上的 Outlook Web Access 的 .NET 2.0 错误进行故障排除。
我得到的错误是:
Exception information:
Exception type: HttpException
Exception message: Could not load file or assembly 'Microsoft.Exchange.Data,
Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its
dependencies. The system cannot find the file specified.
(C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\web.config line 51)
在 web.config 的第 51 行,我有:
this is line 51 ---><add assembly="Microsoft.Exchange.Data,
Version=8.0.0.0,
Culture=neutral,
publicKeyToken=31bf3856ad364e35"/>
<add assembly="Microsoft.Exchange.Data.Storage,
Version=8.0.0.0,
Culture=neutral,
publicKeyToken=31bf3856ad364e35"/>
</assemblies>
所以在“web.config-ese”中,它如何“知道”Microsoft.Exchange.Data 程序集 .DLL 在哪里,我如何确定这一点以验证文件是否存在?
【问题讨论】:
-
另外,检查您使用的 Exchange 版本。根据 Web.config 中的参考,它看起来需要程序集的“版本 8.0.0.0”,这听起来像 Exchange 2007。如果您安装的不是 Exchange 2007,它可能无法正常工作。
标签: .net asp.net assembly-resolution