• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 530
  • Last Modified:

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.
 
0
njgroup
Asked:
njgroup
  • 4
  • 4
1 Solution
 
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
 
njgroupAuthor Commented:
in C: drive
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
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
 
CodeCruiserCommented:
Keep the file in a location which does not trigger the UAC.
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.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now