Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all,

From last 40 hours i am facing weird issue.
I have an application with asp.net 3.5 and back end as sql server 2008.
There is a page on which i am loading excel file to gridview and then uploading data from gridview to sql server.
It works perfectly on local machine, also on IIS.

Issue is:
After uploading excel file multiple times i get error.
Error is: system.exception error in initializing oledbconnectioncomes and it goes once i reset IIS.

Please suggest some valuable tips/solution to solve this as it is not feasible to reset IIS again and again.

Error that comes: System.Exception: error in initializing oledbconnection

Thanks
Posted
Updated 9-May-12 1:47am
v2

1 solution

plz check your web.config file
may be spacing problem such as: connectionString="Data Source etc.
 
Share this answer
 

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