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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Pasang TamangPosted Feb 1, 2023, 9:57 AM
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
Muhammad Imran AnsariPosted Feb 1, 2023, 8:52 AM
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
Naimish MakwanaPosted Feb 1, 2023, 8:49 AM
Hello Nuru,
Please check below causes of the
conn.Open()error:Thanks
Naimish Makwana