Error: "Compilation Error CS0006 in (0): Metadata file 'microsoft.vsa.dll" could not be found" when installing a new pointfix
search cancel

Error: "Compilation Error CS0006 in (0): Metadata file 'microsoft.vsa.dll" could not be found" when installing a new pointfix

book

Article ID: 277893

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

While trying to install a new pointfix using "pfinstaller2.exe" on Windows Server 2019 the following error is returned:

Compilation Error CS0006 in (0): Metadata file 'microsoft.vsa.dll" could not be found

The Win19 server came preinstalled with .NET 4.7 but also it has been installed .NET 4.8 along with the rest of the ITMS prerequisites.

Environment

ITMS 8.7.1

Cause

Known issue. The problem is with the NSCript.exe tool that tries to add a reference to this assembly for any script execution. 

Resolution

This issue was fixed in the CUMULATIVE POST ITMS 8.7.2 POINT FIXES.

A workaround that allows you to manually replace the old "NScript.exe" with the new fixed "NScript.exe" on the SMP 8.7.1 environment is as follows:

  1. Download attached "NScript.zip" to the SMP 8.7.1 server and extract it's content.
  2. In "%NS Install Dir%\Altiris\Notification Server\Bin\", find existing "NScript.exe" and rename it to something like "NScript_old" and upload there the new updated "NScript.exe" from "NScript.zip"
  3. Try again running "pfinstaller2.exe"

Attachments

NScript.zip get_app