1

Actually I was expecting a SqlExcpetion like Login Failed for user IIS AppPool\My AppPool Name exception instead of Domain\MachineName$.

I've created an Application Pool that is using

  • Manged Pipeline Mode : Integrated
  • Identity : ApplicationPoolIdentity

This AppPool is assigned to the Web Application (MVC3) in question. But somehow it seems that the WebApp is using somehow the NetworkService for the connection to SqlServer.

Any Idea why or what I should change?

gsharp
  • 27,557
  • 22
  • 88
  • 134

1 Answers1

1

Turns out that I forgot to change the connection string to SqlServer.

So they where pointing to another machine in the Network, as IIS AppPool\My AppPool Name is only valid on the local Server, IIS takes automatically the Network Service to access stuff in the Network, that's why it was showing Domain\MachineName$.

gsharp
  • 27,557
  • 22
  • 88
  • 134