While executing the below code I am getting the exception:
The remote procedure call failed. (Exception from HRESULT: 0x800706BE)
List<string> List_Items = new List<string>();
List_Items = Retail_Team_Id.Get_Retail_Team_Id(Incident_Path, List_Retail);
for (int i = 0; i < List_Items.Count(); i++)
{
MySheet.Cells[(i+2), 40] = List_Items[i];//Here getting the exception
}
User contributions licensed under CC BY-SA 3.0