- In the extension bar, click the AdBlock Plus icon
- Click the large blue toggle for this website
- Click refresh
- In the extension bar, click the AdBlock icon
- Under "Pause on this site" click "Always"
- In the extension bar, click on the Adguard icon
- Click on the large green toggle for this website
- In the extension bar, click on the Ad Remover icon
- Click "Disable on This Website"
- In the extension bar, click on the orange lion icon
- Click the toggle on the top right, shifting from "Up" to "Down"
- In the extension bar, click on the Ghostery icon
- Click the "Anti-Tracking" shield so it says "Off"
- Click the "Ad-Blocking" stop sign so it says "Off"
- Refresh the page
- In the extension bar, click on the uBlock Origin icon
- Click on the big, blue power button
- Refresh the page
- In the extension bar, click on the uBlock icon
- Click on the big, blue power button
- Refresh the page
- In the extension bar, click on the UltraBlock icon
- Check the "Disable UltraBlock" checkbox
- Please disable your Ad Blocker
- Disable any DNS blocking tools such as AdGuardDNS or NextDNS
- Disable any privacy or tracking protection extensions such as Firefox Enhanced Tracking Protection or DuckDuckGo Privacy.
If the prompt is still appearing, please disable any tools or services you are using that block internet ads (e.g. DNS Servers, tracking protection or privacy extensions).
Question
still1
Hi,
I am facing a strange issue while processing an excel file using C# code. We have a scheduler that has a file watcher.
The file watcher looks for the specified file in a shared directory and when found runs a C# code(console app). The user manually place the file at that location.
This feature works fine when I(and all IT folks) put the file at this location but when a business user do it we are getting this error.
"External table is not in the expected format."
The scheduler have complete access to the path and run as an admin.
It definitely is not a format issue since i used the same file to process from my login and it worked. below is the code for excel read
string connectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;
Data Source=" + args[0].ToString() + @";Extended Properties=""Excel 12.0;HDR=YES;""";
string strSQL = "SELECT * FROM [" + ConfigurationSettings.AppSettings["ExcelSheetName"] + "$]";
OleDbConnection excelConnection = new OleDbConnection(connectionString);
excelConnection.Open();
OleDbCommand dbCommand = new OleDbCommand(strSQL, excelConnection);
OleDbDataAdapter dataAdapter = new OleDbDataAdapter(dbCommand);
// Create data table
DataTable dTable = new DataTable();
dataAdapter.Fill(dTable);
the excel drivers used: http://www.microsoft.com/downloads/details.aspx?familyid=7554f536-8c28-4598-9b72-ef94e038c891&displaylang=en
Link to comment
https://www.neowin.net/forum/topic/922904-external-table-is-not-in-the-expected-format-cexcel/Share on other sites
10 answers to this question
Recommended Posts