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
520 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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 …
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

740 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