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

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

Web Service for uploading documents into SharePoint

Posted By: Amit Mehra     Posted Date: March 21, 2010    Points: 2   Category :SharePoint
WS UploadService is a web service written for Microsoft Office SharePoint Server 2007 and Windows SharePoint Services 3.0 and is meant for uploading documents into SharePoint. I have just uploaded the zip file to GotDotNet.com so it will take some time before the zip file appears in the list of downloads. For the time being, you can download the zip file from the following location

View Complete Post

More Related Resource Links

Sharepoint 2010 uploading documents programatically

Hi All I'm a newbie and hoping that someone can help me with a problem that I am having. I have written a WinForms app to upload documents to Sharepoint 2010 document library using client object model. It works great unless the file is more than 3MB. The error returned is "The remote server returned an error (400) Bad Request". The files are being uploaded from my local machine to the SharePoint 2010 site. I searched the internet for 2 days trying to find a solution to this without any joy. I have tried increasing the maxRequestLength and executionTimeout in web.config. The program uses a file stream to put the file in a btye array which then becomes the content of a filecreationinformation object. As I said, it loads files OK if they are less than 3MB, so I think that the code is OK. The max document size in SharePoint is 50mb. I really need some help please....   Blaithin

Access denied while uploading documents using sharepoint object model



I have one document library , with item updating, item updated event receivers. we have created a custom form for document uploading and updating its properties using SP object model.  

while uploading the document using my form, it is fine for administator. And for other users, it shows Access denied,and the document got uploaded , but the properties are not updating.

Please guide me. Thanks in advance.

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

SharePoint and Open XML: Generating Documents from SharePoint Using Open XML Content Controls


This article describes how to generate documents that contain data stored in SharePoint lists. The example demonstrates how OpenXML content controls can be defined to capture list data in a Word document and how LINQ to XML can be used to query the lists. The documents are generated from a SharePoint Web Part.

Eric White

MSDN Magazine October 2009

Sharepoint site shows Service Unavailable


Hello everyon,

I am working sith WSS 3.0.

I have one webapplication with one sitecollection.Later i wanted to provide it HTTPS URL, so i extended the WebApplication with option-Yes in SSl field.

And in the virtlay directory properties -> Directory Security -> Secure communications -> Edit

selected Required Secure Chanel.

Thats it. I didn't do anything in that.


Then because of some problems , i deleted the iis website of extended webapplication from central admin.

After that when ever i try to open the site, it shows service unavailable.  And the application pool is getting disabled.

Please help me to get the site working.


Thanks in advance.


RDL Rendering (500 Internal Server) Error at Sharepoint Integrated Reporting Service


I have a serious problem that cannot be solved by googling around the keywords below:
sharepoint, moss 2007, reporting service, ssrs 2008, rendering, internal server error, ....

The error is;

"An error occurred during client rendering. The remote server returned an error: (500) Internal Server Error. "

Everything is O.K.;

* When I render the report from the REPORTSERVER (http://localhost/ReportServer)
* When the reports are scheduled to be sent by the reporting service (planned via MOSS 2007) 

But if I open (render) the RDL file from the sharepoint REPORTS LIBRARY interface, all of the reports fail with that internal error message above. 

It is weird also that parametrized reports are displayed without errors although the parameters are queried from a sql dataset. But I got the error when rendering the report after I've chosen a parameter  and order "apply/report"...

Possible causes how I met that error may be;

After I have installed (then uninstalled) AJAX extensions
After I have re-configured IIS Web Service Extensions list items

Possible solution alternatives I've found;

I've found a solution on MSDN replying a similar issue with an ideal cause of the error but an evreka answer but no sol

Assembling Documents on SharePoint 2010 Sites by Merging Content from Excel, PowerPoint, and Word

This article describes a rich document assembly solution that takes Word 2010 documents, Excel 2010 documents, and PowerPoint 2010 documents and merges them together to form a final report in Word. It does all of this from a SharePoint 2010 Web Part.

Converting Word Documents to PDF using SharePoint Server 2010 and Word Services (Visual How To)

Watch the video and explore code as you learn how to programmatically convert Word documents to PDF format on the server by using Word Automation Services with SharePoint Server 2010.

Sample: Converting Word Documents to PDF using SharePoint Server 2010 and Word Automation Services

Explore the code in this visual how-to article as you learn how to programmatically convert Word documents to PDF format on the server by using Word Automation Services with SharePoint Server 2010.

Video: Converting Word Documents to PDF Format Using SharePoint Server 2010 and Word Services

Watch this visual how-to video as you learn how to programmatically convert Word documents to PDF format on the server by using Word Automation Services with SharePoint Server 2010. (Length: 6:15)

Video: SharePoint 2010: Creating Custom Service Applications

Do you need more than the services provided by SharePoint? In this advanced session targeted at high-end developers, you will learn how to create a custom SharePoint service. (Length: 36:31)

Uploading documents directly to record center libraries in MOSS


Hello all,

We have several pdf documents that are records and we want to maintain them in record center. These documents were not part of any collaboration sites. They are all in a shared folder. So there is no audit history and version history for these documents which is typical of any collaboration area documents.

The question I have is, will there be any disadvantages of directly uploading the document to record center library instead of setting up routing rules and submitting the document using OfficialFile.asmx.

I have noticed that when we submit a document using Send To, Record Center's default router renames the file and makes it a unique file name by appending _uniqueId. In my case, all the files are uniquely named and I am not worried about file name clashes.

Is it advisable to directly upload the documents to record cente

Issues accessing saved documents in SharePoint


Hello, I believe there is an issue with a current document link in SharePoint.  When we click on the main Document Folder (labelled - Project Descriptions) we are typically provided access to a large list of subfolders and documents.  For some reason now, when we click on the main Document folder, a dialogue box opens up prompting me with the following language:

Do you want to open or save this file?

  • Name: Allitems.zip
  • Type: Compressed (zipped) Folder, 6.13KB
  • From: sharepoint.ambit-consulting.com

If you click "open", you're redirected to a blank page in SharePoint.  Our documents are no where to be found.  Please help.


Josh - AMBiT Consulting Inc.

Update SharePoint List item using UpdateListItem web service with javascript

I'm using the Custom_AddListMenuItems function in a CEWP to add a menu item to each list item to Archive that item. This is achieved by updating a choice field in the item to 'Archived'. I'm trying to do this using the web service UpdateListItem web service to update the item using Javascript, but I can not find the correct code that updates the list item. I'm using this code:     var ctx=currentCtx;     var ciid=currentItemID;     var xmlHttp=null;     if (confirm("Are you sure you want to Archive this item?"))     {         var soapRequest = '<?xml version="1.0" encoding="utf-8"?>'+             '<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">'+             '    <soap:Body>'+             '        <UpdateListItems xmlns="http://schemas.microsoft.com/sharepoint/soap/">'+         

Uploading an excel in to Sharepoint.

I must admit i am extremely frustrated with Sharepoint 2010.  It will not perform the simplest functions that Microsoft claims it will do. 1.  I have found it impossible to upload an excel document into a list.  I have selected 'create' and the 'import from an excel' file. I entered the name and found the file to upload using 'browse'.  I get the error code:  "The specified fiel is not a valid spreadsheet or contains no data to import".  I even simplified the excel document to 2 columns and 2 rows.  I simplified the data types and I still get the errors.  How do you get beyond this error?  2.  Also, using excel services, I have an excel document in a library, it will not open the excel file in a browser.  "The file you have selected cannot be found".  The file is actually present,  It can be opened in a sperate excel program, but will not open in a brower.  3.  when attempting to use Status indicators, When i enter a URL for the indicator value, "The SharePoint list URL does not resolve to a SharePoint list. Specify a valid URL for a SharePoint list." This occurs even when the URL is copy and pasted.  How is this solved?  Overall, i am extremely frustrated and disappointed in the usability of SP 2010.  I am not recommending this to any of my

How to email documents from Sharepoint (WSS3.0)

Hi there,   I am very new to sharepoint so if this is a common / obvious question, please forgive me.   I have just set-up our company's internal website using sharepoint. Thankfully everyone loves it and we are getting great results from it.   I am however having the following problem:   I have created a document library that contains PDF versions of our company's catalogue. The idea was that staff members could access the catalogue, as well as send the PDF's to customers via email.   I was hoping that there was a way I could add the functionality to send these PDF's as opposed to sending a link (that the external customers cannot open). I realise that we could simply open the document and then email it from within the PDF reader, however I was hoping that there would be a more elegant solution.   Any help would be much appreciated.   Thanking you in anticipation.   Regards,   Warren

SharePoint 2007 uploading document limitation <=6 record ??

Dear Expert, I've 1 project of sharepoint which is involved a scanning solution + sharepoint (document library) People will scan a set of invoice thru scanning device and then export to sharepoint (document library) as a PDF file. 1 invoice may have many sheet, but our scanning solution will group it into 1 and save as 1 pdf. After upload to sharepoint (document library) my Workflow will start to running and routing for approval But if they upload more than 6 invoice then the 7th invoice will get a error on WF to start (intermittent case).  Isit sharepoint have a limitation number of uploading??  
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