excel file cant be located
i am truying to generate an excel report from my asp.net page.It is working fine till a friend of mine in the office asks to try and load the project from the network..supposidly it should be working but it didnt..The file cant be found..i am using this
Dim oBooks As Excel.Workbooks
oBooks.Open(Server.MapPath(Request.ApplicationPath ) & "\ReportTemplate.xls") 'Load template
?Server.MapPath(Request.ApplicationPath) & "\ReportTemplate.xls"
"c:\inetpub\wwwroot\Altadis\ReportTemplate.xls "
..from the path generated i can download the file and my life is happy again...
if i am truying to access the file from the server i am not getting any error but what happens is the the page reloads and nothing occurs.
Should i use another way to access the file,other than Server.MapPath(Request.ApplicationPath)? if yes can u please show me how..
thanks in advance
|