在经典 asp 中使用 excel ODBC 驱动程序时出错
当我尝试加载 Excel 文档作为网页的数据源时,出现此错误 出了
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Excel Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0xd5c Thread 0x7e4 DBC 0x19acf74 Excel'.
什么问题?
I am getting this error when I try to load an excel document as a datasource for my webpage
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Excel Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0xd5c Thread 0x7e4 DBC 0x19acf74 Excel'.
What is going wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我同意 Pbearne 的观点;该消息的文本看起来与驱动程序的某些内部方面有关,而不是问题的“真正”原因。
I agree with Pbearne; the text of the message looks related to some internal aspect of the driver rather than the "real" reason for the problem.
第一步在 MapPath 中使用正斜杠,即 /Resources/uploads/filername.XLS
然后验证路径是否正确。
尝试以下命令查看它是否指向正确的文件:
As a first step use forward slashes in MapPath i.e. /Resources/uploads/filername.XLS
Then verify path is correct.
Try the following to see if it points to the right file:
问题很可能是Excel文件的路径错误消息是红色鲱鱼它与注册表无关
您将有一些类似这样的检查生成的路径是否正确
The Problem is most likly that the path the excel file is wrong the message is a red herning its nothing to do with the registry
You will have some a bit like this check the generated path is correct