1

Closed

Unable to create new account on Vista unless running as an admin

description

Thanks for writing and releasing this. Unfortunately I have a bug to report.
 
I have a couple of Vista systems. On one of them, my kids can't use the plugin unless they are local admins. If they are a standard user, this doesn't recognize previously created Facebook accounts and it will fail when trying to connecting to a new Facebook account.
 
This is a showstopper for me. I don't let my kids run as admins and thus they can't use this tool. I run as an admin, and the tool is great otherwise.
 
I've looked into this a bit more and found that on one of my Vista boxes, I can use LiveUpload on Vista as a standard user. I'm trying to identify the differences now. The failing machine uses Vista parental controls and has OneCare antivirus.
 
The failing trace is below:
 
************** Exception Text **************
System.IO.IOException: Unable to read data from the transport connection: A non-blocking socket operation could not be completed immediately. ---> System.Net.Sockets.SocketException: A non-blocking socket operation could not be completed immediately
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.StreamReader.ReadBuffer()
at System.IO.StreamReader.ReadToEnd()
at LiveUpload.Facebook.FacebookService.ExecuteQuery(SortedDictionary`2 parameters, String secretKey)
at LiveUpload.Facebook.FacebookService.GetFriends(Account user)
at LiveUpload.Facebook.FacebookService.GetUserInfo(AccountSession session)
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.1434 (REDBITS.050727-1400)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

PublishPluginsInterop
Assembly Version: 14.0.0.0
Win32 Version: 14.0.8051.1204_ship.wlx.w3m3 (ship)

CodeBase: file:///C:/Program%20Files/Windows%20Live/Photo%20Gallery/PublishPluginsInterop.DLL

msvcm80
Assembly Version: 8.0.50727.1801
Win32 Version: 8.00.50727.1801

CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.1801_none_d088a2ec442ef17b/msvcm80.dll

Microsoft.WindowsLive.PublishPlugins
Assembly Version: 1.0.0.0
Win32 Version: 14.0.8051.1204

CodeBase: file:///C:/Program%20Files/Windows%20Live/Photo%20Gallery/Microsoft.WindowsLive.PublishPlugins.DLL

LiveUpload.Facebook
Assembly Version: 1.0.0.1
Win32 Version: 1.0.0.1

CodeBase: file:///C:/Program%20Files/LiveUpload/Facebook/LiveUpload.Facebook.dll

System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)

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.1434 (REDBITS.050727-1400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)

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.1434 (REDBITS.050727-1400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

Closed Feb 9, 2009 at 5:45 AM by DuFF
Fixed in version 2.0.

comments

hfickes wrote Jan 3, 2009 at 4:40 AM

It appears to be related to Vista Parental Controls. I had them on for my daughter, though they were "monitor only", she could visit any site and run any program. When I turned it off completely, then the upload tool worked.

Thanks again for writing this. It is a nice tool.

nstoker76 wrote Jan 4, 2009 at 9:54 PM

It appears to be correct that this is down to Parental Controls being on. Turning it off (merely removing all restrictions is ineffective) resolves the issue.

Without turning it off, I get the exact same error in the trace.

It's a shame, as it'll probably stop me using this (it may sound odd, but I use Parental Controls on my own a/c to make sure only stuff I want to run can run). Is a real pity as this is a good app, and it beats doing things via Facebook on the web (anyone else annoyed at them having about fifteen versions of their installer that all need to be installed?!)

DuFF wrote Jan 7, 2009 at 5:58 PM

Thanks for investigating this guys. I've verified this myself and you're right, it's definitely Vista's Parental Controls. I'll try to fix this up for the next version.