Empty Cart

News & Blog

What We Say

Building a report in Excel and getting the error "Initialization failed"? Check your password.

Don't kill the computerI was building a report for a client in Excel using an OLEDB connection to the back end data base.  Pretty standard stuff, do it all the time.  From my favorite SQL Query editor tool all was well.  Snap the SQL Select statement into Excel and all I can get is "Initialization failed" and no data.

In fact, attempting to get any data (even just from a single table) from this data base gave the same error message.

After some fumbling around I realized that we were connecting to the back end data base using a specific user name and a password.  And the password had a pound sign (#) in it.

I reset the password to blank and everything started working.

Apparently the Excel connection string builder does not correctly escape all possible special characters.  So this client will have to change his password for this to work.

Moral of the story - sometimes you just have to punt.

Patricia Egen Consulting, LLC

803 Creek Overlook, Chattanooga, TN 37415
Main office: 423-875-2652 • Arizona office: 480-788-7504 • Florida office: 754-300-2827
support@egenconsulting.com