User-2038930246 posted
Hi all,
The issue has been ongoing for a while now. Background of the application is its a self service ADLDS site, that it works as expected when ran through the IDE and I have managed to solve the issue on my development machine. We can use my development machine
and access the site from a domain name, and authenticate when the user has been added to a group. I can no longer recreate the client side changes made to solve the issue on other machines. If not i have recreated them but because the development machine is
hosting the site there is an underlying permission that i didn't set but am unaware of.
This post was great and client side tasks i have completed are listed there.
However as noted I have implemented a solution on my development machine hosting the site at a domain and on an IIS server and am struggling to identify what this change was otherwise its likely only working on my development machine as it is also hosting
the website.
An operations error occurred.
at System.DirectoryServices.DirectoryEntry.RefreshCache()
- It is impersonating correctly, we are using windows authentication and then impersonating to make changes to a users AD record.
- Trusted for delegation has been set.
- Website has been set as local intranet (tried trusted as well)
- The site is running under the context of a service account with relevant permissions
I am starting to think its something to do with permission/ trust issues as it only works on the machine the site is hosted on, however the domain we are using is using a DNS on another machine so find it hard to believe this as it would still have to go
through the DNS.
Ideas are appreciated, its starting to eat into a lot of my time.
Cheers