Re: Visual Studio.net Professional by Tweeeek
Tweeeek
Wed Feb 22 10:29:19 CST 2006
Thanks for your help Paul, I'll try one of the support issues as you
suggest, (not sure if we have any support) .
Regards
"Tweeeek" <Tariq.Mahmood@nospam.com> wrote in message
news:dti2oj$jo2$1$8300dec7@news.demon.co.uk...
>I have also tried running delcryptokeys.exe on our wince.net 4.2 armv4i
>hardware and still no joy, I still get,
> Error: Cannot establish a connection. Be sure the device is physically
> connected to the development computer.
>
>
>
>
>
> <tweeeek@gmail.com> wrote in message
> news:1140611193.130717.97970@g14g2000cwa.googlegroups.com...
>> Hi
>> I used a reg viewer resident on the hardware and the
>> MasterKeysInRegistry was present.
>>
>> I had a few days away from the office, I have attached a successful
>> deployment and an unsuccessful one. With the unsuccessful one the pc
>> does communicate with our hardware a dialog box appears anbd then
>> disappears very quickly and the deployment then fails.
>>
>> SUCCESSFUL DEPLOYMENT
>> ------ Build started: Project: SmartDeviceApplication1, Configuration:
>> Debug Windows CE ------
>>
>> Preparing resources...
>> Updating references...
>> Performing main compilation...
>>
>> The project is up-to-date.
>> Building satellite assemblies...
>> Visual Studio is ready to deploy SmartDeviceApplication1
>>
>>
>>
>> ------ Deploy started: Project: SmartDeviceApplication1, Configuration:
>> Debug Windows CE ------
>>
>> Deploying to Windows CE .NET Device using TCP Connect Transport
>> Connected to Windows CE .NET Device (Windows CE) running on ARMV4T.
>> Copying files from 'C:\Documents and Settings\My Documents\Visual
>> Studio
>> Projects\SmartDeviceApplication1\SmartDeviceApplication1\bin\Debug' to
>> '\Program Files\SmartDeviceApplication1'
>> Copying SmartDeviceApplication1.exe
>> Files in the package 'netcf.all.wce4.armv4t.cab' are more recent on the
>> device than on the development computer. Consider upgrading to the
>> latest version. Files affected are:
>> Microsoft.windowsce.forms.dll
>> Microsoft.visualbasic.dll
>> System.data.dll
>> System.net.irda.dll
>> System.xml.dll
>> System.windows.forms.datagrid.dll
>> System.windows.forms.dll
>> System.web.services.dll
>> System.drawing.dll
>> System.dll
>> Mscorlib.dll
>> Netcfagl1_0.dll
>> Cgacutil.exe
>> Mscoree1_0.dll
>> Mscoree.dll
>> Copying System_SR_enu.cab
>> Launching device installation of 'System_SR_enu.cab'. Please check
>> device screen for further instructions...
>>
>>
>>
>> ---------------------- Done ----------------------
>>
>> Build: 1 succeeded, 0 failed, 0 skipped
>> Deploy: 1 succeeded, 0 failed, 0 skipped
>>
>>
>>
>> UNSUCCESSFUL DEPLOYMENT
>> ------ Build started: Project: SmartDeviceApplication1, Configuration:
>> Debug Windows CE ------
>>
>> Preparing resources...
>> Updating references...
>> Performing main compilation...
>>
>> The project is up-to-date.
>> Building satellite assemblies...
>> Visual Studio is ready to deploy SmartDeviceApplication1
>>
>>
>>
>> ------ Deploy started: Project: SmartDeviceApplication1, Configuration:
>> Debug Windows CE ------
>>
>> Deploying to Windows CE .NET Device using TCP Connect Transport
>>
>>
>>
>> Error: Cannot establish a connection. Be sure the device is physically
>> connected to the development computer.
>> ---------------------- Done ----------------------
>>
>> Build: 1 succeeded, 0 failed, 0 skipped
>> Deploy: 0 succeeded, 1 failed, 0 skipped
>>
>>
>> Its a Mystery.....
>>
>>
>>
>> Paul G. Tobey [eMVP] wrote:
>>
>>> Security, preventing untrusted devices from establishing connections via
>>> the
>>> CoreCon connection which could do bad things to the desktop, would be my
>>> guess. You're sure that you're using the new registry (and not loading
>>> an
>>> old version without MasterKeysInRegistry from flash or something)?
>>>
>>> What exactly is the error when deployment fails?
>>>
>>> Paul T.
>>>
>>> "Tweeeek" <Tariq.Mahmood@nospam.com> wrote in message
>>> news:dsib8e$afl$1$8300dec7@news.demon.co.uk...
>>> >I am not making any progress, I don't understand the mechanism of
>>> >deployment, why on earth are they using encryption and master key
>>> >files.
>>> > "Tweeeek" <Tariq.Mahmood@nospam.com> wrote in message
>>> > news:dsi0et$njd$1$8300dec7@news.demon.co.uk...
>>> >> Hi
>>> >> Unfortunately this hasn't worked for me, I will investigate our
>>> >> system
>>> >> further and determine exactly what is happening when it goes through
>>> >> the
>>> >> different startups.
>>> >>
>>> >> Regards
>>> >>
>>> >> "Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT
>>> >> com>
>>> >> wrote in message news:OHRpZNaLGHA.3960@TK2MSFTNGP09.phx.gbl...
>>> >>> Checking, you're right, it's not in the PB4.2 help. It's documented
>>> >>> well in the PB5 help. You put it in HKLM/Init/BootVars. It's a
>>> >>> DWORD
>>> >>> value which you should set to 1 to store the keys in the registry
>>> >>> rather
>>> >>> than in the filesystem.
>>> >>>
>>> >>> Paul T.
>>> >>>
>>> >>> "Tweeeek" <Tariq.Mahmood@nospam.com> wrote in message
>>> >>> news:dsfu25$mdt$1$830fa17d@news.demon.co.uk...
>>> >>>>I do not have MasterKeysInRegistry in the registry and I can't find
>>> >>>>any
>>> >>>>reference to it in PB 4.2 help.
>>> >>>>
>>> >>>>
>>> >>>> "Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT
>>> >>>> com> wrote in message news:evNvVsZLGHA.3100@tk2msftngp13.phx.gbl...
>>> >>>>> Do you have the MasterKeysInRegistry value in the registry? If
>>> >>>>> your
>>> >>>>> filesystem is killed when you do those clean boots, you're losing
>>> >>>>> any
>>> >>>>> cryptography keys that were generated to secure the connection to
>>> >>>>> ActiveSync. Saving them in the registry, if the registry is
>>> >>>>> persistent should allow it to continue to work after a hard
>>> >>>>> reboot. I
>>> >>>>> believe that this value is documented in the PB help...
>>> >>>>>
>>> >>>>> Paul T.
>>> >>>>>
>>> >>>>> "Tweeeek" <Tariq.Mahmood@nospam.com> wrote in message
>>> >>>>> news:dsfs41$ktq$1$8300dec7@news.demon.co.uk...
>>> >>>>>> Hi
>>> >>>>>> Our hardware runs windows ce.net 4.2. I am using Visual
>>> >>>>>> Studio.net
>>> >>>>>> Professional to test a C# application and am using the deployment
>>> >>>>>> option over USB.
>>> >>>>>>
>>> >>>>>> Our hardware has three start up modes
>>> >>>>>>
>>> >>>>>> 1) WARMBOOT
>>> >>>>>> CE will load the existing RAM copies of file system and
>>> >>>>>> registry.
>>> >>>>>> If either of these fail, it will create new clean copies of both
>>> >>>>>> from
>>> >>>>>> the ce image.
>>> >>>>>>
>>> >>>>>> 2) COLDBOOT
>>> >>>>>> CE will create clean copies of both registry and file system
>>> >>>>>> from
>>> >>>>>> the ce image. Existing PSM files and registry will remain
>>> >>>>>> untouched.
>>> >>>>>>
>>> >>>>>> 3) CLEANBOOT
>>> >>>>>> CE will use clean RAM filing system and attempt to load
>>> >>>>>> registry
>>> >>>>>> from psm.
>>> >>>>>>
>>> >>>>>> The problem I have is that I can deploy to the hardware, but if
>>> >>>>>> after
>>> >>>>>> that I perform a cold or warm boot, the deployment fails. I find
>>> >>>>>> I
>>> >>>>>> must perm a cold boot for the deployment to function again.
>>> >>>>>>
>>> >>>>>> Has anyone experienced any such issues with Visual Studio.net
>>> >>>>>> Professional.
>>> >>>>>>
>>> >>>>>> Regards
>>> >>>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>
>>> >>>>
>>> >>>
>>> >>>
>>> >>
>>> >>
>>> >
>>> >
>>
>
>