Рис.1. Ошибка при открытии диалога для загрузки нескольких файлов

При загрузке нескольких документов в библиотеку документов SharePoint выдается сообщение об ошибке. Ошибка воспроизводилась в разных браузерах Internet explorer старше 8 на разных рабочих станциях.

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

 

************** Exception Text **************

System.NullReferenceException: Object reference not set to an instance of an object.

   at STSUpld.UploadCtl.GetFormInformation()

   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)

 

 

************** Loaded Assemblies **************

mscorlib

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.18444 built by: FX451RTMGDR

    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

----------------------------------------

DesktopLoggerIE

    Assembly Version: 8.0.81.0

    Win32 Version: 1.1.1.2

    CodeBase: file:///C:/Program%20Files%20(x86)/Speech%20Technology%20Center/SmartLogger2/DesktopLogger/DesktopLoggerIE.x86.dll

----------------------------------------

System

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

log4net

    Assembly Version: 1.4.3.0

    Win32 Version: 1.4.3.0

    CodeBase: file:///C:/Program%20Files%20(x86)/Speech%20Technology%20Center/SmartLogger2/DesktopLogger/log4net.DLL

----------------------------------------

System.Configuration

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

System.Xml

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

Interop.SHDocVw.x86

    Assembly Version: 1.1.0.0

    Win32 Version: 1.1.0.0

    CodeBase: file:///C:/Program%20Files%20(x86)/Speech%20Technology%20Center/SmartLogger2/DesktopLogger/Interop.SHDocVw.x86.DLL

----------------------------------------

Microsoft.mshtml

    Assembly Version: 7.0.3300.0

    Win32 Version: 7.0.3300.0

    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll

----------------------------------------

stsupld

    Assembly Version: 15.0.0.0

    Win32 Version: 15.0.4502.1000

    CodeBase: file:///C:/PROGRA~2/MICROS~1/Office15/STSUPLD.DLL

----------------------------------------

System.Windows.Forms

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34251 built by: FX452RTMGDR

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System.Drawing

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34270 built by: FX452RTMGDR

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

stsupld.intl

    Assembly Version: 15.0.0.0

    Win32 Version: 15.0.4442.1000

    CodeBase: file:///C:/PROGRA~2/MICROS~1/OFFICE15/1049/stsupld.intl.DLL

----------------------------------------

Accessibility

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

----------------------------------------

CustomMarshalers

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/CustomMarshalers/v4.0_4.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll

----------------------------------------

 

************** JIT Debugging **************

To enable just-in-time (JIT) debugging, the .config file for this

application or computer (machine.config) must have the

jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging

enabled.

 

For example:

 

<configuration>

    <system.windows.forms jitDebugging="true" />

</configuration>

 

When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the computer

rather than be handled by this dialog box.

 

Рис.1. Ошибка при открытии диалога для загрузки нескольких файлов

Рис.1. Ошибка при открытии диалога для загрузки нескольких файлов

 

Причина:

Причина ошибки связана с кастомизацией страниц SharePoint.

Решение:

Для исправления ошибки, если она не связана с модификацией контрола загрузки (что очень маловероятно), нужно убедиться, что для всех элементов управления установлены непустые параметры AccessKey, например, AccessKey= "_q".