首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 企业软件 > 行业软件 >

急sharepoint读取excel有关问题

2012-04-24 
急...sharepoint读取excel问题大家好:我想用ExcelService类读取excel文件代码如下string excPath @http

急...sharepoint读取excel问题
大家好:

我想用ExcelService类读取excel文件代码如下

string excPath = @"http://xx.../xx.xls";
ExcService.ExcelService excel = new ExcService.ExcelService();
ExcService.Status[] status;
excel.Credentials = System.Net.CredentialCache.DefaultCredentials; 
string sessionID = excel.OpenWorkbook(excPath, "en-US", "en-US", out status);
在OpenWorkbook的时候出现异常"请求因 HTTP 状态 503 失败: Service Unavailable"

请教一下这是什么情况,应该怎样解决,谢谢

[解决办法]
这个和SharePoint没什么关系,就是C#语法的问题,找一个读Excel的方法就行

[解决办法]
ExcelService服务不可用
你配置了吗?
[解决办法]
一般是配置问题。可以先用excelservice webpart测试一下。
[解决办法]
07 or 10
http://www.cnblogs.com/ruijian/archive/2011/12/20/2295239.html

热点排行