找回密码
 立即注册

QQ登录

只需一步,快速开始

大蚂蚁

新手上路

2

主题

2

帖子

32

积分

新手上路

积分
32
  • 30

    金币

  • 主题

  • 帖子

最新发帖
大蚂蚁
新手上路   /  发表于:2015-1-30 10:45  /   查看:5585  /  回复:1
我在wijmo官网下载的free trial的spread js ,压缩包中有个SpreadJS ExcelIO.msi,安装后,在iis中有了一个excelio的虚拟目录,但是用samples中的ExcelLikeSample中的import和export功能导入导出excel,server url填写的是http://localhost/ExcelIO,始终始终没有成功,import的时候弹出了一个提示框,但里面什么内容都没有,export干脆什么都不提示,把server url换成官网的excelio的地址是可以。本地安装excelio server还需要什么配置,我机器的.netframework 4.0也安装了。查看网页源文件,在提交请求的时候import报 XMLHttpRequest cannot load http://localhost/ExcelIO/xsapi/import/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. The response had HTTP status code 404.
export的时候报:POST http://localhost/ExcelIO/xsapi/export/ 404 (Not Found)
不知道什么原因,请帮忙解决一下。

1 个回复

倒序浏览
Alice
社区贡献组   /  发表于:2015-1-30 15:26:00
沙发
回复 1楼大蚂蚁的帖子

有关使用ExcelIO,可以参考官方文档:
http://helpcentral.componentone. ... l#excelservice.html

配置要求请参考这段话:The Excel Import and Export service requires IIS 7.0 or higher with ASP.NET. ASP.NET 4.0 is required with Microsoft Windows 7 and ASP.NET 4.5 is required with Microsoft Windows 8. The 4.0 .NET framework is also required.

另外不同操作系统安装ExcelIO有区别。
请点击评分,对我的服务做出评价!  5分为非常满意!

葡萄城控件服务团队

官方网站: http://www.gcpowertools.com.cn
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部