Windows 2003 Server Asp.Net应用程序的Excel报告无法正常工作 [英] Windows 2003 Server Asp.Net application for excel report is not working

查看:63
本文介绍了Windows 2003 Server Asp.Net应用程序的Excel报告无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
我已经开发了用于房间预订的c#Asp.Net应用程序,该应用程序以Excel格式提供输出报告,在我们开发此应用程序的xp机器中,它也可以正常工作.但是一旦我们托管在服务器中,除excel报告外,所有页面数据收集等都可以正常工作.

我收到错误消息:Microsoft Office Excel无法打开或保存更多文档,因为没有足够的可用内存或磁盘空间.

•要使更多的内存可用,请关闭不再需要的工作簿或程序.

•要释放磁盘空间,请从要保存到的磁盘中删除不再需要的文件.

说明:执行当前Web请求期间发生未处理的异常.请查看堆栈跟踪,以获取有关错误及其在代码中起源的详细信息.

异常详细信息:System.Runtime.InteropServices.COM异常:Microsoft Office Excel无法打开或保存更多文档,因为没有足够的可用内存或磁盘空间.
[COMException(0x800a03ec):Microsoft Office Excel无法打开或保存更多文档,因为没有足够的可用内存或磁盘空间.

放置此错误提示时,我尝试了很多在Google中存在的内容.但没有运气,请您提供任何解决方案.

hi all
i have developed c# Asp.Net application for Room Booking, which gives output report in Excel format, same is working fine in xp machine where we have developed this application. But once we have hosted in server remaining all pages data gathering etc are working perfectly except excel report.

I am getting error stating that: Microsoft Office Excel cannot open or save any more documents because there is not enough available memory or disk space.

• To make more memory available, close workbooks or programs you no longer need.

• To free disk space, delete files you no longer need from the disk you are saving to.

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.Runtime.InteropServices.COMException: Microsoft Office Excel cannot open or save any more documents because there is not enough available memory or disk space.

[COMException (0x800a03ec): Microsoft Office Excel cannot open or save any more documents because there is not enough available memory or disk space.

I have tried many thing which was there in google when putting this error seach. but there is no luck, Request you to provide any solution if you know.

推荐答案

是的,这是权限问题,请参见此

Microsoft.Office.Interop.Excel中的问题 [链接1 [链接2 [
Yes, it''s the permission issue, see this

Problem in Microsoft.Office.Interop.Excel[^]

EDIT
--------------------------------------
Link 1[^] & Link 2[^]


这篇关于Windows 2003 Server Asp.Net应用程序的Excel报告无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆