Click here to Skip to main content
15,894,646 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

i have developed one application in that user uploads Excel/Csv files and in coding i am reading that file for that i have used

Provider=Microsoft.Jet.OLEDB.4.0;Extended Properties='text;HDR=Yes;FMT=Delimited' to read the csv and for excel Properties='Excel ;HDR=Yes;FMT=Delimited'

and that application is integrated with Share point, deployed as Sahre point Site and when i tryed to read the file i am getting

Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine error

i tryed with Enable 32 bit Application=True and Load User Profile =true settings but it won't works i have installed all Drivers in that machine but still same problem

the same application works with Normal IIS Website by applying this settings Enable 32 bit Application=True and Load User Profile =true

in IIS 7 Please give me the solution

thanks
Posted

1 solution

I face same problem with windows 7 64 bit and solution work for me is to change platform and configuration to x86 from project properties.

hope this will work for you, please let me know.

--Pankaj
 
Share this answer
 
Comments
anup_k 28-Feb-11 1:26am    
hi pankaj from where i can change this
pankajupadhyay29 28-Feb-11 1:28am    
go to project-> project properties->build -> platform target
anup_k 28-Feb-11 1:43am    
its AnyCPU in my project properties so i think it is x86
but actual problem is the project is working from my solution when we buil it on other System that is windows server 2008 that time it shows problem and there site is integrated with sharepoint
pankajupadhyay29 28-Feb-11 1:44am    
this problem is only if you are using Oledb provider with 64 bit OS.
anup_k 28-Feb-11 1:47am    
Yes then what is the solution for that

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