Hello Christen,
when i start the service i get the below:
[C:\Program](file:C:/Program) Files\Milestone\MIPSDK\VpsSamples\Bin\VPService>dotnet VPService.dll
16:09:15 Using built-in logging definitions. File NLog.config not found.
16:09:15 00000000-0000-0000-0000-000000000000 Main - VPService starting…
16:09:16 User profile is available. Using ‘[C:\Users\admin\AppData\Local\ASP.NET\DataProtection-Keys’](file:C:/Users/admin/AppData/Local/ASP.NET/DataProtection-Keys’) as key repository and Windows DPAPI to encrypt keys at rest.
Hosting environment: Production
Content root path: [C:\Program](file:C:/Program) Files\Milestone\MIPSDK\VpsSamples\Bin\VPService
Now listening on: http://0.0.0.0:5000
Application started. Press Ctrl+C to shut down.
When i add a camera from video processing service plugin i get the error mentioned previously:
16:12:08 Request starting HTTP/1.1 GET http://localhost:5000/gstreamer/pipelines/vpspasstru
16:12:09 Connection id “0HM027U7O0P0Q”, Request id “0HM027U7O0P0Q:00000001”: An unhandled exception was thrown by the application. Unable to load DLL ‘vps2gstreamer.dll’ or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
dotnet --list-runtimes :
Microsoft.AspNetCore.All 2.1.11 [[C:\Program](file:C:/Program) Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.15 [[C:\Program](file:C:/Program) Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.3 [[C:\Program](file:C:/Program) Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.11 [[C:\Program](file:C:/Program) Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.15 [[C:\Program](file:C:/Program) Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.3 [[C:\Program](file:C:/Program) Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.1 [[C:\Program](file:C:/Program) Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.11 [[C:\Program](file:C:/Program) Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.15 [[C:\Program](file:C:/Program) Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.3 [[C:\Program](file:C:/Program) Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.1 [[C:\Program](file:C:/Program) Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.1 [[C:\Program](file:C:/Program) Files\dotnet\shared\Microsoft.WindowsDesktop.App]
dotnet --list-sdks:
2.1.700 [[C:\Program](file:C:/Program) Files\dotnet\sdk]
3.1.101 [[C:\Program](file:C:/Program) Files\dotnet\sdk]
i attached a screenshot of the environment variables.
Do i need to add anything here?
What can i do from here?
best regards,
Gaby Awad