windows mobile device center crash on load IPortableDevice.Open

M

mheyman0

I'm having a problem with Windows Mobile Device Center on Windows 7 x86

[system.environment]::eek:sversion.version says its

major 6

minor 1

build 7901

revision 65536


Windows Mobile Device Center fails to connect to a device.


It will load, so long as a device is not sitting there. As soon as you dock the device, Windows Mobile Device Center crashes.


WMDHost crashes with an exit status 0xffffffff (from Event Viewer).




After following some instructions found here on creating debugging logs,


Windows Mobile Device Center - How to Create Debugging Logs


I ended up with logs.


WMDHost.log didn't indicate anything of interest.



The WMDC.log file had this though, and produces it consistently when the device is docked.


7/2/2018 4:59:16 PM
C:\Windows\WindowsMobile\wmdc.exe (6.1.6965.0)
--------- Begin logging ----------
wmdc Verbose: 1 : Creating new PartnershipCollection instance
DateTime=2018-07-02T21:59:16.6420908Z
wmdc Information: 0 : Entering PartnershipCollection::Initialize
DateTime=2018-07-02T21:59:16.6576847Z
wmdc Information: 0 : PartnershipCollection::Initialize - Devicemanager starting with CurrentPartnershipProtocol:3, MinimumPartnershipProtocol:2, and current DeviceManager version:0x06011b35
DateTime=2018-07-02T21:59:16.6576847Z
wmdc Information: 0 : Updating list of partnersips from the registry
DateTime=2018-07-02T21:59:16.6732786Z
wmdc Information: 0 : Updating list of tombstoned partnerships from the registry
DateTime=2018-07-02T21:59:16.6732786Z
wmdc Information: 0 : Last connected partnership:
DateTime=2018-07-02T21:59:16.6732786Z
wmdc Information: 4 : Entering PartnershipCollection::OnDeviceConnect (device:Microsoft.WindowsMobile.DeviceManager.CEDevice)
DateTime=2018-07-02T21:59:16.6732786Z
wmdc Information: 0 : Exiting PartnershipCollection::Initialize
DateTime=2018-07-02T21:59:16.6732786Z
wmdc Verbose: 0 : Creating a new partnership object for device Microsoft.WindowsMobile.DeviceManager.CEDevice
DateTime=2018-07-02T21:59:16.6732786Z
wmdc Verbose: 0 : Creating new Partnership03 object (id:4026433064)
DateTime=2018-07-02T21:59:16.6732786Z
wmdc Information: 0 : Partnership::TagWithCurrentVersion - Tagging current partnership (0xeffe7e28) with PartnershipProtocol:3 and PartnershipVersion:0x06011b35
DateTime=2018-07-02T21:59:16.6732786Z
wmdc Information: 0 : PartnershipCollection::ContainsCompatiblePartnership - Partnership (0xeffe7e28) exists and is compatible
DateTime=2018-07-02T21:59:16.6732786Z
wmdc Information: 0 : Setting current partnership to effe7e28
DateTime=2018-07-02T21:59:16.6732786Z
wmdc Information: 4 : [effe7e28] Entering Partnership::OnDeviceConnected
DateTime=2018-07-02T21:59:16.6732786Z
wmdc Information: 0 : Processing guest partnership
DateTime=2018-07-02T21:59:16.6888725Z
wmdc Critical: 6 : Unhandled exception in thread System.Threading.Thread:
System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.WindowsMobile.IPortableDevice.Open(String pszPnPDeviceID, IPortableDeviceValues pClientInfo)
at Microsoft.WindowsMobile.DeviceManager.Wpd.PortableDevice..ctor(String id)
at Microsoft.WindowsMobile.DeviceManager.Wpd.GetWindowsMobileDevice(IPortableDeviceManager deviceManager)
at Microsoft.WindowsMobile.DeviceManager.Wpd.Load(IPortableDeviceManager deviceManager, Boolean useGenericIconFallback)
at Microsoft.WindowsMobile.DeviceManager.Wpd.PollForDeviceLoad(Object state)
at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
DateTime=2018-07-02T21:59:16.8292176Z
wmdc Critical: 6 : Common language runtime is terminating.
DateTime=2018-07-02T21:59:16.8292176Z


So it looks like an Access Denied to IPortableDevice.Open



Looking at this page on IPortableDeviceOpen

IPortableDevice::Open

it points out that Admins can restrict access to portable devices, but doesn't indicate what those things to look at are.


The device itself happens to be a Windows CE device running an unknown version.

Is there any reference as to what items I need to check/change to get Windows Mobile Device Center to work.


Device is a Datalogic Falcon 4400.

Continue reading...
 
Back
Top Bottom