excel workbook problem
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
String FileName = HttpContext.Current.Server.MapPath(@"../Excel/MyExcel.xls"); Excel.Application xlApp; Excel._Workbook xlBook; Excel._Worksheet oSheet; Excel.Range oRng; Excel.Range RRange; xlApp = new Excel.Application(); xlApp.Visible = true; xlBook = xlApp.Workbooks.Open(fileCopypath, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value); xlApp.Workbooks.Open not working when i upload application on server. i give full permission to a folder name Excel(IN root) .... but nothing happend. this code is working fine on my local system. tell me what i have to do.