在IIS 7.0上移动应用程序后,Excel导出不起作用 [英] Excel export not working after moving the application on IIS 7.0

查看:184
本文介绍了在IIS 7.0上移动应用程序后,Excel导出不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们已将应用程序从IIS 6.0迁移到新服务器上的IIS 7.0.在IIS 6.0机器上,向excel的导出工作正常.但是由于将我们的应用程序移至新服务器(IIS 7.0),所以excel导出无法正常工作.它给出了以下错误:

We have moved our application from IIS 6.0 to IIS 7.0 on new servers. On IIS 6.0 machine the export to excel was working fine. But since moving our application to new server(IIS 7.0) the excel export is not working fine. It gives the following error:

无法设置PageSetup类的Orientation属性"

我们已验证计算机上已安装Microsoft XPS doucment writer,并且它也被设置为默认打印机.

We have verified that Microsoft XPS doucment writer is installed on the machine and it is set as default printer as well.

我们还验证了运行应用程序的帐户必须具有Microsoft Excel应用程序的权限.

We have also verified that the account with which application is running has required permissions on the Microsoft Excel Application.

 

 

 

推荐答案

 

 谢谢您的发帖!我建议您将您的问题发布到论坛上

 Thank you for your post!  I would suggest please post your question in the forum

  Microsoft Office > Microsoft Office论坛 > Microsoft Office Excel论坛

 Microsoft Office > Microsoft Office Forums > Microsoft Office Excel Forums

位于此处: http://social.answers.microsoft.com/Forums/zh-CN/category/officeexcel

 located here: http://social.answers.microsoft.com/Forums/en-US/category/officeexcel

 祝你有美好的一天!!!!!

 Have a great day!!!!!


这篇关于在IIS 7.0上移动应用程序后,Excel导出不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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