INTELLIGENT WORK FORUMS FOR COMPUTER PROFESSIONALS
Come Join Us!
- Talk With Other Members
- Be Notified Of Responses
To Your Posts
- Keyword Search
- Turn Off Ad Banners
- One-Click Access To Your
Favorite Forums
- Automated Signatures
On Your Posts
- Best Of All, It's Free!
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.
Partner With Us!
"Best Of Breed" Forums Add Stickiness To Your Site

(Download This Button Today!)
Member Feedback
"...Just to let you know...what a great site you have. I posted a pretty generic question yesterday and have had 8 responses already, anyway thanks again and keep up the good work..."
Geography
Where in the world do Tek-Tips members come from?
|
method 'post' of object 'IOWSPostData' failed
|
|
I am receiving this error when I attempt to import a spreadsheet into Sharepoint 2007. Please assist.
Thanks,
Andrew |
|
I found the answer. Here is a link: http://travislaird.com/blog/default.aspxI have copied the explanation here: Importing lists from Excel 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 |
|
Finally I managed to alter the XLA-fil. I work with Vista, WSS 3.0 and Office 2007, and I think all the security-stuff on Vista created access problems to the file. The file had to be copied to my Documents-folder, do the changes, and then copied back. Well anyway, it did not do the trick for me. The initial error message about 'Post' of object 'IOWSPostData' dissapeared, but a new one showed up: "Cannot connect to the server at this time. Your table cannot be published" Ever seen this one? I get this message when I push the “Import” button in Sharepoint. Any solutions anyone? ![[bigears] bigears](http://www.tipmaster.com/images/bigears.gif) Vista/Office 2007/WSS 3.0 HeidiSitara |
|
herrewa (TechnicalUser) |
13 Jun 07 9:54 |
I changed the code as follows and everything worked immediately for MS OSS 2007 and WSS 3.0 and MS Office 2007:
<before the change> lVer = Application.SharePointVersion(URL) <before the change>
<after the change> lVer = Application.SharePointVersion(URL) lVer = 3 <after the change>
Albert VH |
|
|
 |
|