Link to home
Start Free TrialLog in
Avatar of njgroup
njgroup

asked on

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.
 
Avatar of njgroup
njgroup

ASKER

the project was working file in windows xp, but I got this error in windows 7
Avatar of Nasir Razzaq
Where is the MDB file located?
Avatar of njgroup

ASKER

in C: drive
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).
Avatar of njgroup

ASKER

but I created new folder in C drive and I grant access to that folder, even I ran the software as administrator !
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).
Avatar of njgroup

ASKER

so how to overcome the problem, what do you think?
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial