Provider=Microsoft.ACE.OLEDB.12.0 asp.net web forms session out

Tahir Shafique 21 Reputation points
2022-03-10T10:07:44.35+00:00

Hello,

trying to read data from excel, every thing is working fine in development environment, on IIS session expires on below line.

OleDbcon = New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + filePath + ";Extended Properties=Excel 12.0;")
OleDbcon.Open()

Any suggestion.

Thanks

Microsoft 365 and Office | Development | Other
Developer technologies | ASP.NET | Other
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.