why?"could not invoke the member LineStyle.The OLE Control or automation server returned an unkown error code"

as i wrote some code in a report to export the data into excel file. nothing went wrong before i added one more field (which is for the history data).

the sad thing is while it can work well for the data of 2007,it broke down in the midst of outputing the data into excel for the data of 2008.why?

the version is nav 5.0.

Yes i am also facing the same problem can any one please suggest the solution ???

Thanks in advance.

Rishi Chourey