locked
dot net 2.0 application fails in windows 7 RRS feed

  • Question

  • Hi,

    I am trying to run an application in windows 7 which was developed using dot net framework 2.0. Am getting "System.NullReferenceException: Object reference not set to an instance of an object.". Its a thrid party application which am trying to run in my machine.

    Thanks in advace.
    Wednesday, March 3, 2010 4:59 PM

Answers

  • Guys, Finally it requires a reboot. I didnt reboot the system as I am testing multiple softwares (compatibility to windows 7). The worst part is after installing the software its not asking me to restart the machine.

    Thanks for you guys.
    • Marked as answer by tsathiyan Friday, March 5, 2010 4:03 PM
    Friday, March 5, 2010 4:03 PM

All replies

  • Hi,

    this is a programming mistake. The code tries to access an object with is null. Contact the developers and request an update.

    André
    "A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
    • Proposed as answer by Andre.Ziegler Wednesday, March 3, 2010 11:26 PM
    Wednesday, March 3, 2010 11:26 PM
  • Hello,

    Refer the following article to modify your application:

    FIX: You receive a "System.NullReferenceException: object reference not set to an instance of an object" error message when you implement JIT optimization by using a float
    http://support.microsoft.com/kb/813340
    Thomas77
    Thursday, March 4, 2010 3:02 AM
  • Hi,

    Thanks for your reply guys.

    This is a third party application so i am having only the executable file, which works perfectly in windows xp and have no issues. But when i installed and try to access it from windows 7 it throws the error. I have tried applying the shims using ACT but no luck.

    Thanks,
    Sathiya
    Thursday, March 4, 2010 6:50 PM
  • Hi,

    if you can't have access to the source code and no possibility to contact the developer for a fix, use the XPMode with the new VirtualPC to run the application.

    André
    "A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
    Thursday, March 4, 2010 10:33 PM
  • Hello,

    Have you also tried to run the application with windows xp compatible mode:

    1. Right-click the exe. file to launch the program and choose Properties.
    2. Under the Compatibility tab, please check the "Run this program in compatibility mode for:" and choose Windows XP.
    3. Click OK to save the settings.

     


    Thomas77
    Friday, March 5, 2010 1:18 AM
  • Guys, Finally it requires a reboot. I didnt reboot the system as I am testing multiple softwares (compatibility to windows 7). The worst part is after installing the software its not asking me to restart the machine.

    Thanks for you guys.
    • Marked as answer by tsathiyan Friday, March 5, 2010 4:03 PM
    Friday, March 5, 2010 4:03 PM