I want to update user expire date in Active Directory. If already have user then update expire date. I try to call CommitChanges with this code: if (result == null) { DirectoryEntry newUser = dirEntry.Children.Add("CN=" + fNm, "user"); newUser.Properties["sAMAccountName"].Value = uNm; newUser.Properties["givenName"].Value = fNm; newUser.Properties["sn"].Value = lNm; newUser.Properties["displayName"].Value = NID_Number; [...] read more
I am writing a Windows Phone 8.1 App (WINRT). Sometimes my mainpage crashes and debugger doesnot even handle it. I tried applying try-catch to every line but it was not helping. It happens sometimes and not always. While debugging it directly goes into App.g.i.cs: #if DEBUG && !DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION UnhandledException += [...] read more