Error:
- 部署报表时提示下列错误
未能加载文件或程序集“Microsoft.Dynamics.DataContainer, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”或它的某一个依赖项。系统找不到指定的文件。 在 System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
在 System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
…
无法加载一个或多个请求的类型。有关更多信息,请检索 LoaderExceptions 属性。 在 System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark)
在 System.Reflection.Assembly.GetTypes()
在 ClrBridgeImpl.GetTypes(ClrBridgeImpl* , Char* assemblyName, Boolean* isException)
Warning: 生成了一个或多个库,但具有警告。请参阅位于
…
Solution:
- 将C:\Program Files\Microsoft Dynamics AX\50\Client\Bin 中的程序集安装到GAC文件夹
- 注意:只安装程序集,不过反正其它文件想安装也安装不进去,会提示错误。