This project is read-only.

Exception during initial login: "ImageLocation must be set."

Jun 3, 2009 at 8:28 AM

Got this exception on a virgin install of Win7, PhotoGallery, and the plugin. Stack trace is below:

Anyone have any ideas for workarounds? I'm traveling, and Facebook keeps asking me if I want the interface in Danish (I don't), so that maybe an issue. I doubt Win7 is an issue since it is a fully-managed component.

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

************** Exception Text **************
System.InvalidOperationException: ImageLocation must be set.
   at System.Windows.Forms.PictureBox.LoadAsync()
   at System.Windows.Forms.PictureBox.LoadAsync(String url)
   at LiveUpload.Facebook.FacebookAlbumRadioButton.OnAlbumChanged(EventArgs eventArgs)
   at LiveUpload.Facebook.FacebookAlbumRadioButton.set_Album(Album value)
   at LiveUpload.Facebook.ConfigurationSettings.PopulateChooseAlbumFlowLayoutPanel()
   at LiveUpload.Facebook.ConfigurationSettings.postAuthNextButton_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.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: 2.0.0.0
    Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
PublishPluginsInterop
    Assembly Version: 14.0.0.0
    Win32 Version: 14.0.8064.0206_ship.wlx.w3m3 (ship)
    CodeBase: file:///C:/Program%20Files%20(x86)/Windows%20Live/Photo%20Gallery/PublishPluginsInterop.DLL
----------------------------------------
msvcm80
    Assembly Version: 8.0.50727.4918
    Win32 Version: 8.00.50727.4918
    CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4918_none_d089094c442eb5ff/msvcm80.dll
----------------------------------------
Microsoft.WindowsLive.PublishPlugins
    Assembly Version: 1.0.0.0
    Win32 Version: 14.0.8064.206
    CodeBase: file:///C:/Program%20Files%20(x86)/Windows%20Live/Photo%20Gallery/Microsoft.WindowsLive.PublishPlugins.DLL
----------------------------------------
LiveUpload.Facebook
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/LiveUpload/Facebook/LiveUpload.Facebook.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Web
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.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.