PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
Re: SmartDeviceAuthenticationUtility for CE device
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
Re: SmartDeviceAuthenticationUtility for CE device
![]() |
Re: SmartDeviceAuthenticationUtility for CE device |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Daniel,
Can your laptop ping the device's IP address at home? If you delete all files from \windows\NETCFKEYS amd file \window\conmanclient.exe on device, will they be restored/created by SmartDeviceAuthenticationUtility? Thanks, Ximing [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights. -------------------- | From: "Daniel Moth" <dmoth74@hotmail.com> | References: <#S1bA$1MDHA.2768@tk2msftngp13.phx.gbl> | Subject: Re: SmartDeviceAuthenticationUtility for CE device | Date: Mon, 23 Jun 2003 10:14:09 +0100 | Lines: 68 | X-Priority: 3 | X-MSMail-Priority: Normal | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 | Message-ID: <eoSLahWODHA.1040@TK2MSFTNGP12.phx.gbl> | Newsgroups: microsoft.public.dotnet.framework.compactframework | NNTP-Posting-Host: dsl-217-155-140-110.zen.co.uk 217.155.140.110 | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl | Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.compactframework:26349 | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework | | Hi | | Still haven't solved this problem... Checked in the router settings and | there are no ports/protocols blocked or any other obvious setting to | tweak... | | Maybe someone from MS can inform of what would cause the behaviour I see.. | Particularly steps 3-4... | | Cheers | Daniel | | "Daniel Moth" <dmoth74@hotmail.com> wrote in message | news:%23S1bA$1MDHA.2768@tk2msftngp13.phx.gbl... | > Hi | > | > I am having problems deploying to a CE device from VS.NET 2003... | > | > The same laptop connects fine to the same device when I am in the office | so | > that should waive the usual questions... | > | > The same laptop does not connect fine to the same device when I take it | > home. The difference is that the setup at home is via an ADSL router. | Device | > is connected via Ethernet and laptop wirelessly. Both ends can browse the | > net fine. This is what happens: | > | > 1. Run SDAuthUtilDevice.exe on device AND tap Start | > | > 2. Run its big brother on the PC and enter the IP address and click "Set | Up | > Device" | > | > 3. After the usual interval a box comes up reading: "Failed to launch | > ConmanClient.exe" with just an OK button | > | > 4. Note that at the same time it comes up, the Status on the previous | dialog | > reads Connected (!) | > | > 5. When I OK the dialog another dialog appears that reads: "Device has | been | > prepped and ConmanClient.exe has been successfully launched!" Note that | this | > is the same dialog I see in the office when I manage to connect OK. | > | > 6. I OK the dialog, then Close the previous dialog (at which point the | > corresponding window on the device also goes away) | > | > 7. Try to Deploy or Start with/without debugging and it always fails with: | > "Error: Cannot establish a connection. Be sure the device is physically | > connected to the development computer.". The first time it pops up the | > GetConnected wizard. | > | > Note that I can browse from my laptop to the device... | > | > Any ideas what setting I am missing or if there is something special I | must | > setup in the router? | > | > Cheers | > Daniel | > | > | > | | | |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Hi
Yes my laptop can ping the device. Also the NETCFKEYS folder and the conmanclient.exe (and cmtnpt_TcpConnect/Accept dlls) are created on the device after running SDAuthUtil... (as are the EncodedSessionKey.blb and PubKey.blb under MyComputer)... While we are on the subject, is there any documentation on *exactly* what keys/values are created in the registry with this process? Cheers Daniel ""Ximing Zhou [MS]"" <ximingz@microsoft.com> wrote in message news:RxU%23crNRDHA.1748@cpmsftngxa09.phx.gbl... > Daniel, > > Can your laptop ping the device's IP address at home? If you delete all > files from \windows\NETCFKEYS amd file \window\conmanclient.exe on device, > will they be restored/created by SmartDeviceAuthenticationUtility? > > Thanks, > Ximing [MSFT] > > This posting is provided "AS IS" with no warranties, and confers no rights. > -------------------- > | From: "Daniel Moth" <dmoth74@hotmail.com> > | References: <#S1bA$1MDHA.2768@tk2msftngp13.phx.gbl> > | Subject: Re: SmartDeviceAuthenticationUtility for CE device > | Date: Mon, 23 Jun 2003 10:14:09 +0100 > | Lines: 68 > | X-Priority: 3 > | X-MSMail-Priority: Normal > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 > | Message-ID: <eoSLahWODHA.1040@TK2MSFTNGP12.phx.gbl> > | Newsgroups: microsoft.public.dotnet.framework.compactframework > | NNTP-Posting-Host: dsl-217-155-140-110.zen.co.uk 217.155.140.110 > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl > | Xref: cpmsftngxa06.phx.gbl > microsoft.public.dotnet.framework.compactframework:26349 > | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework > | > | Hi > | > | Still haven't solved this problem... Checked in the router settings and > | there are no ports/protocols blocked or any other obvious setting to > | tweak... > | > | Maybe someone from MS can inform of what would cause the behaviour I see.. > | Particularly steps 3-4... > | > | Cheers > | Daniel > | > | "Daniel Moth" <dmoth74@hotmail.com> wrote in message > | news:%23S1bA$1MDHA.2768@tk2msftngp13.phx.gbl... > | > Hi > | > > | > I am having problems deploying to a CE device from VS.NET 2003... > | > > | > The same laptop connects fine to the same device when I am in the office > | so > | > that should waive the usual questions... > | > > | > The same laptop does not connect fine to the same device when I take it > | > home. The difference is that the setup at home is via an ADSL router. > | Device > | > is connected via Ethernet and laptop wirelessly. Both ends can browse > the > | > net fine. This is what happens: > | > > | > 1. Run SDAuthUtilDevice.exe on device AND tap Start > | > > | > 2. Run its big brother on the PC and enter the IP address and click "Set > | Up > | > Device" > | > > | > 3. After the usual interval a box comes up reading: "Failed to launch > | > ConmanClient.exe" with just an OK button > | > > | > 4. Note that at the same time it comes up, the Status on the previous > | dialog > | > reads Connected (!) > | > > | > 5. When I OK the dialog another dialog appears that reads: "Device has > | been > | > prepped and ConmanClient.exe has been successfully launched!" Note that > | this > | > is the same dialog I see in the office when I manage to connect OK. > | > > | > 6. I OK the dialog, then Close the previous dialog (at which point the > | > corresponding window on the device also goes away) > | > > | > 7. Try to Deploy or Start with/without debugging and it always fails > with: > | > "Error: Cannot establish a connection. Be sure the device is physically > | > connected to the development computer.". The first time it pops up the > | > GetConnected wizard. > | > > | > Note that I can browse from my laptop to the device... > | > > | > Any ideas what setting I am missing or if there is something special I > | must > | > setup in the router? > | > > | > Cheers > | > Daniel > | > > | > > | > > | > | > | > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Daniel,
Try the following: 1. Run ConManClient.exe on the device. It should start a "Connection Manager" dialog. Select TCP_ACCEPT__ in the first dropdown. Click the Connect button. 2. On VS.NET, click the Device Options button on the Tool bar, or select Tools/Options/Device Tools/Device and click Configure, to get the dialog of Configure TCP/IP Transport Settings. Select "use specific IP address" and enter the IP address of the device. 3. Try deploying a device application with or without debugging. Ximing [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights. -------------------- | From: "Daniel Moth" <dmoth74@hotmail.com> | References: <#S1bA$1MDHA.2768@tk2msftngp13.phx.gbl> <eoSLahWODHA.1040@TK2MSFTNGP12.phx.gbl> <RxU#crNRDHA.1748@cpmsftngxa09.phx.gbl> | Subject: Re: SmartDeviceAuthenticationUtility for CE device | Date: Sun, 13 Jul 2003 12:47:51 +0100 | Lines: 129 | X-Priority: 3 | X-MSMail-Priority: Normal | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 | Message-ID: <Ox#vvUTSDHA.3880@tk2msftngp13.phx.gbl> | Newsgroups: microsoft.public.dotnet.framework.compactframework | NNTP-Posting-Host: dsl-217-155-140-110.zen.co.uk 217.155.140.110 | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl | Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.compactframework:28065 | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework | | Hi | | Yes my laptop can ping the device. | | Also the NETCFKEYS folder and the conmanclient.exe (and | cmtnpt_TcpConnect/Accept dlls) are created on the device after running | SDAuthUtil... (as are the EncodedSessionKey.blb and PubKey.blb under | MyComputer)... | | While we are on the subject, is there any documentation on *exactly* what | keys/values are created in the registry with this process? | | Cheers | Daniel | | | | ""Ximing Zhou [MS]"" <ximingz@microsoft.com> wrote in message | news:RxU%23crNRDHA.1748@cpmsftngxa09.phx.gbl... | > Daniel, | > | > Can your laptop ping the device's IP address at home? If you delete all | > files from \windows\NETCFKEYS amd file \window\conmanclient.exe on device, | > will they be restored/created by SmartDeviceAuthenticationUtility? | > | > Thanks, | > Ximing [MSFT] | > | > This posting is provided "AS IS" with no warranties, and confers no | rights. | > -------------------- | > | From: "Daniel Moth" <dmoth74@hotmail.com> | > | References: <#S1bA$1MDHA.2768@tk2msftngp13.phx.gbl> | > | Subject: Re: SmartDeviceAuthenticationUtility for CE device | > | Date: Mon, 23 Jun 2003 10:14:09 +0100 | > | Lines: 68 | > | X-Priority: 3 | > | X-MSMail-Priority: Normal | > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 | > | Message-ID: <eoSLahWODHA.1040@TK2MSFTNGP12.phx.gbl> | > | Newsgroups: microsoft.public.dotnet.framework.compactframework | > | NNTP-Posting-Host: dsl-217-155-140-110.zen.co.uk 217.155.140.110 | > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl | > | Xref: cpmsftngxa06.phx.gbl | > microsoft.public.dotnet.framework.compactframework:26349 | > | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework | > | | > | Hi | > | | > | Still haven't solved this problem... Checked in the router settings and | > | there are no ports/protocols blocked or any other obvious setting to | > | tweak... | > | | > | Maybe someone from MS can inform of what would cause the behaviour I | see.. | > | Particularly steps 3-4... | > | | > | Cheers | > | Daniel | > | | > | "Daniel Moth" <dmoth74@hotmail.com> wrote in message | > | news:%23S1bA$1MDHA.2768@tk2msftngp13.phx.gbl... | > | > Hi | > | > | > | > I am having problems deploying to a CE device from VS.NET 2003... | > | > | > | > The same laptop connects fine to the same device when I am in the | office | > | so | > | > that should waive the usual questions... | > | > | > | > The same laptop does not connect fine to the same device when I take | it | > | > home. The difference is that the setup at home is via an ADSL router. | > | Device | > | > is connected via Ethernet and laptop wirelessly. Both ends can browse | > the | > | > net fine. This is what happens: | > | > | > | > 1. Run SDAuthUtilDevice.exe on device AND tap Start | > | > | > | > 2. Run its big brother on the PC and enter the IP address and click | "Set | > | Up | > | > Device" | > | > | > | > 3. After the usual interval a box comes up reading: "Failed to launch | > | > ConmanClient.exe" with just an OK button | > | > | > | > 4. Note that at the same time it comes up, the Status on the previous | > | dialog | > | > reads Connected (!) | > | > | > | > 5. When I OK the dialog another dialog appears that reads: "Device has | > | been | > | > prepped and ConmanClient.exe has been successfully launched!" Note | that | > | this | > | > is the same dialog I see in the office when I manage to connect OK. | > | > | > | > 6. I OK the dialog, then Close the previous dialog (at which point the | > | > corresponding window on the device also goes away) | > | > | > | > 7. Try to Deploy or Start with/without debugging and it always fails | > with: | > | > "Error: Cannot establish a connection. Be sure the device is | physically | > | > connected to the development computer.". The first time it pops up the | > | > GetConnected wizard. | > | > | > | > Note that I can browse from my laptop to the device... | > | > | > | > Any ideas what setting I am missing or if there is something special I | > | must | > | > setup in the router? | > | > | > | > Cheers | > | > Daniel | > | > | > | > | > | > | > | | > | | > | | > | | | | |
|
|
|
#4 |
|
Guest
Posts: n/a
|
I also have a problem using SDAuthUtilDevice.exe. I am using a PXA255
Xscale, CE.NET 4.1 embedded device (Casio IT-500 or DT-X10) and when I originally installed the add on utilities everything worked fine. At some point though (and I don't remember anything strange happening) it started refusing to deploy to any of my devices whether using ActiveSync or TCP. My current problem with SDAuthUtilDevice is: I run the client side utility and then the tool in VS.NET 2003 as instructed in the readme. I then get a message saying "Unknown error while prepping device!" and it complains that it cannnot find PubKey.blb on my PC. When I check the device, I notice that PubKey.blb has been created in the root but is zero bytes. I can ping in both directions and I can ActiveSync over the LAN connection so I think the network side of it is fine. I tried the tip above but to no avail. I've returned the devices to out of the box condition and tested them with 2 other VS.NET 2003 installations on other PCs with no problems. I cannot deploy via ActiveSync from VS.NET 2003 either - I just get the 'cannot establish connection' problem. I CAN deploy and debug over ActiveSync from eVC++ 4.0 though. I've tried numerous suggestions to fix this including a complete uninstall/reinstall of VS.NET 2003 (also re-installed ActiveSync and ran the ProxyPorts.reg) but no luck. Any suggestions appreciated. AdeW ximingz@microsoft.com ("Ximing Zhou [MS]") wrote in message news:<5$awaMATDHA.2284@cpmsftngxa06.phx.gbl>... > Daniel, > > Try the following: > 1. Run ConManClient.exe on the device. It should start a "Connection > Manager" dialog. Select TCP_ACCEPT__ in the first dropdown. Click the > Connect button. > 2. On VS.NET, click the Device Options button on the Tool bar, or select > Tools/Options/Device Tools/Device and click Configure, to get the dialog of > Configure TCP/IP Transport Settings. Select "use specific IP address" and > enter the IP address of the device. > 3. Try deploying a device application with or without debugging. > > Ximing [MSFT] > > This posting is provided "AS IS" with no warranties, and confers no rights. > -------------------- > | From: "Daniel Moth" <dmoth74@hotmail.com> > | References: <#S1bA$1MDHA.2768@tk2msftngp13.phx.gbl> > <eoSLahWODHA.1040@TK2MSFTNGP12.phx.gbl> > <RxU#crNRDHA.1748@cpmsftngxa09.phx.gbl> > | Subject: Re: SmartDeviceAuthenticationUtility for CE device > | Date: Sun, 13 Jul 2003 12:47:51 +0100 > | Lines: 129 > | X-Priority: 3 > | X-MSMail-Priority: Normal > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 > | Message-ID: <Ox#vvUTSDHA.3880@tk2msftngp13.phx.gbl> > | Newsgroups: microsoft.public.dotnet.framework.compactframework > | NNTP-Posting-Host: dsl-217-155-140-110.zen.co.uk 217.155.140.110 > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl > | Xref: cpmsftngxa06.phx.gbl > microsoft.public.dotnet.framework.compactframework:28065 > | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework > | > | Hi > | > | Yes my laptop can ping the device. > | > | Also the NETCFKEYS folder and the conmanclient.exe (and > | cmtnpt_TcpConnect/Accept dlls) are created on the device after running > | SDAuthUtil... (as are the EncodedSessionKey.blb and PubKey.blb under > | MyComputer)... > | > | While we are on the subject, is there any documentation on *exactly* what > | keys/values are created in the registry with this process? > | > | Cheers > | Daniel > | > | > | > | ""Ximing Zhou [MS]"" <ximingz@microsoft.com> wrote in message > | news:RxU%23crNRDHA.1748@cpmsftngxa09.phx.gbl... > | > Daniel, > | > > | > Can your laptop ping the device's IP address at home? If you delete all > | > files from \windows\NETCFKEYS amd file \window\conmanclient.exe on > device, > | > will they be restored/created by SmartDeviceAuthenticationUtility? > | > > | > Thanks, > | > Ximing [MSFT] > | > > | > This posting is provided "AS IS" with no warranties, and confers no > rights. > | > -------------------- > | > | From: "Daniel Moth" <dmoth74@hotmail.com> > | > | References: <#S1bA$1MDHA.2768@tk2msftngp13.phx.gbl> > | > | Subject: Re: SmartDeviceAuthenticationUtility for CE device > | > | Date: Mon, 23 Jun 2003 10:14:09 +0100 > | > | Lines: 68 > | > | X-Priority: 3 > | > | X-MSMail-Priority: Normal > | > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 > | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 > | > | Message-ID: <eoSLahWODHA.1040@TK2MSFTNGP12.phx.gbl> > | > | Newsgroups: microsoft.public.dotnet.framework.compactframework > | > | NNTP-Posting-Host: dsl-217-155-140-110.zen.co.uk 217.155.140.110 > | > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl > | > | Xref: cpmsftngxa06.phx.gbl > microsoft.public.dotnet.framework.compactframework:26349 > | > | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework > | > | > | > | Hi > | > | > | > | Still haven't solved this problem... Checked in the router settings > and > | > | there are no ports/protocols blocked or any other obvious setting to > | > | tweak... > | > | > | > | Maybe someone from MS can inform of what would cause the behaviour I > see.. > | > | Particularly steps 3-4... > | > | > | > | Cheers > | > | Daniel > | > | > | > | "Daniel Moth" <dmoth74@hotmail.com> wrote in message > | > | news:%23S1bA$1MDHA.2768@tk2msftngp13.phx.gbl... > | > | > Hi > | > | > > | > | > I am having problems deploying to a CE device from VS.NET 2003... > | > | > > | > | > The same laptop connects fine to the same device when I am in the > office > so > | > | > that should waive the usual questions... > | > | > > | > | > The same laptop does not connect fine to the same device when I take > it > | > | > home. The difference is that the setup at home is via an ADSL > router. > Device > | > | > is connected via Ethernet and laptop wirelessly. Both ends can > browse > the > | > | > net fine. This is what happens: > | > | > > | > | > 1. Run SDAuthUtilDevice.exe on device AND tap Start > | > | > > | > | > 2. Run its big brother on the PC and enter the IP address and click > "Set > Up > | > | > Device" > | > | > > | > | > 3. After the usual interval a box comes up reading: "Failed to > launch > | > | > ConmanClient.exe" with just an OK button > | > | > > | > | > 4. Note that at the same time it comes up, the Status on the > previous > dialog > | > | > reads Connected (!) > | > | > > | > | > 5. When I OK the dialog another dialog appears that reads: "Device > has > been > | > | > prepped and ConmanClient.exe has been successfully launched!" Note > that > this > | > | > is the same dialog I see in the office when I manage to connect OK. > | > | > > | > | > 6. I OK the dialog, then Close the previous dialog (at which point > the > | > | > corresponding window on the device also goes away) > | > | > > | > | > 7. Try to Deploy or Start with/without debugging and it always fails > with: > | > | > "Error: Cannot establish a connection. Be sure the device is > physically > | > | > connected to the development computer.". The first time it pops up > the > | > | > GetConnected wizard. > | > | > > | > | > Note that I can browse from my laptop to the device... > | > | > > | > | > Any ideas what setting I am missing or if there is something > special I > must > | > | > setup in the router? > | > | > > | > | > Cheers > | > | > Daniel > | > | > > | > | > > | > | > > | > | > | > | > | > | > | > > | > | > | > | |
|
|
|
#5 |
|
Guest
Posts: n/a
|
Hi
I tried the whole process that fails (as described in my original post) in order to get ConManClient.exe, the cnmpt...dlls and the other files created on the device... I then run ConManClient on the device and it fails with error "Cannot find ConmanClient (or one of its components). Make sure the path and filename are correct and that all the required libraries are available" So something is not getting created properly although I can see all the relevant files on the device! At the moment I am having to work of an SD card which takes away the nice debugging capabilities of VS.NET... May I ask you again to let us know *exactly* what keys/values are created in the registry with this process? This will also help with the following problem: >> The problem in a nutshell is that when connecting a CE device with VS.NET and you then shutdown the device (at which stage the registry is not lost but the file system is) then when you power the device up again no .NET app (debug or release) will run. No exception, it just doesn't come up. Restore the registry to 'virgin' state and its all good again... << Cheers Daniel ""Ximing Zhou [MS]"" <ximingz@microsoft.com> wrote in message news:5$awaMATDHA.2284@cpmsftngxa06.phx.gbl... > Daniel, > > Try the following: > 1. Run ConManClient.exe on the device. It should start a "Connection > Manager" dialog. Select TCP_ACCEPT__ in the first dropdown. Click the > Connect button. > 2. On VS.NET, click the Device Options button on the Tool bar, or select > Tools/Options/Device Tools/Device and click Configure, to get the dialog of > Configure TCP/IP Transport Settings. Select "use specific IP address" and > enter the IP address of the device. > 3. Try deploying a device application with or without debugging. > > Ximing [MSFT] > > This posting is provided "AS IS" with no warranties, and confers no rights. > -------------------- > | From: "Daniel Moth" <dmoth74@hotmail.com> > | References: <#S1bA$1MDHA.2768@tk2msftngp13.phx.gbl> > <eoSLahWODHA.1040@TK2MSFTNGP12.phx.gbl> > <RxU#crNRDHA.1748@cpmsftngxa09.phx.gbl> > | Subject: Re: SmartDeviceAuthenticationUtility for CE device > | Date: Sun, 13 Jul 2003 12:47:51 +0100 > | Lines: 129 > | X-Priority: 3 > | X-MSMail-Priority: Normal > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 > | Message-ID: <Ox#vvUTSDHA.3880@tk2msftngp13.phx.gbl> > | Newsgroups: microsoft.public.dotnet.framework.compactframework > | NNTP-Posting-Host: dsl-217-155-140-110.zen.co.uk 217.155.140.110 > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl > | Xref: cpmsftngxa06.phx.gbl > microsoft.public.dotnet.framework.compactframework:28065 > | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework > | > | Hi > | > | Yes my laptop can ping the device. > | > | Also the NETCFKEYS folder and the conmanclient.exe (and > | cmtnpt_TcpConnect/Accept dlls) are created on the device after running > | SDAuthUtil... (as are the EncodedSessionKey.blb and PubKey.blb under > | MyComputer)... > | > | While we are on the subject, is there any documentation on *exactly* what > | keys/values are created in the registry with this process? > | > | Cheers > | Daniel > | > | > | > | ""Ximing Zhou [MS]"" <ximingz@microsoft.com> wrote in message > | news:RxU%23crNRDHA.1748@cpmsftngxa09.phx.gbl... > | > Daniel, > | > > | > Can your laptop ping the device's IP address at home? If you delete all > | > files from \windows\NETCFKEYS amd file \window\conmanclient.exe on > device, > | > will they be restored/created by SmartDeviceAuthenticationUtility? > | > > | > Thanks, > | > Ximing [MSFT] > | > > | > This posting is provided "AS IS" with no warranties, and confers no > | rights. > | > -------------------- > | > | From: "Daniel Moth" <dmoth74@hotmail.com> > | > | References: <#S1bA$1MDHA.2768@tk2msftngp13.phx.gbl> > | > | Subject: Re: SmartDeviceAuthenticationUtility for CE device > | > | Date: Mon, 23 Jun 2003 10:14:09 +0100 > | > | Lines: 68 > | > | X-Priority: 3 > | > | X-MSMail-Priority: Normal > | > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 > | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 > | > | Message-ID: <eoSLahWODHA.1040@TK2MSFTNGP12.phx.gbl> > | > | Newsgroups: microsoft.public.dotnet.framework.compactframework > | > | NNTP-Posting-Host: dsl-217-155-140-110.zen.co.uk 217.155.140.110 > | > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl > | > | Xref: cpmsftngxa06.phx.gbl > | > microsoft.public.dotnet.framework.compactframework:26349 > | > | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework > | > | > | > | Hi > | > | > | > | Still haven't solved this problem... Checked in the router settings > and > | > | there are no ports/protocols blocked or any other obvious setting to > | > | tweak... > | > | > | > | Maybe someone from MS can inform of what would cause the behaviour I > | see.. > | > | Particularly steps 3-4... > | > | > | > | Cheers > | > | Daniel > | > | > | > | "Daniel Moth" <dmoth74@hotmail.com> wrote in message > | > | news:%23S1bA$1MDHA.2768@tk2msftngp13.phx.gbl... > | > | > Hi > | > | > > | > | > I am having problems deploying to a CE device from VS.NET 2003... > | > | > > | > | > The same laptop connects fine to the same device when I am in the > | office > | > | so > | > | > that should waive the usual questions... > | > | > > | > | > The same laptop does not connect fine to the same device when I take > | it > | > | > home. The difference is that the setup at home is via an ADSL > router. > | > | Device > | > | > is connected via Ethernet and laptop wirelessly. Both ends can > browse > | > the > | > | > net fine. This is what happens: > | > | > > | > | > 1. Run SDAuthUtilDevice.exe on device AND tap Start > | > | > > | > | > 2. Run its big brother on the PC and enter the IP address and click > | "Set > | > | Up > | > | > Device" > | > | > > | > | > 3. After the usual interval a box comes up reading: "Failed to > launch > | > | > ConmanClient.exe" with just an OK button > | > | > > | > | > 4. Note that at the same time it comes up, the Status on the > previous > | > | dialog > | > | > reads Connected (!) > | > | > > | > | > 5. When I OK the dialog another dialog appears that reads: "Device > has > | > | been > | > | > prepped and ConmanClient.exe has been successfully launched!" Note > | that > | > | this > | > | > is the same dialog I see in the office when I manage to connect OK. > | > | > > | > | > 6. I OK the dialog, then Close the previous dialog (at which point > the > | > | > corresponding window on the device also goes away) > | > | > > | > | > 7. Try to Deploy or Start with/without debugging and it always fails > | > with: > | > | > "Error: Cannot establish a connection. Be sure the device is > | physically > | > | > connected to the development computer.". The first time it pops up > the > | > | > GetConnected wizard. > | > | > > | > | > Note that I can browse from my laptop to the device... > | > | > > | > | > Any ideas what setting I am missing or if there is something > special I > | > | must > | > | > setup in the router? > | > | > > | > | > Cheers > | > | > Daniel > | > | > > | > | > > | > | > > | > | > | > | > | > | > | > > | > | > | > | > |
|
|
|
#6 |
|
Guest
Posts: n/a
|
Daniel,
In your original post you stated that the same laptop/device worked in your office. That means ConManClient.exe was able to run on the device. Is that still the case? It seems to contradict to the decription in your latest post below that running ConManClient.exe on the device failed. I am just trying to understand the actual symptoms. Ximing [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights. -------------------- | From: "Daniel Moth" <dmoth74@hotmail.com> | References: <#S1bA$1MDHA.2768@tk2msftngp13.phx.gbl> <eoSLahWODHA.1040@TK2MSFTNGP12.phx.gbl> <RxU#crNRDHA.1748@cpmsftngxa09.phx.gbl> <Ox#vvUTSDHA.3880@tk2msftngp13.phx.gbl> <5$awaMATDHA.2284@cpmsftngxa06.phx.gbl> | Subject: Re: SmartDeviceAuthenticationUtility for CE device | Date: Wed, 23 Jul 2003 10:20:14 +0100 | Lines: 219 | X-Priority: 3 | X-MSMail-Priority: Normal | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 | Message-ID: <ekSO$wPUDHA.1664@TK2MSFTNGP11.phx.gbl> | Newsgroups: microsoft.public.dotnet.framework.compactframework | NNTP-Posting-Host: dsl-217-155-140-110.zen.co.uk 217.155.140.110 | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl | Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.compactframework:28955 | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework | | Hi | | I tried the whole process that fails (as described in my original post) in | order to get ConManClient.exe, the cnmpt...dlls and the other files created | on the device... | | I then run ConManClient on the device and it fails with error "Cannot find | ConmanClient (or one of its components). Make sure the path and filename are | correct and that all the required libraries are available" | | So something is not getting created properly although I can see all the | relevant files on the device! | | At the moment I am having to work of an SD card which takes away the nice | debugging capabilities of VS.NET... | | May I ask you again to let us know *exactly* what keys/values are created in | the registry with this process? This will also help with the following | problem: | >> | The problem in a nutshell is that when connecting a CE device with VS.NET | and you then shutdown the device (at which stage the registry is not lost | but the file system is) then when you power the device up again no .NET app | (debug or release) will run. No exception, it just doesn't come up. Restore | the registry to 'virgin' state and its all good again... | << | | Cheers | Daniel | | | ""Ximing Zhou [MS]"" <ximingz@microsoft.com> wrote in message | news:5$awaMATDHA.2284@cpmsftngxa06.phx.gbl... | > Daniel, | > | > Try the following: | > 1. Run ConManClient.exe on the device. It should start a "Connection | > Manager" dialog. Select TCP_ACCEPT__ in the first dropdown. Click the | > Connect button. | > 2. On VS.NET, click the Device Options button on the Tool bar, or select | > Tools/Options/Device Tools/Device and click Configure, to get the dialog | of | > Configure TCP/IP Transport Settings. Select "use specific IP address" and | > enter the IP address of the device. | > 3. Try deploying a device application with or without debugging. | > | > Ximing [MSFT] | > | > This posting is provided "AS IS" with no warranties, and confers no | rights. | > -------------------- | > | From: "Daniel Moth" <dmoth74@hotmail.com> | > | References: <#S1bA$1MDHA.2768@tk2msftngp13.phx.gbl> | > <eoSLahWODHA.1040@TK2MSFTNGP12.phx.gbl> | > <RxU#crNRDHA.1748@cpmsftngxa09.phx.gbl> | > | Subject: Re: SmartDeviceAuthenticationUtility for CE device | > | Date: Sun, 13 Jul 2003 12:47:51 +0100 | > | Lines: 129 | > | X-Priority: 3 | > | X-MSMail-Priority: Normal | > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 | > | Message-ID: <Ox#vvUTSDHA.3880@tk2msftngp13.phx.gbl> | > | Newsgroups: microsoft.public.dotnet.framework.compactframework | > | NNTP-Posting-Host: dsl-217-155-140-110.zen.co.uk 217.155.140.110 | > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl | > | Xref: cpmsftngxa06.phx.gbl | > microsoft.public.dotnet.framework.compactframework:28065 | > | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework | > | | > | Hi | > | | > | Yes my laptop can ping the device. | > | | > | Also the NETCFKEYS folder and the conmanclient.exe (and | > | cmtnpt_TcpConnect/Accept dlls) are created on the device after running | > | SDAuthUtil... (as are the EncodedSessionKey.blb and PubKey.blb under | > | MyComputer)... | > | | > | While we are on the subject, is there any documentation on *exactly* | what | > | keys/values are created in the registry with this process? | > | | > | Cheers | > | Daniel | > | | > | | > | | > | ""Ximing Zhou [MS]"" <ximingz@microsoft.com> wrote in message | > | news:RxU%23crNRDHA.1748@cpmsftngxa09.phx.gbl... | > | > Daniel, | > | > | > | > Can your laptop ping the device's IP address at home? If you delete | all | > | > files from \windows\NETCFKEYS amd file \window\conmanclient.exe on | > device, | > | > will they be restored/created by SmartDeviceAuthenticationUtility? | > | > | > | > Thanks, | > | > Ximing [MSFT] | > | > | > | > This posting is provided "AS IS" with no warranties, and confers no | > | rights. | > | > -------------------- | > | > | From: "Daniel Moth" <dmoth74@hotmail.com> | > | > | References: <#S1bA$1MDHA.2768@tk2msftngp13.phx.gbl> | > | > | Subject: Re: SmartDeviceAuthenticationUtility for CE device | > | > | Date: Mon, 23 Jun 2003 10:14:09 +0100 | > | > | Lines: 68 | > | > | X-Priority: 3 | > | > | X-MSMail-Priority: Normal | > | > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 | > | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 | > | > | Message-ID: <eoSLahWODHA.1040@TK2MSFTNGP12.phx.gbl> | > | > | Newsgroups: microsoft.public.dotnet.framework.compactframework | > | > | NNTP-Posting-Host: dsl-217-155-140-110.zen.co.uk 217.155.140.110 | > | > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl | > | > | Xref: cpmsftngxa06.phx.gbl | > | > microsoft.public.dotnet.framework.compactframework:26349 | > | > | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework | > | > | | > | > | Hi | > | > | | > | > | Still haven't solved this problem... Checked in the router settings | > and | > | > | there are no ports/protocols blocked or any other obvious setting to | > | > | tweak... | > | > | | > | > | Maybe someone from MS can inform of what would cause the behaviour I | > | see.. | > | > | Particularly steps 3-4... | > | > | | > | > | Cheers | > | > | Daniel | > | > | | > | > | "Daniel Moth" <dmoth74@hotmail.com> wrote in message | > | > | news:%23S1bA$1MDHA.2768@tk2msftngp13.phx.gbl... | > | > | > Hi | > | > | > | > | > | > I am having problems deploying to a CE device from VS.NET 2003... | > | > | > | > | > | > The same laptop connects fine to the same device when I am in the | > | office | > | > | so | > | > | > that should waive the usual questions... | > | > | > | > | > | > The same laptop does not connect fine to the same device when I | take | > | it | > | > | > home. The difference is that the setup at home is via an ADSL | > router. | > | > | Device | > | > | > is connected via Ethernet and laptop wirelessly. Both ends can | > browse | > | > the | > | > | > net fine. This is what happens: | > | > | > | > | > | > 1. Run SDAuthUtilDevice.exe on device AND tap Start | > | > | > | > | > | > 2. Run its big brother on the PC and enter the IP address and | click | > | "Set | > | > | Up | > | > | > Device" | > | > | > | > | > | > 3. After the usual interval a box comes up reading: "Failed to | > launch | > | > | > ConmanClient.exe" with just an OK button | > | > | > | > | > | > 4. Note that at the same time it comes up, the Status on the | > previous | > | > | dialog | > | > | > reads Connected (!) | > | > | > | > | > | > 5. When I OK the dialog another dialog appears that reads: "Device | > has | > | > | been | > | > | > prepped and ConmanClient.exe has been successfully launched!" Note | > | that | > | > | this | > | > | > is the same dialog I see in the office when I manage to connect | OK. | > | > | > | > | > | > 6. I OK the dialog, then Close the previous dialog (at which point | > the | > | > | > corresponding window on the device also goes away) | > | > | > | > | > | > 7. Try to Deploy or Start with/without debugging and it always | fails | > | > with: | > | > | > "Error: Cannot establish a connection. Be sure the device is | > | physically | > | > | > connected to the development computer.". The first time it pops up | > the | > | > | > GetConnected wizard. | > | > | > | > | > | > Note that I can browse from my laptop to the device... | > | > | > | > | > | > Any ideas what setting I am missing or if there is something | > special I | > | > | must | > | > | > setup in the router? | > | > | > | > | > | > Cheers | > | > | > Daniel | > | > | > | > | > | > | > | > | > | > | > | | > | > | | > | > | | > | > | > | | > | | > | | > | | > | | | |
|
|
|
#7 |
|
Guest
Posts: n/a
|
Hi thank you for persisting with this...
You are right the same laptop and device work well together in the office... Obviously when I pull the power from the device the file system is lost, so at home I have to go thru the SDAuth..process to regenerate the ConManClient and other files... So after the regeneration at home I get the errors described previously... If I run the conmanclient.exe on the device in the office I do get the dialog with the 3 comboboxes: [TCP_CONNECT | TCP_ACCEPT], port, ip and the CONNECT CANCEL buttons.... I guess this is the dialog you would have liked me to see at home...which I don't and instead get the error box described in my previous post... Cheers Daniel ""Ximing Zhou [MS]"" <ximingz@microsoft.com> wrote in message news:PdLhlkhUDHA.2000@cpmsftngxa06.phx.gbl... > Daniel, > > In your original post you stated that the same laptop/device worked in your > office. That means ConManClient.exe was able to run on the device. Is that > still the case? It seems to contradict to the decription in your latest > post below that running ConManClient.exe on the device failed. I am just > trying to understand the actual symptoms. > > Ximing [MSFT] > This posting is provided "AS IS" with no warranties, and confers no rights. > -------------------- > | From: "Daniel Moth" <dmoth74@hotmail.com> > | References: <#S1bA$1MDHA.2768@tk2msftngp13.phx.gbl> > <eoSLahWODHA.1040@TK2MSFTNGP12.phx.gbl> > <RxU#crNRDHA.1748@cpmsftngxa09.phx.gbl> > <Ox#vvUTSDHA.3880@tk2msftngp13.phx.gbl> > <5$awaMATDHA.2284@cpmsftngxa06.phx.gbl> > | Subject: Re: SmartDeviceAuthenticationUtility for CE device > | Date: Wed, 23 Jul 2003 10:20:14 +0100 > | Lines: 219 > | X-Priority: 3 > | X-MSMail-Priority: Normal > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 > | Message-ID: <ekSO$wPUDHA.1664@TK2MSFTNGP11.phx.gbl> > | Newsgroups: microsoft.public.dotnet.framework.compactframework > | NNTP-Posting-Host: dsl-217-155-140-110.zen.co.uk 217.155.140.110 > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl > | Xref: cpmsftngxa06.phx.gbl > microsoft.public.dotnet.framework.compactframework:28955 > | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework > | > | Hi > | > | I tried the whole process that fails (as described in my original post) in > | order to get ConManClient.exe, the cnmpt...dlls and the other files > created > | on the device... > | > | I then run ConManClient on the device and it fails with error "Cannot find > | ConmanClient (or one of its components). Make sure the path and filename > are > | correct and that all the required libraries are available" > | > | So something is not getting created properly although I can see all the > | relevant files on the device! > | > | At the moment I am having to work of an SD card which takes away the nice > | debugging capabilities of VS.NET... > | > | May I ask you again to let us know *exactly* what keys/values are created > in > | the registry with this process? This will also help with the following > | problem: > | >> > | The problem in a nutshell is that when connecting a CE device with VS.NET > | and you then shutdown the device (at which stage the registry is not lost > | but the file system is) then when you power the device up again no .NET > app > | (debug or release) will run. No exception, it just doesn't come up. > Restore > | the registry to 'virgin' state and its all good again... > | << > | > | Cheers > | Daniel > | > | > | ""Ximing Zhou [MS]"" <ximingz@microsoft.com> wrote in message > | news:5$awaMATDHA.2284@cpmsftngxa06.phx.gbl... > | > Daniel, > | > > | > Try the following: > | > 1. Run ConManClient.exe on the device. It should start a "Connection > | > Manager" dialog. Select TCP_ACCEPT__ in the first dropdown. Click the > | > Connect button. > | > 2. On VS.NET, click the Device Options button on the Tool bar, or select > | > Tools/Options/Device Tools/Device and click Configure, to get the dialog > | of > | > Configure TCP/IP Transport Settings. Select "use specific IP address" > and > | > enter the IP address of the device. > | > 3. Try deploying a device application with or without debugging. > | > > | > Ximing [MSFT] > | > > | > This posting is provided "AS IS" with no warranties, and confers no > | rights. > | > -------------------- > | > | From: "Daniel Moth" <dmoth74@hotmail.com> > | > | References: <#S1bA$1MDHA.2768@tk2msftngp13.phx.gbl> > | > <eoSLahWODHA.1040@TK2MSFTNGP12.phx.gbl> > | > <RxU#crNRDHA.1748@cpmsftngxa09.phx.gbl> > | > | Subject: Re: SmartDeviceAuthenticationUtility for CE device > | > | Date: Sun, 13 Jul 2003 12:47:51 +0100 > | > | Lines: 129 > | > | X-Priority: 3 > | > | X-MSMail-Priority: Normal > | > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 > | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 > | > | Message-ID: <Ox#vvUTSDHA.3880@tk2msftngp13.phx.gbl> > | > | Newsgroups: microsoft.public.dotnet.framework.compactframework > | > | NNTP-Posting-Host: dsl-217-155-140-110.zen.co.uk 217.155.140.110 > | > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl > | > | Xref: cpmsftngxa06.phx.gbl > | > microsoft.public.dotnet.framework.compactframework:28065 > | > | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework > | > | > | > | Hi > | > | > | > | Yes my laptop can ping the device. > | > | > | > | Also the NETCFKEYS folder and the conmanclient.exe (and > | > | cmtnpt_TcpConnect/Accept dlls) are created on the device after running > | > | SDAuthUtil... (as are the EncodedSessionKey.blb and PubKey.blb under > | > | MyComputer)... > | > | > | > | While we are on the subject, is there any documentation on *exactly* > | what > | > | keys/values are created in the registry with this process? > | > | > | > | Cheers > | > | Daniel > | > | > | > | > | > | > | > | ""Ximing Zhou [MS]"" <ximingz@microsoft.com> wrote in message > | > | news:RxU%23crNRDHA.1748@cpmsftngxa09.phx.gbl... > | > | > Daniel, > | > | > > | > | > Can your laptop ping the device's IP address at home? If you delete > | all > | > | > files from \windows\NETCFKEYS amd file \window\conmanclient.exe on > | > device, > | > | > will they be restored/created by SmartDeviceAuthenticationUtility? > | > | > > | > | > Thanks, > | > | > Ximing [MSFT] > | > | > > | > | > This posting is provided "AS IS" with no warranties, and confers no > | > | rights. > | > | > -------------------- > | > | > | From: "Daniel Moth" <dmoth74@hotmail.com> > | > | > | References: <#S1bA$1MDHA.2768@tk2msftngp13.phx.gbl> > | > | > | Subject: Re: SmartDeviceAuthenticationUtility for CE device > | > | > | Date: Mon, 23 Jun 2003 10:14:09 +0100 > | > | > | Lines: 68 > | > | > | X-Priority: 3 > | > | > | X-MSMail-Priority: Normal > | > | > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 > | > | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 > | > | > | Message-ID: <eoSLahWODHA.1040@TK2MSFTNGP12.phx.gbl> > | > | > | Newsgroups: microsoft.public.dotnet.framework.compactframework > | > | > | NNTP-Posting-Host: dsl-217-155-140-110.zen.co.uk 217.155.140.110 > | > | > | Path: > cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl > | > | > | Xref: cpmsftngxa06.phx.gbl > | > | > microsoft.public.dotnet.framework.compactframework:26349 > | > | > | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework > | > | > | > | > | > | Hi > | > | > | > | > | > | Still haven't solved this problem... Checked in the router > settings > | > and > | > | > | there are no ports/protocols blocked or any other obvious setting > to > | > | > | tweak... > | > | > | > | > | > | Maybe someone from MS can inform of what would cause the > behaviour I > | > | see.. > | > | > | Particularly steps 3-4... > | > | > | > | > | > | Cheers > | > | > | Daniel > | > | > | > | > | > | "Daniel Moth" <dmoth74@hotmail.com> wrote in message > | > | > | news:%23S1bA$1MDHA.2768@tk2msftngp13.phx.gbl... > | > | > | > Hi > | > | > | > > | > | > | > I am having problems deploying to a CE device from VS.NET > 2003... > | > | > | > > | > | > | > The same laptop connects fine to the same device when I am in > the > | > | office > | > | > | so > | > | > | > that should waive the usual questions... > | > | > | > > | > | > | > The same laptop does not connect fine to the same device when I > | take > | > | it > | > | > | > home. The difference is that the setup at home is via an ADSL > | > router. > | > | > | Device > | > | > | > is connected via Ethernet and laptop wirelessly. Both ends can > | > browse > | > | > the > | > | > | > net fine. This is what happens: > | > | > | > > | > | > | > 1. Run SDAuthUtilDevice.exe on device AND tap Start > | > | > | > > | > | > | > 2. Run its big brother on the PC and enter the IP address and > | click > | > | "Set > | > | > | Up > | > | > | > Device" > | > | > | > > | > | > | > 3. After the usual interval a box comes up reading: "Failed to > | > launch > | > | > | > ConmanClient.exe" with just an OK button > | > | > | > > | > | > | > 4. Note that at the same time it comes up, the Status on the > | > previous > | > | > | dialog > | > | > | > reads Connected (!) > | > | > | > > | > | > | > 5. When I OK the dialog another dialog appears that reads: > "Device > | > has > | > | > | been > | > | > | > prepped and ConmanClient.exe has been successfully launched!" > Note > | > | that > | > | > | this > | > | > | > is the same dialog I see in the office when I manage to connect > | OK. > | > | > | > > | > | > | > 6. I OK the dialog, then Close the previous dialog (at which > point > | > the > | > | > | > corresponding window on the device also goes away) > | > | > | > > | > | > | > 7. Try to Deploy or Start with/without debugging and it always > | fails > | > | > with: > | > | > | > "Error: Cannot establish a connection. Be sure the device is > | > | physically > | > | > | > connected to the development computer.". The first time it pops > up > | > the > | > | > | > GetConnected wizard. > | > | > | > > | > | > | > Note that I can browse from my laptop to the device... > | > | > | > > | > | > | > Any ideas what setting I am missing or if there is something > | > special I > | > | > | must > | > | > | > setup in the router? > | > | > | > > | > | > | > Cheers > | > | > | > Daniel > | > | > | > > | > | > | > > | > | > | > > | > | > | > | > | > | > | > | > | > | > | > > | > | > | > | > | > | > | > | > | > > | > | > | > |
|
|
|
#8 |
|
Guest
Posts: n/a
|
OK worked around this one...
Introducing a hub and hence excluding the wireless card from the equation seems to have solved it... Have no clue why it didn't like the wireless connection at home when it has no problem with it at the office... Cheers Daniel PS If anybody finds out what are the registry settings that SDAuth alters, please post them...much appreciated... "Daniel Moth" <dmoth74@hotmail.com> wrote in message news:exfWS1OVDHA.2440@tk2msftngp13.phx.gbl... > Hi thank you for persisting with this... > > You are right the same laptop and device work well together in the office... > Obviously when I pull the power from the device the file system is lost, so > at home I have to go thru the SDAuth..process to regenerate the ConManClient > and other files... So after the regeneration at home I get the errors > described previously... > > If I run the conmanclient.exe on the device in the office I do get the > dialog with the 3 comboboxes: [TCP_CONNECT | TCP_ACCEPT], port, ip and the > CONNECT CANCEL buttons.... I guess this is the dialog you would have liked > me to see at home...which I don't and instead get the error box described in > my previous post... > > Cheers > Daniel > > > ""Ximing Zhou [MS]"" <ximingz@microsoft.com> wrote in message > news:PdLhlkhUDHA.2000@cpmsftngxa06.phx.gbl... > > Daniel, > > > > In your original post you stated that the same laptop/device worked in > your > > office. That means ConManClient.exe was able to run on the device. Is that > > still the case? It seems to contradict to the decription in your latest > > post below that running ConManClient.exe on the device failed. I am just > > trying to understand the actual symptoms. > > > > Ximing [MSFT] > > This posting is provided "AS IS" with no warranties, and confers no > rights. > > -------------------- > > | From: "Daniel Moth" <dmoth74@hotmail.com> > > | References: <#S1bA$1MDHA.2768@tk2msftngp13.phx.gbl> > > <eoSLahWODHA.1040@TK2MSFTNGP12.phx.gbl> > > <RxU#crNRDHA.1748@cpmsftngxa09.phx.gbl> > > <Ox#vvUTSDHA.3880@tk2msftngp13.phx.gbl> > > <5$awaMATDHA.2284@cpmsftngxa06.phx.gbl> > > | Subject: Re: SmartDeviceAuthenticationUtility for CE device > > | Date: Wed, 23 Jul 2003 10:20:14 +0100 > > | Lines: 219 > > | X-Priority: 3 > > | X-MSMail-Priority: Normal > > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 > > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 > > | Message-ID: <ekSO$wPUDHA.1664@TK2MSFTNGP11.phx.gbl> > > | Newsgroups: microsoft.public.dotnet.framework.compactframework > > | NNTP-Posting-Host: dsl-217-155-140-110.zen.co.uk 217.155.140.110 > > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl > > | Xref: cpmsftngxa06.phx.gbl > > microsoft.public.dotnet.framework.compactframework:28955 > > | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework > > | > > | Hi > > | > > | I tried the whole process that fails (as described in my original post) > in > > | order to get ConManClient.exe, the cnmpt...dlls and the other files > > created > > | on the device... > > | > > | I then run ConManClient on the device and it fails with error "Cannot > find > > | ConmanClient (or one of its components). Make sure the path and filename > > are > > | correct and that all the required libraries are available" > > | > > | So something is not getting created properly although I can see all the > > | relevant files on the device! > > | > > | At the moment I am having to work of an SD card which takes away the > nice > > | debugging capabilities of VS.NET... > > | > > | May I ask you again to let us know *exactly* what keys/values are > created > > in > > | the registry with this process? This will also help with the following > > | problem: > > | >> > > | The problem in a nutshell is that when connecting a CE device with > VS.NET > > | and you then shutdown the device (at which stage the registry is not > lost > > | but the file system is) then when you power the device up again no ..NET > > app > > | (debug or release) will run. No exception, it just doesn't come up. > > Restore > > | the registry to 'virgin' state and its all good again... > > | << > > | > > | Cheers > > | Daniel > > | > > | > > | ""Ximing Zhou [MS]"" <ximingz@microsoft.com> wrote in message > > | news:5$awaMATDHA.2284@cpmsftngxa06.phx.gbl... > > | > Daniel, > > | > > > | > Try the following: > > | > 1. Run ConManClient.exe on the device. It should start a "Connection > > | > Manager" dialog. Select TCP_ACCEPT__ in the first dropdown. Click the > > | > Connect button. > > | > 2. On VS.NET, click the Device Options button on the Tool bar, or > select > > | > Tools/Options/Device Tools/Device and click Configure, to get the > dialog > > | of > > | > Configure TCP/IP Transport Settings. Select "use specific IP address" > > and > > | > enter the IP address of the device. > > | > 3. Try deploying a device application with or without debugging. > > | > > > | > Ximing [MSFT] > > | > > > | > This posting is provided "AS IS" with no warranties, and confers no > > | rights. > > | > -------------------- > > | > | From: "Daniel Moth" <dmoth74@hotmail.com> > > | > | References: <#S1bA$1MDHA.2768@tk2msftngp13.phx.gbl> > > | > <eoSLahWODHA.1040@TK2MSFTNGP12.phx.gbl> > > | > <RxU#crNRDHA.1748@cpmsftngxa09.phx.gbl> > > | > | Subject: Re: SmartDeviceAuthenticationUtility for CE device > > | > | Date: Sun, 13 Jul 2003 12:47:51 +0100 > > | > | Lines: 129 > > | > | X-Priority: 3 > > | > | X-MSMail-Priority: Normal > > | > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 > > | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 > > | > | Message-ID: <Ox#vvUTSDHA.3880@tk2msftngp13.phx.gbl> > > | > | Newsgroups: microsoft.public.dotnet.framework.compactframework > > | > | NNTP-Posting-Host: dsl-217-155-140-110.zen.co.uk 217.155.140.110 > > | > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl > > | > | Xref: cpmsftngxa06.phx.gbl > > | > microsoft.public.dotnet.framework.compactframework:28065 > > | > | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework > > | > | > > | > | Hi > > | > | > > | > | Yes my laptop can ping the device. > > | > | > > | > | Also the NETCFKEYS folder and the conmanclient.exe (and > > | > | cmtnpt_TcpConnect/Accept dlls) are created on the device after > running > > | > | SDAuthUtil... (as are the EncodedSessionKey.blb and PubKey.blb under > > | > | MyComputer)... > > | > | > > | > | While we are on the subject, is there any documentation on *exactly* > > | what > > | > | keys/values are created in the registry with this process? > > | > | > > | > | Cheers > > | > | Daniel > > | > | > > | > | > > | > | > > | > | ""Ximing Zhou [MS]"" <ximingz@microsoft.com> wrote in message > > | > | news:RxU%23crNRDHA.1748@cpmsftngxa09.phx.gbl... > > | > | > Daniel, > > | > | > > > | > | > Can your laptop ping the device's IP address at home? If you > delete > > | all > > | > | > files from \windows\NETCFKEYS amd file \window\conmanclient.exe on > > | > device, > > | > | > will they be restored/created by SmartDeviceAuthenticationUtility? > > | > | > > > | > | > Thanks, > > | > | > Ximing [MSFT] > > | > | > > > | > | > This posting is provided "AS IS" with no warranties, and confers > no > > | > | rights. > > | > | > -------------------- > > | > | > | From: "Daniel Moth" <dmoth74@hotmail.com> > > | > | > | References: <#S1bA$1MDHA.2768@tk2msftngp13.phx.gbl> > > | > | > | Subject: Re: SmartDeviceAuthenticationUtility for CE device > > | > | > | Date: Mon, 23 Jun 2003 10:14:09 +0100 > > | > | > | Lines: 68 > > | > | > | X-Priority: 3 > > | > | > | X-MSMail-Priority: Normal > > | > | > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 > > | > | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 > > | > | > | Message-ID: <eoSLahWODHA.1040@TK2MSFTNGP12.phx.gbl> > > | > | > | Newsgroups: microsoft.public.dotnet.framework.compactframework > > | > | > | NNTP-Posting-Host: dsl-217-155-140-110.zen.co.uk 217.155.140.110 > > | > | > | Path: > > cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl > > | > | > | Xref: cpmsftngxa06.phx.gbl > > | > | > microsoft.public.dotnet.framework.compactframework:26349 > > | > | > | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework > > | > | > | > > | > | > | Hi > > | > | > | > > | > | > | Still haven't solved this problem... Checked in the router > > settings > > | > and > > | > | > | there are no ports/protocols blocked or any other obvious > setting > > to > > | > | > | tweak... > > | > | > | > > | > | > | Maybe someone from MS can inform of what would cause the > > behaviour I > > | > | see.. > > | > | > | Particularly steps 3-4... > > | > | > | > > | > | > | Cheers > > | > | > | Daniel > > | > | > | > > | > | > | "Daniel Moth" <dmoth74@hotmail.com> wrote in message > > | > | > | news:%23S1bA$1MDHA.2768@tk2msftngp13.phx.gbl... > > | > | > | > Hi > > | > | > | > > > | > | > | > I am having problems deploying to a CE device from VS.NET > > 2003... > > | > | > | > > > | > | > | > The same laptop connects fine to the same device when I am in > > the > > | > | office > > | > | > | so > > | > | > | > that should waive the usual questions... > > | > | > | > > > | > | > | > The same laptop does not connect fine to the same device when > I > > | take > > | > | it > > | > | > | > home. The difference is that the setup at home is via an ADSL > > | > router. > > | > | > | Device > > | > | > | > is connected via Ethernet and laptop wirelessly. Both ends can > > | > browse > > | > | > the > > | > | > | > net fine. This is what happens: > > | > | > | > > > | > | > | > 1. Run SDAuthUtilDevice.exe on device AND tap Start > > | > | > | > > > | > | > | > 2. Run its big brother on the PC and enter the IP address and > > | click > > | > | "Set > > | > | > | Up > > | > | > | > Device" > > | > | > | > > > | > | > | > 3. After the usual interval a box comes up reading: "Failed to > > | > launch > > | > | > | > ConmanClient.exe" with just an OK button > > | > | > | > > > | > | > | > 4. Note that at the same time it comes up, the Status on the > > | > previous > > | > | > | dialog > > | > | > | > reads Connected (!) > > | > | > | > > > | > | > | > 5. When I OK the dialog another dialog appears that reads: > > "Device > > | > has > > | > | > | been > > | > | > | > prepped and ConmanClient.exe has been successfully launched!" > > Note > > | > | that > > | > | > | this > > | > | > | > is the same dialog I see in the office when I manage to > connect > > | OK. > > | > | > | > > > | > | > | > 6. I OK the dialog, then Close the previous dialog (at which > > point > > | > the > > | > | > | > corresponding window on the device also goes away) > > | > | > | > > > | > | > | > 7. Try to Deploy or Start with/without debugging and it always > > | fails > > | > | > with: > > | > | > | > "Error: Cannot establish a connection. Be sure the device is > > | > | physically > > | > | > | > connected to the development computer.". The first time it > pops > > up > > | > the > > | > | > | > GetConnected wizard. > > | > | > | > > > | > | > | > Note that I can browse from my laptop to the device... > > | > | > | > > > | > | > | > Any ideas what setting I am missing or if there is something > > | > special I > > | > | > | must > > | > | > | > setup in the router? > > | > | > | > > > | > | > | > Cheers > > | > | > | > Daniel > > | > | > | > > > | > | > | > > > | > | > | > > > | > | > | > > | > | > | > > | > | > | > > | > | > > > | > | > > | > | > > | > | > > | > | > > | > > > | > > | > > | > > > > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

