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
516 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
 
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
DevOps Toolchain Recommendations

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

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

863 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

18 Experts available now in Live!

Get 1:1 Help Now