SQL(already a open data reader associated) error when trying to create advertisement item
I am using Altiris ASDK (vbs).
I am trying to create an advertisement item so that my package can be advertised and i can see the status of the task. But i am getting following error when i try calling createAdvertisementEX( ) method.
" Altiris.NS.Exception.AeXException - Unable to create the advertisement item -> System.InvalidOperationException: There is already an open DataReader associated with this command and must be closed first "
Restarting SQL service succeeded only once but afterwards, restarting the computer or SQL server nothing helped.
Would really appreciate any help and suggestions,