06-28-2017 01:26 PM
Hyland DLL version 16.0.0.20
We're using MVC and Windows Authentication. When we call Application.CreateDomainAuthenticationProperties and connect using the returned variable, it returns with a 401 unauthorized.
The credential being used is the AppPoolCredential, which for us is NetworkService. I would expect it to use the currently logged in Windows user, but we can't figure out how to get those credentials to pass through.
Any guidance on authenticating in this fashion is greatly appreciated.
06-28-2017 01:36 PM
Stephen,
In the IIS Manager GUI, find your app and view the "Authentication" pane.
Right click on "ASP.NET Impersonation" and "Enable".
Right-click on "ASP.NET Impersonation" again and "Edit"... and in the "Edit ASP.Net Impersonation Settings" dialog make sure "Authenticated User" is selected.
If "ASP.NET Impersonation" is not in the list with [Anonymous Authentication, Basic Authentication, Forms Authentication, and Windows Authentication] in the Authentication pane, you may need to install or enable a Role Service. Glancing at one of our IIS servers I don't think there is a separate Role Service that you don't already have if you're running an MVC application and using Windows Auth.
06-28-2017 01:36 PM
Stephen,
In the IIS Manager GUI, find your app and view the "Authentication" pane.
Right click on "ASP.NET Impersonation" and "Enable".
Right-click on "ASP.NET Impersonation" again and "Edit"... and in the "Edit ASP.Net Impersonation Settings" dialog make sure "Authenticated User" is selected.
If "ASP.NET Impersonation" is not in the list with [Anonymous Authentication, Basic Authentication, Forms Authentication, and Windows Authentication] in the Authentication pane, you may need to install or enable a Role Service. Glancing at one of our IIS servers I don't think there is a separate Role Service that you don't already have if you're running an MVC application and using Windows Auth.
06-28-2017 01:39 PM
08-23-2017 11:54 AM
08-23-2017 01:12 PM
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.