"Der Anbieter von Microsoft.Jet.OledB.4.0" ist nicht auf dem lokalen Computer registriert. "

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: "Der Anbieter von Microsoft.Jet.OledB.4.0" ist nicht auf dem lokalen Computer registriert. "

by Anonymous » 13 Feb 2025, 21:21

• Fehler: System.inValidoperationException: 'Der Anbieter' microsoft.jet.oledb.4.0 'ist nicht auf der lokalen Maschine registriert. Excel -Datei mit ASP.NET -Webanwendung. if (Path.GetExtension(filePath) == ".xls")
{
connectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source {0};Extended Properties='Excel 8.0;HDR=YES;IMEX=1'";
}
else if (Path.GetExtension(filePath) == ".xlsx")
{
connectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source {0};Extended Properties='Excel 8.0;HDR=YES;IMEX=1'";
}
connectionString = string.Format(connectionString, filePath);
< /code>
Beim Öffnen Sie die Verbindung, die erwähnte Fehler geführt. Für SQL Server (17.10.6.1) < /p>
• Microsoft Ole DB -Treiber für SQL Server (18.7.4.0) < /p>
Probiert .xls und .xlsx beide Umfang.

Top