locked
connection not working on 4.0 RRS feed

  • Question

  • User1069198773 posted

    Hi.

    This is on my web.config file:

    <add name="MyName" connectionString="Data Source=localhost;Initial Catalog=MyCat;Integrated Security=SSPI" />

    It's working on asp.net 3.5 but not working on asp.net 4.0. Tell me please, why is it not working?

    Friday, May 8, 2020 5:02 AM

All replies

  • User288213138 posted

    Hi jfr,

    It's working on asp.net 3.5 but not working on asp.net 4.0. Tell me please, why is it not working?

    Your connectionString not working on asp.net 4.0, does VS alert any errors?

    <add name="MyName" connectionString="Data Source=localhost;Initial Catalog=MyCat;Integrated Security=SSPI" />

    And your connectionString is incomplete.

    So please post more information about your question.

    Best regards,

    Sam

    Friday, May 8, 2020 6:09 AM