My App Portal dev environment is not looking too good (I have not been there for a while).
When I launch App Portal it doesn’t log me in, I just see Approve/Reject and Proceeded Tab.
I looked at the ActiveDirectory.log and there is an error --> Error reading GUID from user <username> error is The server is not operational.
In Website.log the error is
GetGUIDFromDN Method error for DN=CN=<FirstName Lastname (X-Account)>,OU=X Accounts,OU=Service & Data Management,DC=test,DC=internal,DC=macquarie,DC=comTargetDomain=TEST: The server is not operational.
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.FillCache(String propertyName)
at SelfService.ActiveDirectoryAppCodeRepository.GetGUIDFromDN(String DN, String TargetDomain)
If I can’t log in to my DEV Instance of App Portal … is there any other way I can fix/trouble shoot this issue? I have full access to the server but don’t have ant other account to log in with right now.
Jun 12, 2020 05:42 AM
I'd guess that there is some type of AD issue going on (perhaps account related?).. Lets try a couple of things, in an attempt to get you access to the site:
1. Run the following query and then perform an IIS reset:
update wd_appsettings set value = 'True' where keyname = 'HasUntrustedDomains'
2. If this does not work, then we will need to try an rest the admin security permissions so that you can access the site again.. To do this, you would run the following query:
delete from wd_nodesecurity
As mentioned, this will reset the permissions, you will have to add them again.
Let me know your results.
Jun 12, 2020 07:59 AM
Thanks Charles, I did need to use the 'delete from wd_nodesecurity'.
I can now log in - when I go to Admin - Security I get an 'unexpected error'.
I can see Catalog items under Catalog Management - which is what I'll need to see most right now as I intend to use our Dev App Portal environment to test the scripted adding of Catalog Items (with Alerts and Security Settings). I manually added in a General Catalog Item via Admin -> Catalog Management -> New Catalog Item Wizard. So I'm hoping I can run my testing here too.
If there's an easy way/fix for the 'unexpected error' let me know. It is our DEV enironment - so errors in it are not a big deal.
This is the error in the Website.log
Unhandled Exception http://localhost/esd/admin/UserSecurity.aspx Current security context is not associated with an Active Directory domain or forest........
Jun 13, 2020 07:35 AM
Jun 15, 2020 08:00 AM
Also, in addition to what Charlie suggested, check that you:
Jul 26, 2020 12:07 PM
Thanks Jim, I believe I have a DC issue. I'm working with the relevant team to get it fixed up. Because it is our test domain, it's not going to be considered high priority to fix up, but at least I know I'm on the right track.
Aug 01, 2020 06:52 AM