Click here to Skip to main content
15,913,055 members

Comments by murali0808 (Top 3 by date)

murali0808 29-May-10 1:35am View    
I am Getting the Following error while Running in webserver or IIS

It is Fine on My LocalHost


System.Runtime.InteropServices.COMException (0x800A03EC):
murali0808 29-May-10 0:41am View    
Actually I got the problem even in Excel installed machine also..
murali0808 28-May-10 13:10pm View    
protected void btn_Uplaod_Click(object sender, EventArgs e)
{
if (!string.IsNullOrEmpty(file_UploadXL.PostedFile.FileName))
{
string strFilePath;
// strFilePath ="C:\Documents and Settings\jmuralimohan\Desktop\DataSample2.xls";
strFilePath=file_UploadXL.PostedFile.FileName;
lbl_Result.Text = strFilePath;
DataSet ds = new DataSet();
try
{
ds = GetExcel(strFilePath);
grid_UpLogSheets.DataSource = ds.Tables[0];
grid_UpLogSheets.DataBind();
}
catch(Exception EX)
{
lbl_Result.Text = lbl_Result.Text + EX.ToString();
}
}
}