IIS not working with sql server RRS feed

  • Question

  • User-920806005 posted

    Hi everyone! I have a web api project.

    It works when I press START on Visual Studio.

    But when I publish the project to IIS, it doesn't work.

    The problem is the communication between IIS and SQL server, in fact error occurs when I try to do a query from code.

    Here is my connection string: 

    Data Source=localhost; Initial Catalog=xxx; Integrated Security=True; MultipleActiveResultSets=true;
    How can I solve this problem?
    Wednesday, April 18, 2018 3:08 PM


All replies