In my website I am accessing my sqlserver database using "windows authencation mode". Everything works fine when I run my website using visual studio. but when I hosted my website on IIS, everytime an error message comes that "database login failed".
Login failed for user 'HAL\IUSR_HAL'.(HAL is the name of my webserver)
Should I do some modifications in database properties so that I can login to database through IIS?