Tuesday, February 9, 2010

RIA Services: The underlying provider failed on Open

Deployed to IIS 7 RIA Service cannot access database with "Integrated Security=True" .
Cause: Service uses IIS App Pool with "ApplicationPoolIdentity" which is not known to SQL Server.
Fix: Make App Pool to use LocalSystem as identity (IIS -> Application Pools -> (select/create one) -> Advanced Settings -> Process Model/Identity.

Source: Login failed for user 'IIS APPPOOL\DefaultAppPool'

No comments:

Post a Comment