401 Unauthorised access while installing XBAP applications
PresentationHost.exe is the process that hosts XBAP applications within Internet Explorer. When the files on the web server are configured to use Windows authentication, IE prompts the user for credentials when navigating to the XBAP. The root of the issue is that while Internet Explorer is using the user-specified credentials, PresentationHost is started using the credentials that were used to start the IE process, not the user-specified credentials. This leads to the 401 error when PresentationHost tries to download the XBAP, since it does not have access to the XBAP.
One solution is to allow anonymous authentication on the XBAP and perform the required authentication from within the application.
Comments
- Anonymous
January 01, 2003
We are experiencing the same error and I have posted to MSDN with this issue: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/2705d6c0-73b1-4fff-9cb5-4df6c04c8223/ Is there any real workaround? How do you allow anonymous access just on the XBAP but require Windows Auth within the application? Thanks, Dave B.