服务器端使用openxml出错,系统找不到指定的文件
Server Error in '/' Application.
--------------------------------------------------------------------------------
Could not load file or assembly 'DocumentFormat.OpenXml, Version=2.0.5022.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. 系统找不到指定的文件。
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.IO.FileNotFoundException: Could not load file or assembly 'DocumentFormat.OpenXml, Version=2.0.5022.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. 系统找不到指定的文件。
Source Error:
Assembly Load Trace: The following information can be helpful to determine why the assembly 'DocumentFormat.OpenXml, Version=2.0.5022.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.
怎么解决啊?
我在自己的电脑上测试没有问题啊。
[解决办法]
http://www.microsoft.com/en-us/download/details.aspx?id=5124
下载安装openxml