Click here to Skip to main content
15,885,309 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello

I have an excel file that is uploaded on server with upload file everyday. I import that file to datagride, but scarcely I get "Unespecified error" on server. Of course when I reset the server this function completes successfuly.

Can you help me please?

Thanks
Posted
Updated 3-Jan-11 21:04pm
v2
Comments
Abhinav S 4-Jan-11 3:08am    
Could you please provide some code to look at?

1 solution

Assuming that your solution is running as a service, or under IIS, using Excel interop might be your problem. Use something like this
http://exceldatareader.codeplex.com/[^] as a replacement.

Regards
Espen Harlinn
 
Share this answer
 
Comments
Dalek Dave 4-Jan-11 4:13am    
Good Answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900