Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
getting the following error while saving the excel sheet in server path and reading the data what
may be the solution?

Format of the initialization string does not conform to specification starting at index 33.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Format of the initialization string does not conform to specification starting at index 33.

Source Error:

Line 486:
OleDbConnection oledbcon = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.4.0;Data Source='" + filepath + "';" + "Extended Properties= 'Excel 8.0;");
Posted

1 solution

this is helpful for u...




Display Excel file data into Gridview in asp.net[^]


if u satisfied u have to click on accept solution link
 
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