system.data.oledb.oledbexception (0x80004005): could not find file

后端 未结 3 2001
温柔的废话
温柔的废话 2021-01-16 05:28

Can someone help me with this error please? I can\'t figure it out. I have this error on Windows XP but not on Windows 7. What I did is i attached a photo and save it to the

3条回答
  •  清歌不尽
    2021-01-16 05:54

    Do check that the path point to a mdb in the App_Data folder

    Not very sure but if the database is inside the App_Data folder, simply use:

    "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|StaffingSystem_DB.mdb"
    

提交回复
热议问题