Smartphone Sdk 5.0, VS 2005 beta 2 , WinXp 64 Bit sp1
I'm trying to develop some appsps for Windows CE 5.0 with the above software.
But i always gettin' a connection and deployment error:
All attempts to connect to the deployment target at port 5654 have failed. Addresses attempted:
169.254.204.118; fe80::203:ffff:fe8c:9211%5;fe80::5efe:169.254.204.118%2;::1;fe80::1%1.
Connect to device failed.I tried everything:
- DMA upgrade
- reinstalling - repair
- Loopback device with static ip
- assigned loopback ip to device and selected loopback device in device settings etc.checked everything.
What solution could it give?
Thx
Martin
This error means that you are using the TCP transport and that VS fails to connect to your emulator over the listed ips. There are many solutions to fix this problem. Since you mention having installed the DMA upgrade, make sure you use the DMA transport. To verify this, go into Visual Studio Tools's menu, Options, Devices, Devices, Smartphone Emulator, Properties. In the transport drop down list, make sure you have the "DMA transport" selected. Another solution would be to use ActiveSync. Open the Device Emulator Manager from the Tools Menu of VS and use it to "cradle" your emulator. Then, in ActiveSync 4.0, make sure that "DMA" is selected in the Connection Settings. You should now be able to target your emulator as if it was a real connected device.
If you want to use the loopback adapter, you do not have to assign the loopback adapter any ip. Leave the default settings: "Assign ip automatically". Also, when the emulator is up, verify which network card it uses in the configuration dialog, in the network panel.
Yes the dma upgrade does not funtion properly coz of this installation error:
16:40:COMMONPROGRAMFILES C:\Program Files\Common Files
16:40:COMMONAPPLICATIONDATA C:\Documents and Settings\All Users.WINDOWS\Application Data
16:40:APPLICATION DATA C:\Documents and Settings\Administrator\Application Data
16:40:LOCALAPPLICATION DATA C:\Documents and Settings\Administrator\Local Settings\Application Data
16:40:PROGRAM FILES C:\Program Files
16:40:RUNNING FROM C:\Program Files\Microsoft\DMA Transport Update for VS 2005 Beta 2\Update\
16:40:Determining Install Paths
16:40:ERRORObject reference not set to an instance of an object
16:40:1.Finding Running Programs
16:40: Running Programs List Completed
16:40:ERROR: Not Running CopyFiles
16:40:ERROR: Not Running HandleMagneto
16:40:ERROR: Not Running RemoveSaveState
16:40:ERROR: Not Running RegisterFiles
16:40:ERROR: Not Running GenerateState
"16:40:ERRORObject reference not set to an instance of an object" -> something couldn't be instantiated the right way it should.
Thx
Martin
When i use the loopback adapter and let assign the ip to the adapter automatically, the loopback driver tries to find a DHCP server to get an ip for ever ( never get back from this status ). Cause i have a static network with all manually assigned ips i think i need to enable DHCP.
I don't know but i think i need to disable the static ips and enable DHCP or? Plz NOT :-)
Thx
Martin
The DMA patch is not compatible with 64 bits OS at this point. It fails to find the \program files (x86) directory. The latest CTP build would fix this problem for you.
I would suggest that you use ActiveSync 4.0 as the method to connect to the emulator. Assigning ips on a pocket pc would also fix the problem you are seeing but since the Smartphone doesn't allow this, ActiveSync is the way to go.
What ActiveSync do you mean? The external tool or the intern VS 2005 options?
I'm really confused. The external Activesync program can only connect to physical devices as far as i can see.
Where to get the latest CTP of the dma upgrade?
Thanks in advcance.
Martin
Finally i did ( tried ) it again ( oops ) :-) and found out what you mean and now it's working the way it should.
Not that fast but i think you guys will speed it up in the final rlz of VS 2005.
Bye and greetz
from Berlin
Martin