ImageViewerDemoActiveX.htm is not able to load engines. But Enterprise smart Client is able load engines and is showing live video

You need to be a bit more specific. I just ran the sample and it worked out of the box. Please make sure you are using Internet Explorer and don’t have some security setting in your browser denying the use of ActiveXs.

Btw in latest release Smart Client will in most cases no longer use the ActiveX for displaying video.

Hi,

As per the MIP SDK document, under component integration section we have followed the same sample code to integrate with in our custom ASP.NET web client application. We are using Internet Explorer to show live video stream and all ActiveX controls are loading in the browser.

We have given required details / credentials in the Milestone MIP SDK imageviewer demo page example to load engine names list. Selected Engine drop down list control is not loading the list data. Please find below screen for reference. It will be grateful if you can help us to resolve the issue.

Regards,

Rajesh

Sorry, I misunderstood your question. But I just tried using exact same setup as you and had no problems with the sample.

Is it the same credentials you are using to log on to the Smart Client as you are using in the sample? If not, please try using the same credentials.

If it is the same credentials could you please upload a Wireshark-trace of the communication between the sample and the server while doing the logon? Please be aware that since you are using basic login the credentials will be visible in the wireshark, so if you don’t want to share those, please change the password temporarily while doing the trace.

Thank you for your quick response. Still we are facing the same problem and tried wireshark to capture network traffic and packets, we found 404 (Not found) and 401(Unathorized) status. we are using basic authentication, in case we enter wrong username and password we are getting an error message “Unable to connect server”. If we enter right credentials there is no issue and selected engine dropdown will be enabled as shown in the above screen shot but engine list is empty. As you suggested we tried wireshark but could not trace out the actual problem. Please find below screen shots and help us to solve the issue. If possible, please share support contact number in India to communicate over phone.

Can you make the trace file available?

Hi, I am uploading trace file, It is showing that credentials are invalid. please explore it. But the same credentials are working with smart client.

What is the version of the XProtect VMS?

This is a guess.. If you are using XProtect Corporate or XProtect Expert 2014 SP1 the issue could be an unretrievable systeminfo.xml..

https://force.milestonesys.com/support/articles/en_US/Hotfix/Fix-known-issues-in-XProtect-Corporate-and-XProtect-Expert-2014-SP1-7-0b

Generally; there are some very important fixes for the 2014 versions.

Hi, We are using XProtect Enterprise, Below are the versions.

I see in the trace that no systeminfo.xml is returned, please test without the sample in this way -

If you are using Windows users do the following :- in IE type: http://serverIP:PORT/systeminfo.xml- Provide the Windows user login details - use a user with full access.

If you are using Basic users do the following :- In Mozilla FireFox in the address field: http://serverIP:PORT/systeminfo.xml- Provide the Basic user log on details - use a user with full access.

Do you have a firewall? As a test turn it off..

Please clarify, what do you mean by “use a user with full access”. you mean user should have administrator access.

where should i turn firewall off, app server or VMS server.

Yes, for testing, use a user with administrator access. Turn the firewall off in the VMS (Recording Server) and in the PC executing the activeX.

It will be interesting if you get the systeminfo.xml when you try with and without firewall (does the fire wall make a difference?).

Do we know which was the final solution?

We are experiencing the same problem​: ImageViewerDemoActiveX.html from SDK 2017 por 2014 connects using basic auth to server but the engine list is empty. We are using IE11 on W10 to a XProtect 2014 server. systeminfo.xml is not accesible by http from the client. No other auth is available in our case.

You cannot use basic authentication users with this sample if the server is c-code; XProtect Corporate, Expert or Plus products. In c-code you have to use a Windows authentication user.