RSS 2.0
# Tuesday, April 18, 2006

This is one of those “..note to self” blogs to document for future reference the meaning of the exception message:

Format of the initialization string does not conform to specification starting at index 0

To me this actually means:

When the provider is being initialized with a collection of key/value pairs, the string that defines those key/value pairs is not properly formatted.

Perhaps that would be obvious to most but in my case, the exception would be difficult to track down in the field since a provider to my provider was actually throwing the exception.  In particular, my provider (AspNetSqlMembershipProvider) had a properly configured ConnectionStringName attribute but the format of the corresponding connection string (in the web.config connectionstrings section) was not properly formatted as “data source=…”. (I had gone with the proverbial connectionString="Foo" to see if/how it would blow.) 

In fact, it was the SqlClient Data Provider that was originating the exception, at least in my case.

I post this here so that if I get “oldTimers” or if anyone else suffers from the exception, it may help offer a clue.

Brian Mishler

 

 

Tuesday, April 18, 2006 5:56:21 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [1] -
Asp.Net
Navigation
Archive
<April 2006>
SunMonTueWedThuFriSat
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456
Blogroll
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2010
Brian Mishler
Sign In
Statistics
Total Posts: 13
This Year: 0
This Month: 0
This Week: 0
Comments: 15
Themes
Pick a theme:
All Content © 2010, Brian Mishler
DasBlog theme 'Business' created by Christoph De Baene (delarou)