Using LXE MX5 terminal Windows CE with visual studio 2008 under Windows 7 x64

This is a quick guide of use for Compile,debug and test Visual Studio 2008 visual basic programs into a LXE terminal with windows CE in a computer with Windows 7 x64

Visual studio 2008 uses ACTIVE SYNC 4.5 to communicate with the mobile terminal and run the testing program there. But Activesync doesn’t work in windows 7 (neither 32 or 64) and I didn’t want to install XP or have a VM with XP just for it, the solution was the next:

Under visual studio there is a way to configure the IP of the Windows CE device and under the windows CE device there is a way to run a program to “wait” for the connection from the computer under Ethernet and not under the USB port with Active sync , so here the steps.

-Install Visual Studio 2008

-Install service pack 1

-Install DRVUPDATE-AMD64.exe (doesn’t matter if is an INTEL computer)

-Install Windowos Mobile 6 pro SDK  (refresh.msi)

NOW contigure in Visual Studio 2008

TOOLS-OPTIONS-

clip_image002

then

clip_image004

PROPERTIES

clip_image005

CONFIGURE

clip_image006

Type the IP of our Terminal to work on

Now Configure the TERMINAL

At the terminal configure an IP and the next files should be copied in the WINDOWS folder of the terminal, for the Windows in spanish you will find the files in the next location:

C:\Archivos de programa\Archivos comunes\Microsoft Shared\CoreCon\1.0\Target\wce400\armv4

clip_image007

Now at the terminal run the Registry Editor and add the next KEY with the next value under SYSTEM

HLKM\System\CoreConOverrideSecurity = 1 DWORD

clip_image009

At the terminal run COMMAND and execute CONMANCLIENT2.EXE

clip_image010

Here the terminal stay as “waiting for something” so you can run here the program at the Visual Studio 2008 and should run at the terminal, the first time that you compile it takes a little while, the following one will run fast.

The remotefile viewer from visual studio also works with this to copy the end CAB file.

regards

@sistronico

Visual Studio Error c# asp  HTTP Error 500.23

Error:
HTTP Error 500.23 – Internal Server Error. An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.

Error:
HTTP 500.23 – Internal Server Error
Se ha detectado una configuración de ASP.NET que no se aplica en el modo integrado de canalización administrada.

Add / Agregar al:
Web.config

<system.webServer>
< validation validateIntegratedModeConfiguration=»false» />< /system.webServer> 

Listo