出现'Post'方法不能应用于对象'IOWSPostData'
来源:互联网 发布:图像识别传感器 淘宝 编辑:程序博客网 时间:2024/06/04 18:11
Importing lists from Excell 2007 returns a Method 'Post' of object 'IOWSPostData' failed dialog. Again, not really a problem with WSS 3.0 but rather the result of a failed Application.SharePointVersion() call in the Excel Add-In which results in Excel attempting to use the IOWSPostData.Post() method to publish the Excel range which is used with SharePoint Team Services 1.0. By forcing the version lookup result variable to 2 or greater, Excel will use SOAP to communicate with WSS 3.0 and the publish request will be successful. To make this change, open the Excel Add-In EXPTOOWS.XLA locate in C:/Program Files/Microsoft Office/Office12/1033 by default. Press Alt+F11 to display the Visual Basic code editor and search (Ctrl+F) for the line lVer = Application.SharePointVersion(URL). Comment out that line with a single quote and add the line lVer=2 so your Intialize() method should now look like this:
Sub Initialize(List, Title, URL, QuickLaunch)
strQuickLaunch = QuickLaunch
aTarget(iPublishURL) = URL
aTarget(iPublishListName) = List
aTarget(iPublishListDesc) = Title
lVer = Application.SharePointVersion(URL)
lVer = 2
End Sub
- 出现'Post'方法不能应用于对象'IOWSPostData'
- synchronized 应用于静态方法
- 出现automation 服务器不能创建对象
- VS2010出现“automation服务器不能创建对象“
- 实例方法不能脱离对象引用
- 为什么对象不能调用Object的方法?
- javascript创建xmlHttp对象应用于ajax
- ashx jQuery $.post()方法中文不会出现乱码
- 关于 使用post 方法出现headers already sent问题
- SSM 控制器POST方法接参数出现乱码
- VB连接数据库时出现“ActiveX部件不能创建对象”
- 前台JS脚本出现“Automation服务器不能创建对象“错
- 出现”429:activex部件不能创建对象“解决办法
- 当您调用的 RDA 对象的拉方法时出现错误消息:"重复的值不能插入唯一索引。[表名 = __sysRDASubscriptions,约束名 = c_LocalTableName]"
- 应用于webservice的List转xml方法
- Oracle经常出现失效对象处理方法
- jsonp不能post!
- Newtonsoft.Json把post的json转成对象(匿名方法)
- 业界领导者 专访暴雪总裁
- Quidway s3026操作指南
- 搜索引擎发展历史
- XDoclet起步学习_1
- C#-接口
- 出现'Post'方法不能应用于对象'IOWSPostData'
- 新软件宣言
- System Repair Engineer (SREng) 2.5.16.900 版本
- C#中调用Windows API的要点
- 位运算应用2
- C#中对注册表的操作
- ASP.NET下利用HttpModule实现简体中文向繁体中文的自动转换
- c#中结构与类的区别
- VS .NET 2005中水晶报表的使用 http://www.tianyablog.com/blogger/post_show.asp?BlogID=116800&PostID=9731765