In this video I’ll be showing another common problem that can happen in PI
Vision when trying to view the asset hierarchy and how to diagnose and resolve the problem.
Here we see that some of the hierarchy is not showing.
We're missing a lot of assets here and some will show internal survey error.
Here in the PI Vision error messages, we see a lot of communication errors
and if you try to navigate to the PI Vision admin page,
you'll see a http error 503 service is unavailable. Now this is a specific error
which means there is a problem with our PI Vision application vision application.
To try to get more insight to the problem you can open up the event view on the PI Vision server
and look under the windows application logs for any errors.
And here we see that we are getting access denied.
So, this is getting access denied for our PI message logs, so they're not
being written anywhere except on the PI Vision application itself. So, since it's not able to
write to logs we need to make sure the PI Vision application pools are running.
To do that we open up IIS and go to our application pools.
And here we see that the PI Vision admin port is stopped.
So, let's try start that back up and it appears to be started.
So, now that appears to be working, we should go back to PI Vision and
refresh the page see if we're still getting the error.
And we are we're still getting the same exact error and if we go back to IIS and refresh, you'll
see that the service is stopped again. So, the PI Vision admin pool is not able to be started.
Now it's running as a service account so let's try and see if we can log on with that account.
So we'll just open up any application for this one I’ll do PI System Explorer
and we'll just run it as a different user.
So, put in the account
and we do not have permissions on this account to
be able to log in like this so another way to test would be to go into the services
and our Web API and crawler should also be running as that same service account.
So, if we just take the crawler and try to change the log on
and then any changes made will have to require restart.
So, if we restart that there we go we have a log on failure
so there's something wrong with the password. So, now we'll have to go to the domain controller
and try see if we can figure out why we're having a logon failure with this service account.
So we go to admin active directory find our service account and then go to properties
and account and first things that we notice is password never expires is not ticked
so most like most likely the password's expired and the account has been locked.
So we'll just have to change that so we'll have to tick password never expires and apply that
and unlock the account as well.
And then we'll have to reset the password.
All right so that's saved so if we go back to web one we'll have to change the password here
in our application pools. To do that you just go to advanced settings find the account
and reset the account and password.
Now we'll have to do this for everywhere where we're using this account
as well and let's start that service
and we'll have to change it two more times here
and the last one in the application pools.
After making changes in the application pools, we'll have to perform an IIS reset.
And now that that's restarted there's two more places we have to change the account password
and that is in our PI Web API and crawler.
So, we'll go to services,
find the services
again and then we'll change them here so for this you go you right click go properties and log on.
And then we'll have to restart both services.
After they've restarted we can go back to PI Vision
and check to see if it's working we'll just refresh the page.
And here we see the admin page is loaded and
everything is being indexed. Yep, everything's got a green tick so if we go back to PI Vision
and navigate through our hierarchy, we'll see everything reappear.
Let's clear these errors from before and there should be no
more as we're navigating through the hierarchy.