my query not bring my data RRS feed

  • Question

  • hi guys 

    i develop an application using vb.net 2010 and sql server, my pc is 64 bit

    i published that application and i installed on another pc 32 bit

    but it's not running and make error, and the query don't bring the data from database

    in another way i installed them in another pc 64 and it's running successful

    so my Question is 

    if my pc is 64 bit and i wanna install on pc 32 bit, what should i do to running successful

    thank you

    Wednesday, October 24, 2012 12:12 PM

All replies

  • 64-bit application cannot run on a 32-bit version of Windows where as the reverse is possible reason – Every 64-bit Windows has a WOW64 emulator that allows 32-bit Windows-based applications to run seamlessly on 64-bit Windows.

    To make it workable on both 32 bit and 64 bit, you need to compile your project from visual studio with “Any CPU” options (Refer below Screenshoot).

    Meaning, it will run as 64-bit on a 64-bit machine and 32-bit on a 32-bit machine.  This is well explained here

    Lingaraj Mishra

    Thursday, October 25, 2012 9:47 AM
  • i change it to Any Cpu

    and it's still not working 

    another ideas ??

    Friday, October 26, 2012 5:40 PM
  • Can you share the comple exception message you get. Try compilling with x86 option and share your result

    Lingaraj Mishra

    Friday, October 26, 2012 6:16 PM