The MIP plugin server was rejected when it calls Milestone’s SDK interface to log in. The log is displayed it for permission reasons, but I am already using administrator account.
logs:
milestoneService.ServiceMain [fnLoginMIP] – fnLoginMIP exception: VideoOS.Platform.NotAuthorizedMIPException: VMO61008: You do not have sufficient permissions to complete the operation.
at VideoOS.Platform.SDK.Config.Shared.LoginServerSvc.CallWithRetry[TResult](Func`2 call)
at VideoOS.Platform.SDK.Config.Shared.LoginServerSvc.LoginService(Guid instanceGuid, String currentToken)
at VideoOS.Platform.SDK.Config.LoginServerBase.Login(Uri uri)
at VideoOS.Platform.SDK.Config.SystemInfo.Login()
at VideoOS.Platform.SDK.Platform.SDKConfiguration.Login(Uri uri, Boolean loadEnterpriseSlavesSeperately, Boolean loadSubSitesAfterwards)
at VideoOS.Platform.SDK.Environment.Login(Uri serverUri, Boolean masterOnly)
at milestoneService.ServiceMain.fnLoginMIP(Uri uri)
Troubleshooting questions..
On the same PC can the same user login using the Smart Client? If the user cannot you have a general issue that is not on the SDK integration.
On the same PC can the same user login using a unmodified sample like the Video Viewer? If the user cannot you have a general SDK issue that is not on the development you did.
If you run your integration in the Management Server (localhost) does the login work?
Test the login three ways: administrator, \administrator and \administrator. Does one work better than the others?
Test the login with a new user you add to the administrators role in the Management Client. Does this user work better or fail the same way?
Other Milestone servers can be logged in, Smart Client can also log in, through this administrator account. It just can’t log in to HIK’s plugin server, the log prompts the permissions are not enough, but we use the same administrator account, and the login logic inside the plugin is the login interface of the called MIP SDK.
You are only answering the first question. If you have other troubleshooting please share, but I would like to troubleshoot by the questions I asked.