Click here to Skip to main content
15,899,026 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
When I publish my site, and if I upload excel sheet of .xlsx extension it is not taking excel sheet file values in to database, it is throwing an exception.

It is working fine in local system.
Please suggest any answer
Posted
Updated 28-Oct-10 11:32am
v2
Comments
Sandeep Mewara 28-Oct-10 3:23am    
What exception?
William Winner 28-Oct-10 15:52pm    
you have to post some code and tell us what the exception is. It could be a dozen different problems (or more) so there's no way for us to tell you what the problem is.

For instance, how are you connecting to your database? how are you loading it into the database?
Dalek Dave 28-Oct-10 17:33pm    
Edited for Grammar.

I'm assuming that you probably have Office 2008 or greater on your local system, so it recognizes the xlsx extension. The machine you are publishing to probably does not. Those objects will need to be available to the site on the machine to which you have published.
 
Share this answer
 
Comments
Dalek Dave 28-Oct-10 17:40pm    
Good Call
Please post your exception and please specify whether the you hosted your website
 
Share this 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