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

There is an error when I upload my code to online for import excel sheet. Code is properly run on devlopment end in which database and frontend is in same machine. But when I upload this code to online and click on import button then display error .

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.OleDb.OleDbException: No error message available, result code: E_FAIL(0x80004005).


Please help me out for this.
Thanking you
Posted
Updated 27-Oct-10 2:06am
v2
Comments
Abhijit Jana 27-Oct-10 8:17am    
what do you mean by upload code online ? You want to say hosted on server ?
Sunasara Imdadhusen 27-Oct-10 8:18am    
I think some permission issue

1 solution

Make sure that the xl file exists in the bin folder. Otherwise, try giving absolute path of the xl file in the connection string.
Or
Check weather do you have valid authentication for accessing excel file
 
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