protected void Button1_Click(object sender, EventArgs e){
string FilePath = Server.MapPath("~/UI/Employee/Excel/" + ItemID + ".xls");
        Excel.Application myExcel = null;
        Excel._Workbook my_book = null;
        Excel._Worksheet my_sheet = null;
            myExcel = new Excel.ApplicationClass();
            myExcel.Visible = false;
            my_book = myExcel.Workbooks.Add(1);
            my_sheet = (Excel.Worksheet)my_book.ActiveSheet;
            myExcel.Cells[1, 1] = "编号";
            myExcel.Cells[1, 2] = "姓名";
            myExcel.Cells[1, 3] = "整理";
            myExcel.Cells[1, 4] = "编码";
            myExcel.Cells[1, 5] = "碰对";
            myExcel.Cells[1, 6] = "贴条码";
            myExcel.Cells[1, 7] = "扫描";
            myExcel.Cells[1, 8] = "图像处理";
            myExcel.Cells[1, 9] = "索引";
            myExcel.Cells[1, 10] = "总检";
            myExcel.Cells[1, 11] = "卷内目录";
            myExcel.Cells[1, 12] = "还原";
            myExcel.Cells[1, 13] = "装订";
            myExcel.Cells[1, 14] = "上架";
            myExcel.Cells[1, 15] = "返工";
            myExcel.Cells[1, 16] = "上传";
            DataSet myDataSet = mySql.GetDataSet("select eId,eName from Sys_Employee where eProId='" + ItemID + "'");
            for (int i = 0; i < myDataSet.Tables[0].Columns.Count; i++)
                for (int j = 0; j < myDataSet.Tables[0].Rows.Count; j++)
                {
                    myExcel.Cells[j + 2, i + 1] = myDataSet.Tables[0].Rows[j][i];
                }
            myExcel.Visible = true;
            my_book = null;
            myExcel.Quit();
            myExcel = null;}
以上是我创建excel的代码,程序在本机上运行,点击button后可以弹出excel表,但是程序放在服务器上后,点击button没有任何效果,也不报错,请问为什么?