locked
Format of the initialization string does not conform to specification starting at index 58. RRS feed

  • Question

  • User-14642827 posted
    <connectionStrings>
        <add name="EFDbContext" connectionString="Data Source=BRENTHUMBER\HUMBERDEV;Initial Catalog=Medical;Integrated Security" providerName="System.Data.SqlClient" />
      </connectionStrings>


    Could someone tell me what is this error and how to fix it?  I think it has something to do with my connection string

    Tuesday, July 21, 2015 2:29 PM

Answers

  • User2103319870 posted

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

    You should set a value to IntegratedSecurity property in your connection string

    <connectionStrings>
        <add name="EFDbContext" connectionString="Data Source=BRENTHUMBER\HUMBERDEV;Initial Catalog=Medical;Integrated Security=SSPI" providerName="System.Data.SqlClient" />
      </connectionStrings>

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, July 21, 2015 2:38 PM