【发布时间】:2009-07-02 05:50:13
【问题描述】:
我们正在使用 Ruby on Rails 代码从 Excel 工作表中导入数据,我们使用警报询问我们是否上传数据并附加到现有数据(MySQL 数据库)并将其显示在 Flex 3 中设计的网格中,或用新数据替换旧数据。但是我们收到了这个错误:
Error in Importing excel files Open
OLE error code:800A03EC in Microsoft Office Excel
Unable to get the Open property of the Workbooks class
HRESULT error code:0x80020009
【问题讨论】:
-
产生这个错误的代码是什么?
-
似乎 excel activexobject 从服务运行时有一些限制,当我尝试在我的 apache Web 服务器上运行从 php 启动的 groovy 脚本时,我遇到了同样的问题。当我启动脚本时从命令行它工作正常。
标签: ruby-on-rails ruby excel import ole