To help debug it I moved the declaration of the connection string to my Form1_Load sub and caught the exception. The actual error was that the connection string was already added, in this case from a machine.config file on the server.