PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
Re: Unhandled Exceptions FileNotFoundException and RegistryException
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
Re: Unhandled Exceptions FileNotFoundException and RegistryException
![]() |
Re: Unhandled Exceptions FileNotFoundException and RegistryException |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
And you *are* running on a WM5 device? Just because something is in the
framework doesn't mean that the OS supports it. Paul T. "Erick Gonzales" <erickgonzales@hotmail.com> wrote in message news:OWcSEi%23FHHA.5104@TK2MSFTNGP03.phx.gbl... > I´m using VS2005 and CF 2.0 to test some applications for mobile devices, > but i´m receiving FileNotFoundException exception (see attach sshot-1)... > i found weird that the exception is thrown from Dns class... > > also i´m receiving RegistryException when trying to read a SystemState > property value....(see attach sshot-2) could be a permission problem??? > > thanks! > > Erick Gonzales. > > > |
|
|
|
#2 |
|
Guest
Posts: n/a
|
yes Paul, running on a WM5 device "emulator"...
thanks "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com> wrote in message news:uOHsIu%23FHHA.960@TK2MSFTNGP04.phx.gbl... > And you *are* running on a WM5 device? Just because something is in the > framework doesn't mean that the OS supports it. > > Paul T. > > "Erick Gonzales" <erickgonzales@hotmail.com> wrote in message > news:OWcSEi%23FHHA.5104@TK2MSFTNGP03.phx.gbl... >> I´m using VS2005 and CF 2.0 to test some applications for mobile devices, >> but i´m receiving FileNotFoundException exception (see attach >> sshot-1)... i found weird that the exception is thrown from Dns class... >> >> also i´m receiving RegistryException when trying to read a SystemState >> property value....(see attach sshot-2) could be a permission problem??? >> >> thanks! >> >> Erick Gonzales. >> >> >> > > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Are you actually seeing the debug break at that point or are you getting
something suitable returned from the property access? False, for example? I think that the exception is generated as a matter of course, at least for unpartnered devices which are not connected to ActiveSync. It seems to do the right thing when cradled and connected to AS on my system. Paul T. "Erick Gonzales" <erickgonzales@hotmail.com> wrote in message news:ediX7x%23FHHA.1252@TK2MSFTNGP02.phx.gbl... > yes Paul, running on a WM5 device "emulator"... > > thanks > > "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT > com> wrote in message news:uOHsIu%23FHHA.960@TK2MSFTNGP04.phx.gbl... >> And you *are* running on a WM5 device? Just because something is in the >> framework doesn't mean that the OS supports it. >> >> Paul T. >> >> "Erick Gonzales" <erickgonzales@hotmail.com> wrote in message >> news:OWcSEi%23FHHA.5104@TK2MSFTNGP03.phx.gbl... >>> I´m using VS2005 and CF 2.0 to test some applications for mobile >>> devices, but i´m receiving FileNotFoundException exception (see attach >>> sshot-1)... i found weird that the exception is thrown from Dns class... >>> >>> also i´m receiving RegistryException when trying to read a SystemState >>> property value....(see attach sshot-2) could be a permission problem??? >>> >>> thanks! >>> >>> Erick Gonzales. >>> >>> >>> >> >> > > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
hmmm
you are right.. now the problem is that i´m not receiving the cradle event change notification... i'll keep trying... thanks "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com> wrote in message news:ucdg5V$FHHA.4580@TK2MSFTNGP05.phx.gbl... > Are you actually seeing the debug break at that point or are you getting > something suitable returned from the property access? False, for example? > I think that the exception is generated as a matter of course, at least > for unpartnered devices which are not connected to ActiveSync. It seems > to do the right thing when cradled and connected to AS on my system. > > Paul T. > > "Erick Gonzales" <erickgonzales@hotmail.com> wrote in message > news:ediX7x%23FHHA.1252@TK2MSFTNGP02.phx.gbl... >> yes Paul, running on a WM5 device "emulator"... >> >> thanks >> >> "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam >> DOT com> wrote in message news:uOHsIu%23FHHA.960@TK2MSFTNGP04.phx.gbl... >>> And you *are* running on a WM5 device? Just because something is in the >>> framework doesn't mean that the OS supports it. >>> >>> Paul T. >>> >>> "Erick Gonzales" <erickgonzales@hotmail.com> wrote in message >>> news:OWcSEi%23FHHA.5104@TK2MSFTNGP03.phx.gbl... >>>> I´m using VS2005 and CF 2.0 to test some applications for mobile >>>> devices, but i´m receiving FileNotFoundException exception (see attach >>>> sshot-1)... i found weird that the exception is thrown from Dns >>>> class... >>>> >>>> also i´m receiving RegistryException when trying to read a SystemState >>>> property value....(see attach sshot-2) could be a permission problem??? >>>> >>>> thanks! >>>> >>>> Erick Gonzales. >>>> >>>> >>>> >>> >>> >> >> > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

