cannot access sql server after publishing site in iis7

Posted by vinu on Stack Overflow See other posts from Stack Overflow or by vinu
Published on 2012-10-15T09:24:27Z Indexed on 2012/10/15 9:37 UTC
Read the original article Hit count: 231

Filed under:
|
|
|

I am created a website using visual studio 2010. On the time of the development of website I am able to access the database.. but after publishing the site using IIS7..i was unable to access the database..the exception occured during that time was "the connection is in the closed state".in IIS7 When I changed the application pool identity to localsystem, it worked. Data base is installed in the same machine. and server is SQL SERVER 2008 R2

© Stack Overflow or respective owner

Related posts about c#

Related posts about visual-studio-2010