msaranya 0 Newbie Poster

Hi

I have a button which basically exports data into an excel sheet. When I run this in my local machine, the code works perfectly but if I upload it in my server, the moment I click the button, it just keeps on processing. Initially it showed up some com error which I fixed up giving rights in DCOM CNFG -> Microsoft Excel Application. But another website hosted on the same server generates excel perfectly... Is this issue then application specific? If so then why does it work on the local machine? When I included excel at the local machine I right clicked and then added reference but I cant do that in server right? So to add a Excel com component I just added an <assembly> tag for excel component in web config alone... Is it necessary to include some other statements... I just saw this <com reference> tag in the web. Where vl this code go?