I m having function which export data of datatable to an excel sheet.
it is working fine on local machine, or any other local machine,
but whn i upload ths code to server it not work ....
Plz help!!!!!!!!
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
navin thangarajPosted May 26, 2011, 11:30 PM
when i execute solution from the local system the data set values are copied to the xml file along with column header..then i moved the files to virtual directory under inetpub folder. through iis manager i browsed the virtual directory and run the same page , the file is getting saved in the same path but without the column header :(.. then i opened the same page from other machine through URL (thru inetrnal ip address) but the xml file is not saving to the machine.. plz help me out..
thanx n regards
T.Navin
navin thangarajPosted May 26, 2011, 6:44 AM
its web application..
by mistake i have included it ... now i have removed it ...thnx
aftr removing , i have restarted the server , still the same issue is there...
i went to inetmgr, and then i , browse the virtual directory its working fine..
but when i access the same page through URL it's not working
Posted May 26, 2011, 6:36 AM
the download folder is "c:\Navin\" folder as you mentioned in the config file.
navin thangarajPosted May 26, 2011, 6:30 AM
my local and server are the same machine...and i run the code from the local its working fine..and then i moved the aspx page to the virtual directory (inside inetpub ) and then i have try to access the same page through url the file is not getting downloaded..
how to check the read /write access to the download folder
Posted May 26, 2011, 6:23 AM
navin thangarajPosted May 26, 2011, 6:20 AM
navin thangarajPosted May 26, 2011, 6:18 AM
Posted May 26, 2011, 6:18 AM
navin thangarajPosted May 26, 2011, 6:11 AM
code behind file:
web config file :
plz help me out..
thanx n regards
T.Navin
Posted May 26, 2011, 6:07 AM
Can you please post the complete error message details?
navin thangarajPosted May 26, 2011, 5:59 AM
Manikavelu VelayuthamPosted Oct 12, 2010, 5:48 AM
or can you paste the code which will save the excel file.