We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9fe6f9 commit 51b123fCopy full SHA for 51b123f
src/System.Data.Jet/JetConnection.cs
@@ -418,6 +418,7 @@ public bool DatabaseExists()
418
public static bool DatabaseExists(string connectionString)
419
{
420
string fileName = JetStoreDatabaseHandling.ExtractFileNameFromConnectionString(connectionString);
421
+ fileName = fileName.Trim('"');
422
if (string.IsNullOrWhiteSpace(fileName))
423
throw new Exception("Cannot retrieve file name from connection string");
424
return System.IO.File.Exists(fileName);
0 commit comments