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
515 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
Comment Utility
the project was working file in windows xp, but I got this error in windows 7
0
 
LVL 83

Expert Comment

by:CodeCruiser
Comment Utility
Where is the MDB file located?
0
 

Author Comment

by:njgroup
Comment Utility
in C: drive
0
 
LVL 83

Expert Comment

by:CodeCruiser
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:njgroup
Comment Utility
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
Comment Utility
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
Comment Utility
so how to overcome the problem, what do you think?
0
 
LVL 83

Accepted Solution

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

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now