silverlight-4.0iis-7.5silverlight-5.0

Error opening a database from a Silverlight App hosted in IIS


I'm trying to create a Silverlight App hosted in IIS (Windows 7, VS 2010) but I get this error:

k

Here's what I did:

What could I be doing wrong?


Solution

  • Have you tried granting permissions to 'IIS APPPOOL\ASP.NET v4.0' to log in and access your database? It looks like you are probably using the default credentials for impersonation. You can also specify a custom identity on the Application Pool as well. http://www.iis.net/learn/manage/configuring-security/application-pool-identities