Error while uploading Script into 'Subject\Scripts' folder. Script upload failed. Error: Object reference not set to an instance of an object.

  • KM1317437
  • 17-Jan-2012
  • 14-May-2013

Summary

The article explains the reason for upload failiure in PC 11.

Error

The following error message is seen when attempting to upload script to Performance Cernter (PC) 11:

Error while uploading <Script> into 'Subject\Scripts' folder. Script upload failed. Error: Object reference not set to an instance of an object.

Cause

OTA Client component is not registered correctly.

Fix

Register ALM OTA dll manually using the steps mentioned below.

1. Open command prompt

2. Navigate the the location where OTAClient.dll present in the ALM Client cache directory.

3.  Run regsvr32 <Location of ALM client cache >\\OTAClient.dll

Also install http://QC Server:8080/qcbin/TDConnectivity_index.html