Posible Framework problem RRS feed

  • Question

  • Hi,

    we have developed a windows application that uses .net framework 3.5.

    This application uses an access database for storing data.

    The application runs smouthly on windows XP/VISTA/7 using target CPU (x86).

    There are although a couple of customers that have problem running the application.

    At the beggining of the application it throughts an unhandled exception

    System.IndexOutOfRangeException : there is no row at position 0. which had occured from a select query at the access database.

    the select query shouldn't have 0 rows. After debuging we have discovered that the real problem was an other exception that was caught before that

    "Impossible to load the file or the assembly 'System.EnterpriseServices.Wrapper.dll' or one of his dependence. Impossible to find the specific file."

    this exception after a little search we made we found that is derived from a bad .net framework 2 installation.

    We have firstly used the "fixit" application microsoft provides but with no success.

    Thus we uninstall and install the frameworks and the application worked.

    A few weeks later the same customer has the same problem to the same pc. As our customer told us, they have done no other installation since then.

    Is it possible a windows update to cause that problem again?

    how can we fix it without unistalling/installing the frameworks?

    can we prevent this exception in some way?


    Thanks in advance


    Sarafidis Michael





    Monday, October 3, 2011 8:29 AM


All replies