Article ID: 2489168 - Last Review: January 10, 2011 - Revision: 3.0

"Value does not fall within the expected range" uploading multiple docs from Office 2010 client to SharePoint 2003

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
Expand all | Collapse all

Symptoms

Upload multiple documents to SharePoint 2003 fails if the Office 2010 client is installed on the machine.

This error is thrown:

System.ArgumentException: Value does not fall within the expected range.
   at mshtml.HTMLDocumentClass.IHTMLDocument3_getElementById(String v)
   at STSUpld.UploadCtl.ToggleHtmlButtons(Boolean enabledone)
   at STSUpld.UploadCtl.OnLoad(EventArgs e)
   at System.Windows.Forms.UserControl.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.UserControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ActiveXImpl.System.Windows.Forms.IWindowTarget.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Cause

In SharePoint 2003, the destination field is being set with the full path, "http://server/doclib". In Office 2010, the destination field is relative "/doclib". There is a method that creates the full path from the pieces and this duplicates the host name to send the following "http://server/http://server/doclib"

Resolution

The Office 2010 drag and drop functionality for Uploading multiple documents is not compatible with SharePoint 2003 and the older product will not be updated to accomodate this.
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use (http://go.microsoft.com/fwlink/?LinkId=151500) for other considerations.

APPLIES TO
  • Microsoft Office SharePoint Portal Server 2003
  • Microsoft Windows SharePoint Services 2.0
  • Microsoft Office Standard 2010
Keywords: 
KB2489168