Generating excel(.xls) sheet

i am generated Excel sheet using lotus notes. i worked on development server on remote desktop. i have run the agent and i got Excel sheet, i can open it. but if my client run the agent they getting excel sheet but it is not opening it shows error. what is the problem please help me

Subject: generating excel(.xls) sheet

Why did you post your problem twice on one day? Give some more information about your scenario and your code. So may be the community can give you a hint.