Click here to Skip to main content
15,881,687 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
ERROR: Record(s) cannot be read; no read permission on 'MSysObjects'.

I need table names in ListView not in DatagridView

i am getting the above error when i execute this below query
("SELECT Name FROM MSysObjects WHERE type=1 and flags=0", cn)

cn=Connection String
Posted
Updated 30-May-11 21:58pm
v2
Comments
Wild-Programmer 31-May-11 3:59am    
This question has already been answered 2 times.
Duplicate post @ http://www.codeproject.com/Answers/204118/Access-tables-in-VB-net.aspx
and http://www.codeproject.com/Answers/204112/Access-2007-Permisions.aspx

1 solution

This has nothing to do with ListView or DataGridView. You have to solve your access permission on the SELECT statement first. Check our connection string user id and password.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900