Invoke or Run IIS Express x64 with VS2012.

For some reasons, you may have to run IIS Express x64 from VS2012. For later versions, it is automatically instantiated, however in case of VS2012, it isn’t. And there is no way Microsoft provides any patch or upgrade.

Although there is untestable hack or trick which did work for me.

You have to modify registry to invoke or run IIS Express x64.

Create batch file (*.bat) and put below code.

reg add HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\WebProjects /v Use64BitIISExpress /t REG_DWORD /d 1

Advertisements

Tips for Debugging Windows Mobile Network Programming using Real Devices and Emulators

Assumption: The host computer’s IP Address is 192.168.1.100.

For Windows Mobile Classic/Professional Devices or Emulators

If you connect your device to ActiveSync, the following IP addresses will be assigned:
Comp: 169.254.2.2
Device: 169.254.2.1

If you connect your emulator to Activesync, the following IP addresses will be assigned:
Comp: 192.168.1.100
Emulator: 192.168.1.101 (next available IP address)

If you use Network Card Mapping for your emulator, the following IP addresses will be assigned:
Comp: 192.168.1.100
Emulator: 192.168.1.101 (next available IP address)

Hence, for sockets programming testing using emulator, set the server and client to rendezvous at the computer’s IP address and not 169.254.2.2.

For sockets programming testing using real device, set the server and client to rendezvous at 169.254.2.2.

For Windows Mobile Standard Devices or Emulators

If you connect your emulator to ActiveSync, the following IP addresses will be assigned:
Comp: 192.168.1.100
Emulator: 192.168.55.101 (next available IP address)

If you use Network Card Mapping for your emulator, the following IP addresses will be assigned:

Comp: 192.168.1.100
Emulator: 192.168.1.101

Hence, for sockets programming testing using emulator, set the server and client to rendezvous at the computer’s IP address and not 169.254.2.2 and use network card mapping.

trackback

%d bloggers like this: