You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have stable WPF .NET 8 app. After upgrading System.DirectoryServices.AccountManagement from 8.0.1 to 9.0 I got this error:
System.UriFormatException: 'Invalid URI: The hostname could not be parsed.'
Reproduction Steps
var ctx = new PrincipalContext(ContextType.Domain);
var usr = UserPrincipal.FindByIdentity(ctx, IdentityType.SamAccountName, "myname");
var test = usr.GetGroups();
Expected behavior
no exception
Actual behavior
exception
Regression?
Worked for couple years now.
Known Workarounds
Downgrade to 8.0.1 solves this immediately.
Configuration
Windows 10 Enterprise with login via LDAP.
Other information
No response
The text was updated successfully, but these errors were encountered:
Description
I have stable WPF .NET 8 app. After upgrading System.DirectoryServices.AccountManagement from 8.0.1 to 9.0 I got this error:
System.UriFormatException: 'Invalid URI: The hostname could not be parsed.'
Reproduction Steps
Expected behavior
no exception
Actual behavior
exception
Regression?
Worked for couple years now.
Known Workarounds
Downgrade to 8.0.1 solves this immediately.
Configuration
Windows 10 Enterprise with login via LDAP.
Other information
No response
The text was updated successfully, but these errors were encountered: