.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Can I save documents to a website like from Office apps to SharePoint?

Posted By:      Posted Date: October 26, 2010    Points: 0   Category :.NET Framework

We're developing an Office add-in that will store documents in a database. What I'd like to be able to do is save the document to the server using a web-style address (e.g. http://documentsystem/NewDocument.docx), kind of like how it's done in SharePoint. The user does not need to enter the full address, it will be configured elsewhere, and the save process will be more or less automated.

When uploaded, I want to intercept the file, read the contents and store it in the database using some kind of custom handler. Is this possible? How would I go about doing this? Should I be using WebDAV? WCF services?


View Complete Post

More Related Resource Links

How to save Office 2007 documents to SharePoint 2010 sites

Is it possible to save Office Word/Excel/Powerpoint 2007 to SharePoint sites directly from Office Clients? Following website helps with saving a Office 2010 document to SharePoint 2010, but how to do it with Office 2007? http://office.microsoft.com/en-gb/word-help/save-a-document-to-sharepoint-from-office-2010-HA010380214.aspx  Kenny_I

Unable to save Office 2007 document to SharePoint My Site Personal Documents document library


...also when Office documents are saved to document library they open as Read-only and cannot be saved back to the same document library.

This only happens in my production SharePoint 2007 environment from client XP and IE7 machine.  It does not happen in developement environment (which mirrors production) from client XP/IE7 machines.

Save works fine to SharePoint document libraries from client Win 7 and IE8 machines in both production and development environments.

This only happens when attempting to save to a My Site Personal Documents document library.  Any other document library this behavior does not exist from XP or Win 7 machine.

What settings controls ones ability to save to a personal My site document library.  What setting could be different between prod and dev installations?  It only happens

Microsoft Office Excel cannot open or save any more documents because there is not enough available


hi all,

     i am new to asp.net programming i am trying to create an ms excel file with charts drawn in it,

i wrote the complete code for it but the it is saying

Microsoft Office Excel cannot open or save any more documents because there is not enough available memory or disk space. 

i have set the permissions to my complete disk space and all user accounts, and i tried with anti-virus disabling also it didnt work please try to help me out and my code is :

Imports System.Data.OleDb
Imports Microsoft.Office.Interop
Imports Microsoft.Office.Tools.Excel
Imports System

Office Services: Merging Word Documents on the Server Side with SharePoint 2010


Office 2010 and SharePoint 2010 include a new set of components called Application Services. These put a rich set of tools in a developer's bag for Office automation. We'll show you how to use Office OpenXML, Word Automation Services and SharePoint to build a simple application that merges separate status reports into a single document.

Manvir Singh, Ankush Bhatia

MSDN Magazine July 2010

Office Apps: Integrate VSTO with SharePoint Content Types


See how to build a document-level Visual Studio Tools for Office customization and integrate it with a content type in SharePoint.

Steve Fox

MSDN Magazine May 2008

Gathering MOSS: New Dev-Centric Features In Office SharePoint Server Keep Your Apps Rolling


Microsoft Office SharePoint Server (MOSS) 2007 provides great portal and search features and much more, and Ted Pattison puts them to good use here.

Ted Pattison

MSDN Magazine August 2006

Office 2010 will not open Office 2003 Documents on SharePoint

Going directly to a document in the document view and selecting any of them will present the Read Only/Edit prompt and when clicking Read Only Word or Excel 2010 depending on the document type will open to a blank page and just sit there. If you do a search and then click on the documents that are returned in the search results, it opens as expected.

Publishing SharePoint 2010 via TMG 2010 SP1, Cant save any documents.

Hi, I have setup the publishing of a SharePoint site through TMG and appeared to have no issues. I am able to check documents in and out that I have uploaded but cannot save any to document libraries. I cant edit any docs and write them back to the library. It comes up with "document not saved" or that the doc is "Locked for editing by someone else." I realise there are a lot of variables involved in the setup here and wish to be pointed in the right direction to finding a fix. I have turned on monitoring in TMG and every connection I make is allowed and appears to be fine. I have looked at logging on SharePoint but cannot find the right one to turn on? Any help would be much appreciated. Thanks, Mark 

SharePoint 2010 Office Web Apps "Word Web App cannot open this document for viewing because of an un

<label id="message" class="WACStandardDialogLabel">I have provisioned a SharePoint 2010 Server (RTM: 14.0.4762.1000)  with Office Web Apps.</label> <label class="WACStandardDialogLabel">It is a single server with a separate SQl 2008 Standard server.</label> <label class="WACStandardDialogLabel">I have seen that there were some issues in site that were configured with a port.  The Web Application I am having issues with is running on a port  and is extended on 443 as well.</label> <label class="WACStandardDialogLabel">I can view PPTX but Word docx files can't be viewed.  The word docx files howerver can be edited in the browser.</label> <label class="WACStandardDialogLabel">I get the following error when I try to view a word file in the browser:</label> <label class="WACStandardDialogLabel"></label> "Word Web App cannot open this document for viewing because of an unexpected error. To view this document, open it in Microsoft Word. Error Id: 7f644fec-c2d7-4387-b280-31a4647afea1, 20100509213834 " I am seeing an error in the event log that identifies the Application Service account (that includes the Word Viewer Service) can't access the portal site collection database.  -I am using the appl

Office Web Apps: Disabling the feature and just normally download Office documents?

Apparently it's not a good idea to uninstall Office Web Apps, as it leaves the farm in an inconsistent state. (http://blogs.architectingconnectedsystems.com/blogs/cjg/archive/2010/04/30/Uninstalling-Office-Web-Apps-_2D00_-Be-Careful_2100_.aspx) Is there a way to disable Office Web Apps after it's been installed and activated? I tried disabling the service in the Site Collection Managed features, but when I click on a document it still opens in the Office Web Apps instead of downloading it to my computer.

Publish Office 2007 documents with metadata to SharePoint 2010?

Hi. I have SharePoint 2010 Enterprise based Intranet solution. We are publishing office 2007 documents to various document libraries there. When uploading documents normally to the document library, I can enter managed metadata to the documents which are later sorted and filtered by this metadata. But how can I enter metadata at the point where I'm publishing the document(Publish->Document Management Server)? I can get the document management pane to show my metadata -column in word as a textbox after the document is published, but the textbox is colored grey and says that I should modify that data on the server i.e. from sharepoint.

Can't open SharePoint documents in Office 2010

Hi, I have a SharePoint 2010 standalone installation and a SP 2007 with SQL back-end installation for testing and proof of concept demonstrations.  All the servers are running Windows 2008 Server and are on a vSphere 4.0 ESX server as virtual machines. Most of the pilot team are on Office 2007 and are working fine with the installations.  I am running Office 2010 (not beta) and am unable to open any Word or Powerpoint files in a standard Project site's Shared Documents library. (I can open a word document stored and linked from a publishing site.) Whether I browse to the file or click the link in a search results page, Powerpoint and Word load up but before I get any login prompt or application screen appearing, the application crashes.  This occurs whether I open the document Read only or click the implicit check out 'Edit' button. If I check the document out to my local drafts folder I can open normally.  As I can't find anything about this on the internet I'm guessing it's not a common occurence!

Do you need to license Office Web Apps seperate from sharepoint server 2010 enterprise license?

Hi All, I been reading this article http://technet.microsoft.com/en-us/library/ff431687.aspx#bkmk_ins_exis_farm  and have come to the conculsion that if you want word viewing services and power point services you need to license and download office web apps separate from the SharePoint Licensing/download. Can anyone confirm this that may know more about the subject? I thought those services would come along with enterprise but from what I’m reading I guess not.   Regards, Jeff

Sharepoint 2010, Constant prompt for credentials to edit office documents in a fqdn setup


Is there a solution to resolve the constant "Prompts" For user id's and passwords when a person tries to open/launch/edit office documents from sharepoint 2010.

My setup: sharepoint fqdn in the domain sp.domainname.local, The sharepoint server is a member of this internal domain. In dns I have local zone of sp.domainname.com with a cname that points to the internal sharepoint server. There is no issue in users accessing the server both internal and external, The issue arises when Office documents are launched from SP2010.

In central admin I have configured the alternate access mappings to be http://sp

I have also tried putting the fqdn dns name of the sharepoint server in IE8 trusted zone but
no luck, I still get credential prompts.

I think the issue might be that Office does not see that the files are coming from the fqdn of sp.domainname.com so hence the prompts.

Trying to fix this as right now its a total pita. I found some previous posts on this issue with SP2007 but found nothing that really addresses this in SP2010.

Thanks Paul

SharePoint ItemUpdating EventReceiver and Office 2007 documents -- columns not updated



We've created an ItemUpdating EventReceiver that sets various properties (columns in the library) on the document based on user selections in a couple other properties.  This code works fine and for all file formats in a Windows 2003 Server/MOSS 2007 environment.

In a Windows 2008/MOSS 2007 environment, however, when we upload MS Office 2007 documents (e.g. docx, xlsx, pptx) these updates are not made.  What's interesting is that the code does actually execute (we've compared logging statements for non-MS Office 2007 files to MS Office 2007 files, and all settings being equal, the code executes exactly the same way on both files, but when the library list view is refreshed, the pre-MS Office 2007 document HAS the values, but the MS Office 2007 documents do not!.

Anyone have any idea why this code is not able to "commit" the values to the documents?  Again, the code works fine (per our logging output), it's just that the values do "not take".....Is there something in the Windows 2008/MOSS 2007/Office 2007 "integration" that might be interferring or that would prevent values form being updated?

Login prompt when opening office documents in SharePoint 2010 library


Environemnt : SharePoint 2010
Windows based authentication being used for site. All SharePoint servers part of the same network.

When i try opening office documents from document library( .docx, xlsx), SharePoint prompts for login credentials even though i am already logged into the website, worse part is that it prompts me for credentials for every document that i open. Also any files other then PDF opens up in the local machine's office application (word or excel) instead of in the browser.

I had migrated this webspplicatoin from MOSS and then did a visual upgrade as well to it, when i verified in the MOSS version of the site after i am log into the site ones it never prompts for login credentails ever when opening an office document.

Any body knows why this is happening.


Long delay opening Word documents from SharePoint 2007 with Office 2010


The first time a document is opened it's fine, opens in just a few seconds.

Subsequently, there is a long delay (about 20 seconds) in the "Contacting server for information..." step.

This happens to all users and all documents, each one will open fast the first time then slowly the second and subsequent times (until, we think, the app pool is recycled - there is no schedules iisreset/reboot).

This does not happen when using Office 2007.

IE6 and 7 exhibit the same behaviour.

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend