error in connection to mdb file: System.Data.OleDb.OleDbException: An outgoing call cannot be made since the application is dispatching an input-synchronous call.

hi,

why I get error when opening connection to microsoft access mdb file:

System.Data.OleDb.OleDbException: An outgoing call cannot be made since the application is dispatching an input-synchronous call.
 
njgroupAsked:
Who is Participating?
 
CodeCruiserCommented:
Keep the file in a location which does not trigger the UAC.
0
 
njgroupAuthor Commented:
the project was working file in windows xp, but I got this error in windows 7
0
 
CodeCruiserCommented:
Where is the MDB file located?
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
njgroupAuthor Commented:
in C: drive
0
 
CodeCruiserCommented:
Windows 7 does not allow access to C drive and many other folders (such as windows and program files). You need to use some other folder (such as your own program folder).
0
 
njgroupAuthor Commented:
but I created new folder in C drive and I grant access to that folder, even I ran the software as administrator !
0
 
CodeCruiserCommented:
Its down to UAC (User Access Control). It blocks certain actions even if you are administrator and it prompts you on many occassions (such as when you run an exe).
0
 
njgroupAuthor Commented:
so how to overcome the problem, what do you think?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.