Application running problem in win7

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • honny singh
    New Member
    • Sep 2012
    • 4

    Application running problem in win7

    Dear sir

    When I am starting my application by using 'Run as administrator' option then its working properly in win7 but when I am starting it in simple way then its getting error message at start.

    Run-time error '-2147217865 (80040e37)':
    The Microsoft Jet database engine cannot find the input table or query 'Setpass'. Make sure it exists and that its name is spelled correctly.

    please help me

    Thanks
  • zmbd
    Recognized Expert Moderator Expert
    • Mar 2012
    • 5501

    #2
    Double check that you have read/write/modify rights to the directory where the file is located.

    Comment

    • honny singh
      New Member
      • Sep 2012
      • 4

      #3
      Yes I don't have the rights to the directory 'Program Files'

      so please suggest me some codes to allow these rights.

      Thanks

      Comment

      • zmbd
        Recognized Expert Moderator Expert
        • Mar 2012
        • 5501

        #4
        HS,
        In a properly maintained network, only an Admin can alter the OS-Level privileges either per user or group. There is no code that should work... unless ran by an Admin.

        Besides, starting in Win7 - MS started enforcing the prohibition of programs writing back to the program directory which MS had been warning about since NT4.0 (Google it).

        So, YOU need to figure out what it is that your application is doing that requires rights outside of the limited user account and fix those... welcome to the new paradigm

        Comment

        • IraComm
          New Member
          • Oct 2012
          • 14

          #5
          Move the program to anther folder outside c:/Programs or c:/Programs(386)
          This does sound like a permissions issue. Seen it before.
          Create a folder of the c: drive (C:/myprogram/) and copy all your files to it.

          Comment

          Working...