Office Picture Manager won’t open after clicking "Upload Multiple" in Picture Library

Posted on 19. Mar, 2009 by bryan in SharePoint

There’s a title for you!  In any event, a client ha an issue where after clicking "Upload Multiple" in a SharePoint Picture Library, the Microsoft Office Picture Manager would not load.  After digging through the page source, it was determined that SharePoint uses the "OISCTRL.OISClientLauncher" class from the "OISCTRL.dll" to power the Upload Multiple functionality in Picture Libraries.  I wrote the following script to test the functionality of this component on the client machine:

   1:  Set o = CreateObject("OISCTRL.OISClientLauncher")
   2:  o.LaunchOIS "ois.exe /upload ""http://sharepointpicturelibraryurl.com"""

The result was "Unspecified error".  A further review of the SharePoint javascript indicated that it first looks for "OISCTRL.OISClientLauncher" but if it doesn’t find it, it will fall back to good ‘ole "STSUPLD.DLL" which powers the standard upload multiple functionality.  For now, we have worked around the issue by unregistering "OISCTRL.dll" which is in the C:\Program Files\Microsoft Office\OFFICE12 directory:

regsvr32 /u OISCTRL.dll

If anyone has an actual fix for OISCTRL.dll not being able to launch the ois.exe process, let me know!

Bookmark and Share

7 Responses to “Office Picture Manager won’t open after clicking "Upload Multiple" in Picture Library”

  1. charlie

    25. Mar, 2009

    I have been having this problem for months.

    Does the office picture manager return to functionality after you unregister oisctrl.dll?

    TIA

    Reply to this comment
  2. bryan

    25. Mar, 2009

    @Charlie – Unfortunately the Office Picture Manager does not launch, instead you see the “normal” upload multiple control, which is the one with the tree view on the left and the explorer view on the right. I have not been able to successfully bring the Office Picture Manager back to life, but at least am able to use this as a workaround in the meantime. If you come across a full-scale solution, please share!

    Reply to this comment
  3. joey

    03. Jun, 2009

    Had same problem, fixed by running Microsoft Office Diagnostics Tool. It’s under START -> Programs -> Microsoft Office -> Microsoft Office Tools -> Microsoft Office Diagnostics.

    It takes about 5 mins to run, depending upon your machine. Should say 1 or more errors fixed.

    Reply to this comment
    • bryan

      03. Jun, 2009

      Thanks for the tip, I’ll give that a shot!

      Reply to this comment
    • James

      29. Jun, 2009

      This works a treat on Office 2007 machines. Thanks! Any ideas how to do the same on Office 2003 machines? I’ve tried “detect and repair” which is the equivalent of Office 2007 diagnostics but to no avail.

      Reply to this comment
  4. abney317

    29. Jun, 2010

    any ideas on this problem for sharepoint 2010?

    Reply to this comment
    • bryan

      30. Jun, 2010

      Unfortunately I haven’t run across this for sp2010 yet. If/when I do I will be sure to update this post.

      Reply to this comment

Leave a Reply