I have been struggling for days now trying to get windows authentication to work in my Silverlight application.
Here are the steps I took:
Create a new solution with the DevForce Business Application template.
Set authentication mode to Windows
Test in VS 2010 - works fine - user is automatically logged in
Delete all references to roles and profile out of the web.config
Delete Folder AppData (at the moment I dont need roles and/or profile)
Test in VS 2010 - works fine - user is automatically logged in
Copy the Web Project onto a Server 2008 R2 with IIS (7.5) running
Open a Browser on the server and calling up the website
Application starts fine but the user is not logged in
Playing around with IIS settings for hours (Enabling/Disabling Anonymous Authentication, ASP.Net Ipersonation, Windows Authentication etc etc etc
Can you tell me how to get this simple example to work?