Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 1881

IIS7 (SQL Database and Web Host is the same Server) - domain\servername$ error

$
0
0

Hi. 

Our current set-up for web server (host) and database server (sql) are different servers.

(ie. host = ptywebtestsvr1, database = ptydevsvr) with different  log-in accounts (ie. host = webaccount,  database = windows authentication) 

In IIS7 Application Pools, by default ASP.Net v4.0, DefaultAppPool Identity is NetworkService and we specified domain\webaccount for our specific web applications.  

We're able to display our web applications and have no problem so far.

Now, we're trying to set-up IIS in existing database server. (web and database server is the same).

IIS is successfully installed but we're not able to display our web applications. (only display IIS7 default page upon accessing web application URL then error when refreshed/F5).

The difference we noticed is in IIS7 Application Pools, by default it's .Net v4.5 and DefaultAppPool Identity isApplicationPoolIdentity.

We tried to have the DefaultAppPool identity either NetworkService or ApplicationPoolIdentity and specified domain\webaccount for our specific web applications. 

But encountered server error.

Server Error in '/webappname' Application

Login Failed for user 'domain\servername$'. 

Exception Details: System.Data.SQLClient.SQLException. Login failed for user 'domain\servername$'. 

Our database admin insist that same with current set-up (different servers) they've only given access to'domain\account' and not  'domain\servername$'. 

Had tried to read forums on similar error, check possible causes (ie. wrong bindings, cache etc.) yet same error occur.

Had also assigned different host name. 

It would be very much appreciated if you could help me.

Thanks.

    


Viewing all articles
Browse latest Browse all 1881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>