Click here to Skip to main content
13,004,094 members (113,085 online)
Rate this:
 
Please Sign up or sign in to vote.
I am getting one porblem in asp.net.

while uploading Excel file into GridView through code, getting error as "Unspecified Error".

Same it was working in live server few days back and also it's working in test server now .

But, it's not working in live.

i am just pulling the data and display in gridview. here there is no database connection.

what is the possible problem could be...?
Posted 7-Feb-13 19:08pm
gani77871.5K
Updated 9-Feb-13 12:23pm
CHill60190.5K
v2
Comments
CHill60 9-Feb-13 18:23pm
   
Try posting the code that you are using to load the excel file into the GridView
Andreas Gieriet 9-Feb-13 18:27pm
   
Any stack trace, event log, code you are running?

Read your question again an imagine that we have no clue what you are doing.

It's like I would say: "When I run my calculation I get 41, why? What is wrong?" What yould you do with that? See?

Cheers
Andi
   
That's why the absolutely universal question should be "Why can't I get 42"? :-)
—SA
Andreas Gieriet 10-Feb-13 4:53am
   
Yes, exactly - my calculation is wrong, "Deep Thought" is right... ;-)
Cheers
Andi
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Hi,

The below URL, has the code to upload excel data into gridview.

How to import excel file to grid view in asp.net using c# AND save grid view to database sql server 2005[^]

Best Regards
Muthuraja
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

your error will come when the data connect to óledb connection..
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170627.1 | Last Updated 3 May 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100