![]() |
Error: "The expected token is 'NAME'." in system.dll
Receiving this error:
Code:
An unhandled exception of type 'System.Configuration.ConfigurationException' occurred in system.dllCode:
System.Configuration.ConfigurationSettings.AppSettings["ConnectionString"]Any ideas? |
App.Config syntax error
It turns out that this error signifies a syntax error somewhere in the App.Config file. Most people seem to misspell something like <appSettings>. In my case, I wanted double quotes (") embedded in the value string. I tried ("") and (\") but neither one worked. So the question has changed.
How do you achieve the following without receiving an error: Code:
<add key="ExcelFileFormat" value="Provider=Microsoft.Jet.OLEDB.4.0; Extended Properties=""Excel 8.0;HDR=YES"" " /> |
| All times are GMT. The time now is 05:33 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.