title: Access Denied Error on IIS
body: <p>i have created a web site on IIS 7.5 which using 91 port on a local server(ip:192.168.0.50) and i am using framework 4.5. When i try to display my web site on browser, html files comes normally but aspx files(which have also sql connenction) doesn't. And it gives error as below. I also gave the Administrator permission to the releated path and when i tested the settings, Authentication and Authorization comes ok. So you guys have any solution? Thanks.</p>
  
  <p>Error:</p>
  
  <blockquote>
    <p>Server Error in '/' Application. Access is denied Description: An
    unhandled exception occurred during the execution of the current web
    request. Please review the stack trace for more information about the
    error and where it originated in the code.</p>
    
    <p>Exception Details: System.ComponentModel.Win32Exception: Access is
    denied</p>
  </blockquote>
  
  <p>Source Error: </p>
  
  <blockquote>
    <p>An unhandled exception was generated during the execution of the
    current web request. Information regarding the origin and location of
    the exception can be identified using the exception stack trace below.</p>
  </blockquote>
  
  <p>Stack Trace: </p>
  
  <blockquote>
    <p>[Win32Exception (0x80004005): Access is denied]</p>
    
    <p>[SqlException (0x80131904): A network-related or instance-specific
    error occurred while establishing a connection to SQL Server. The
    server was not found or was not accessible. Verify that the instance
    name is correct and that SQL Server is configured to allow remote
    connections. (provider: Named Pipes Provider, error: 40 - Could not
    open a connection to SQL Server)]</p>
  </blockquote>