Hello,
I developed a website in Asp.NET MVC that uses a SQL connection string but Windows authentication is not taken into account.
My website is published on an IIS7 server and the SQL Server is on other server.
Here is the connection string I am currently using:
<connectionStrings><add name="Context" connectionString="data source=ServerName;initial catalog=DbName;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" /></connectionStrings>
When I insert data into a table, SQL server uses the IIS server session or I would like to use the user's session which inserts data from my site.
Can you help me please?