Error 1026 occurred at close reference in Cscope

Hi Pro,
Need Professional guidance to solve my error, so I landed up here. I got this error when I am trying to save reference in an function global variable shift register. Googled the error message and I got cause for this error is VI reference is invalid. Explain me how to make it valid and solve the issue. Your help is appreciated.
Image of the Error

Error Message in the Image
Error 1026 occurred at Close Reference in cscope run vi.vi->Cscope control driver.vi->Minimum scope.vi
Possible reason(s):
LabVIEW: IV Reference is invalid
