Re: No Preferred List Found

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I think I have found the problem. We had been getting problems reconnecting
the printer once the user had tried to print when out of range. To try and
force a reconnection, I had called the OpenNetCF UnbindAdapter() and
BindAdapter() in succession. This was ok with VS2003 and OpenNetCF 1.4, but
with VS2005 and 2.1 the UnbindAdapter is causing the network card to
'disappear'. Is this supposed to happen, or is it a driver problem as you
suggested previously? However, taking the call to UnbindAdapter out doesn't
seem to affect the reconnection anyway!
On another (related) topic, we are sometimes getting problems when
switching WiFi connections between a printer (ad-hoc) and LAN
(infrastructure), that require the device to reboot before it will connect.
Our device supplier says that ad-hoc mode is unreliable and we shouldn't be
using it, and has suggested that I install a battery powered WiFi access
point in a vehicle and use infrastructure for the printer connection as
well. This seems to me be alot of cost/effort/complication - and we only get
the problem with his devices/WiFi cards. Is what he is saying true, or is he
just trying to fob me off with something that he knows I won't be able to do
quickly? Thanks for all your help.

Andy Baker


"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:egyUh%23ZaIHA.3756@xxxxxxxxxxxxxxxxxxxxxxx
Could be that you made a registry change to the driver entries for the
card and then unbound or rebound the adapter. Could be that there was an
exception in the driver and so the device manager no longer had it loaded.
Those are the only two I can think of...

Paul T.

"Andy Baker" <abaker@xxxxxxxxxxxxxxxxxx> wrote in message
news:13qm8llo0b4l824@xxxxxxxxxxxxxxxxxxxxx
I have today managed to get the problem on my system, and when I came out
of my application and looked in Network connections in CE, the network
card was no longer visible, although the card was enabled. This explains
the 'No preferred list' error, as there is not a network card, but what
would cause it to disappear from the connections list. Disabling and
re-enabling the CF slot fixed the problem, but I would like to know what
happened to cause it in the first place.

Andy Baker

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam
DOT com> wrote in message
news:%23UF6%23KNaIHA.4684@xxxxxxxxxxxxxxxxxxxxxxx
I think you're going to have to trap the exception in the debugger and
see where it came from. Set the debugger to stop on all exceptions and I
think it should show you the line in the SDF where it's thrown.

Paul T.

"Andy Baker" <abaker@xxxxxxxxxxxxxxxxxx> wrote in message
news:13qji12dq271t27@xxxxxxxxxxxxxxxxxxxxx
I am using the OpenNetCF 2.1 library when with a VB.NET 2005 application
to connect my CE device to a wireless printer. Occasionally when
connecting, I get the error messages AdapterException in
SetWirelessSettingsEx - 'No Preferred List Found' My code uses
SetWirelessSettingsEx to set up the connection, then BindAdapter. It has
recently been upgraded from VB.NET 2003 / OpenNetCF 1.4, and the
connecting process is much more reliable as a result, but this error
message is one that I haven't seen before. What could be causing this -
as far as I know, there is a preferred list, and I was under the
impression that SetWirelessSettingsEx would add the device to the
preferred list if it was not already in it. Thanks in advance.

Andy Baker









.



Relevant Pages

  • Setting up a second network card (WAN)
    ... IPSec VPN connections to remote sites that is connected to the network card ... for the LAN. ...
    (microsoft.public.windows.server.sbs)
  • Re: New Computer
    ... On reboots there are no beeps at all. ... components that are installed are your power supply, ... heatsink, RAM modules, and graphics card. ... You've checked the connections to the system panel connector on the ...
    (microsoft.public.windowsxp.hardware)
  • Re: New Computer
    ... Eaven when i don't plug in the keyboard i don't get no beeps. ... Is this a video card problem or could it be motherboard, ... components that are installed are your power supply, ... You've checked the connections to the system panel connector on the ...
    (microsoft.public.windowsxp.hardware)
  • Re: New Computer
    ... PC does not turn on the monitor, I know the monitor works, i ... Is this a video card problem or could it be motherboard, ... components that are installed are your power supply, ... You've checked the connections to the system panel connector on the ...
    (microsoft.public.windowsxp.hardware)
  • Re: Terminal Server 2003 R2 - Single user logging in multiple time
    ... the maximum number of reconnection attempts is ... The "Restrict user to one session" works fine. ... Add user specified info to each connection so the connections can be ... As for your second question, once user mode licensing is enabled, a user ...
    (microsoft.public.windows.terminal_services)