The connection is successful but when I try to generate many reports with different buttons it displays for two or more times then the following error comes. Please, I look forward. thnanks.

The connection is successful but when I try to generate many reports with different buttons it displays for two or more times then the following error comes. Please, I look forward. thnanks.

Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Naimish MakwanaRank #324 · 7.7K reputationPosted Feb 1, 2023, 3:49 AM EST
Hello Nuru,
Please check below causes of the
conn.Open()error:Thanks
Naimish Makwana
Muhammad Imran AnsariRank #326 · 7.6K reputationPosted Feb 1, 2023, 3:52 AM EST
There could be multiple reason of this error:
1. You are not proper closing the connection after generating report.
2. There could be a access issue
Kindly check this link for more detail resolution steps:
https://www.c-sharpcorner.com/blogs/systemdataoledboledbexception-unspecified-error1
Pasang TamangRank #449 · 5.6K reputationPosted Feb 1, 2023, 4:57 AM EST
Hi,
This could be permission issue also. You can try by moving the access db file to different drive than in desktop. And make sure your access db file is not open with access program. If it is locked by another program then that time also possible to get this error.
Regards,
Pasang