title: SQL Server Login for IIS APPPOOL on different machines - same domain
body: <p>I want to reference these links because they highlight my issue </p>
  
  <p><a href="https://stackoverflow.com/questions/20157589/create-sql-server-login-for-iis-apppool-iis-and-sql-server-on-different-machines">Create SQL Server Login for IIS APPPOOL - IIS and SQL Server on different machines</a></p>
  
  <p>and </p>
  
  <p><a href="https://stackoverflow.com/questions/4463528/configuring-asp-net-mvc-apps-iis-7-5-application-pool-identity-as-login-on-sql?rq=1">Configuring ASP.NET MVC app&#39;s IIS 7.5 Application Pool identity as login on SQL Server 2008 R2</a>. </p>
  
  <p>To summarize the posts, I have <code>ServerA</code> with <code>IIS</code> and my app pool and <code>ServerB</code> with <code>SQL Server</code>. <code>ServerA</code> SQL recognizes my app pool as a login since that is where <code>IIS</code> resides, but now I need my app pool to access <code>SQL</code> on <code>ServerB</code>. </p>
  
  <p>I have tried to create a SQL login on <code>ServerB</code> for my app pool as <code>Domain\ComputerName$\IIS APPPOOL\AppPoolName</code>, but it does not recognize that. It recognized <code>Domain\ComputerName$</code>, but my application still does not work.</p>
  
  <p>Am I on the right track, if so what user name do I specify? My DBA skills are not as sharp as they should be. Thank you.</p>