Fixes a problem with using design time connection string at runtime.