Solved

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.

Posted on 2010-11-08
8
517 Views
Last Modified: 2013-12-17
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.
 
0
Comment
Question by:njgroup
  • 4
  • 4
8 Comments
 

Author Comment

by:njgroup
ID: 34089370
the project was working file in windows xp, but I got this error in windows 7
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 34094935
Where is the MDB file located?
0
 

Author Comment

by:njgroup
ID: 34157371
in C: drive
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 83

Expert Comment

by:CodeCruiser
ID: 34158208
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
 

Author Comment

by:njgroup
ID: 34162271
but I created new folder in C drive and I grant access to that folder, even I ran the software as administrator !
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 34162346
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
 

Author Comment

by:njgroup
ID: 34180146
so how to overcome the problem, what do you think?
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 34180274
Keep the file in a location which does not trigger the UAC.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question