Click here to Skip to main content
16,011,579 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
In windows application project am creating mdf files,
From version 1.0.0.0 to 6.5.0.0 creating mdf files was working fine, suddenly am getting below exception during opening of db connection.

"The 'VFPOLEDB.1' provider is not registered on the local machine."

Project build as x86.

Please guide me what and where to check.
Posted
Updated 10-Jun-17 22:00pm

Have u Install VFP Ole DB Provider in your System ?

If No then Please Install it from following link.

http://www.microsoft.com/downloads/details.aspx?FamilyId=E1A87D8F-2D58-491F-A0FA-95A3289C5FD4&displaylang=en
 
Share this answer
 
Comments
kalaivanan from Bangalore, India 7-Oct-14 1:30am    
yes, VFP Ole DB Provider was installed in my PC.
do you change your APPLICATION->COMPILE OPTION as x86 CPU ?
 
Share this answer
 
Comments
kalaivanan from Bangalore, India 7-Oct-14 1:46am    
Yes, Build-> Configuration manager->Platform is x86.
add this line to system.web
<identity impersonate="true" username="DomainName\xxxxx" password="xxxxx">
 
Share this answer
 
Comments
kalaivanan from Bangalore, India 7-Oct-14 2:53am    
Whether i need to system.web namespace.
no line is available.
Please check the below link . It might help you



http://www.nullskull.com/q/10042218/vfpoledb1-provider-is-not-registered.aspx[^]
 
Share this answer
 
Comments
CHill60 7-Oct-14 13:09pm    
Instead of posting multiple solutions use the "improve solution" link. It's less confusing for readers

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900