I got this error when I installed Agent version 2.1.1 with Server version 2.1.2. I received STATUS CODE #200 but got errors attached to the log file.
Starting OCS Inventory NG Agent on Monday, May 28, 2018 16:02:15.
AGENT => Running OCS Inventory NG Agent Version 2.1.1.1
AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.1
AGENT => Loading plug-in(s)
DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files\OCS Inventory Agent\plugins>
DLL PLUGIN => 0 DLL Plug-in(s) succesfully loaded on 0 DLL(s) found
AGENT => Using network connection with Communication Server
COM PROVIDER => Loading Communication Provider <C:\Program Files\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.1.1.1>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <INFORMATICA-2018-05-24-11-46-38> and MACs <4C:72:B9:66:EE:92> in file <ocsinventory.dat>
COM SERVER => Initializing cURL library for sendRequest
COM SERVER => Using cURL with server authentication
COM SERVER => Using cURL HTTP type proxy <192.168.5.5:3128>
COM SERVER => Using cURL proxy with authentication
COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>
COM SERVER => Sending HTTP Post request to URL <
http://ocsreports.escambray.com.cu:80/ocsinventory>
COM SERVER => HTTP Post response received <HTTP Status Code #200>
COM SERVER => Cleaning cURL library
AGENT => Prolog successfully sent
SUPPORT => No support detected, Registration key : N/A
ERROR *** AGENT => Failed to write Prolog Frequency <Error code 32 = El proceso no tiene acceso al archivo porque está siendo utilizado por otro proceso. >
AGENT => Inventory required
AGENT => Launching hardware and software checks
INVENTORY => Loading Download history
INVENTORY => Logged on user ID is <Administrador>
INVENTORY => Operating System is <Microsoft Windows 7 Professional 6.1.7601 Service Pack 1>, description <>
INVENTORY => Operating System uses 32 bits memory address width
INVENTORY => Computer domain or workgroup is <bma.escambray.com.cu>
INVENTORY => User domain is <BMA>
INVENTORY => System Manufacturer <INTEL_>, System Model <DH61BE__>, System S/N <BTBE23600JV4>, Bios Manufacturer <Intel Corp.>, Bios Date <31/05/2012>, Bios Version <BEH6110H.86A.0044.2012.0531.1710>
INVENTORY => 1 processor(s) Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz [4 core(s) x86_64] at 3201 MHz
INVENTORY => OS Memory 1941 MB, OS Swap size 3883 MB
INVENTORY => 2 memory slot(s) found
INVENTORY => 2 input device(s) found
INVENTORY => 24 system port(s) found
INVENTORY => 4 system slot(s) found
INVENTORY => 7 system controler(s) found
INVENTORY => 2 storage peripheral(s) found
INVENTORY => 1 sound device(s) found
WARNING *** INVENTORY => Failed to retrieve modems
INVENTORY => 1 network adapter(s) found
INVENTORY => 5 system printer(s) found
INVENTORY => 1 video adapter(s) found
INVENTORY => 1 system monitor(s) found
INVENTORY => Default IPv4 address is <192.168.5.10>
INVENTORY => Registered company <>, registered owner <install>, Product ID <00426-OE...>
INVENTORY => Product key <342DG-6Y...>
INVENTORY => 273 software found
INVENTORY => Computer/VM UUID is <38383FCA-F4F8-E111-8BB7-505054503030>
INVENTORY => Computer seems to be physical host
INVENTORY => System Memory set to 2048 (instead of 1941)
INVENTORY => Reading last inventory state
WARNING *** INVENTORY => Failed to load/parse inventory state from file <C:\ProgramData\OCS Inventory NG\Agent\last_state>
WARNING *** INVENTORY => Failed to load/parse plugin state from file <C:\ProgramData\OCS Inventory NG\Agent\last_state>
EXECUTABLE PLUGIN => Searching for VBS script(s) in folder <C:\Program Files\OCS Inventory Agent\plugins>
EXECUTABLE PLUGIN => Searching for executable(s) in folder <C:\Program Files\OCS Inventory Agent\plugins>
AGENT => Sending Inventory
INVENTORY => Checking last inventory state
INVENTORY => Hardware inventory state changed
INVENTORY => Bios inventory state changed
INVENTORY => Memory slots inventory state changed
INVENTORY => System slots inventory state changed
INVENTORY => System controllers inventory state changed
INVENTORY => Monitors inventory state changed
INVENTORY => System ports inventory state changed
INVENTORY => Storage peripherals inventory state changed
INVENTORY => Logical drives inventory state changed
INVENTORY => Input peripherals inventory state changed
INVENTORY => Network adapters inventory state changed
INVENTORY => Printers inventory state changed
INVENTORY => Sound adapters inventory state changed
INVENTORY => Video adapters inventory state changed
INVENTORY => Software inventory state changed
INVENTORY => CPU inventory state changed
INVENTORY => Inventory changed since last run
INVENTORY => Generating XML document with Device properties
INVENTORY => XML Update BIOS
INVENTORY => XML Update 1 CPU(s)
INVENTORY => XML Update 2 Memory Slot(s)
INVENTORY => XML Update 2 Input Device(s)
INVENTORY => XML Update 24 System Port(s)
INVENTORY => XML Update 7 System Controler(s)
INVENTORY => XML Update 4 System Slot(s)
INVENTORY => XML Update 1 Sound Device(s)
INVENTORY => XML Update 2 Storage Peripheral(s)
INVENTORY => XML Update 6 Logical Drive(s)
INVENTORY => XML Update 0 Modem(s)
INVENTORY => XML Update 1 Network Adapter(s)
INVENTORY => XML Update 1 Video Adapter(s)
INVENTORY => XML Update 1 Monitor(s)
INVENTORY => XML Update 5 Printer(s)
INVENTORY => XML Update 274 Software
INVENTORY => XML Update 0 Registry Value(s)
INVENTORY => XML Update Administrative Information(s)
INVENTORY => XML Update common Device properties
COM SERVER => Initializing cURL library for sendRequest
COM SERVER => Using cURL with server authentication
COM SERVER => Using cURL HTTP type proxy <192.168.5.5:3128>
COM SERVER => Using cURL proxy with authentication
COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>
COM SERVER => Sending HTTP Post request to URL <
http://ocsreports.escambray.com.cu:80/ocsinventory>
WARNING *** COM SERVER => Failed to send HTTP Post request <Transferred a partial file>
COM SERVER => Cleaning cURL library
ERROR *** AGENT => Failed to send Inventory <Transferred a partial file>
AGENT => Communication Server ask for Package Download
DOWNLOAD => Package history file successfully cleaned for duplicate IDs
DOWNLOAD => Download and setup tool successfully started
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:53.
Please help!