Learning While Aging

IErrorInfo.GetDescription Failed with E_FAIL(0x80004005)

When you run a SELECT query in your ASP.NET code to fill a DataSet, you may encounter this error:

IErrorInfo.GetDescription Failed with E_FAIL(0x80004005)

This error is usually caused by the fact that the table name or some column name happens to be a keyword, such as “name”, “first”, and “date”, etc. If it is the case, then use square brackets around those column names as [name], [first], and [date], and it should fix the error.

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x