The remote procedure call failed. (Exception from HRESULT: 0x800706BE)
ExcelApp.UserControl = false;
String FileName = "" + User.Identity.Name + ".xlsx";
ExcelWork.SaveCopyAs(strCurrentDir + FileName);
String TimeSheetPath = (String)System.Configuration.ConfigurationManager.AppSettings["TimeSheetPath"].ToString();
string strMachineName = Request.ServerVariables["SERVER_NAME"];
Replies
Know the answer? Post it — somebody with the same question will find it here.