From: Giorgio Parmeggiani on 18 Jun 2010 04:00 Hi I have converted a local report in a windows form application from VisualStudio 2008 to VisualStudio 2010. In the report viewer the report is correctly visualized, but, sometimes, in print layout (or if i print the report) I obtain this exception: "An error has occurred during report processing" "Index was outside the bounds of the array". The report is binding to a object data source, if i delete some object from my data source the error disappear. Thank in advance Giorgio
From: "Charles Wang [MSFT]" on 21 Jun 2010 23:08 Hi Giorgio, Is your object in your data source shared by multiple threads or possibly be changed concurrently when you tried to print the report? If this is possible, I recommend that you first clone the dataset and set the cloned dataset as a data source to your local report. In this case, the data is stable for your local report. Best regards, Charles Wang
From: Giorgio Parmeggiani on 22 Jun 2010 03:36 Hi, thank for your reply. My object DataSource is not shared and is not changed after is binding to the report, however I try to follow your suggestion and try to use a cloned dataset ""Charles Wang [MSFT]"" <changliw(a)online.microsoft.com> ha scritto nel messaggio news:0If53gbELHA.4980(a)TK2MSFTNGHUB02.phx.gbl... > Hi Giorgio, > Is your object in your data source shared by multiple threads or possibly > be changed concurrently when you tried to print the report? > > If this is possible, I recommend that you first clone the dataset and set > the cloned dataset as a data source to your local report. In this case, > the > data is stable for your local report. > > Best regards, > Charles Wang > >
From: Giorgio Parmeggiani on 22 Jun 2010 08:55 Hi I have tried to clone the datasource but unfortunately it remains the same error :-( "Giorgio Parmeggiani" <msnews08(a)nospam.nospam> ha scritto nel messaggio news:B6089EF4-537F-4D96-970C-DD509B45DC15(a)microsoft.com... > Hi, thank for your reply. > My object DataSource is not shared and is not changed after is binding to > the report, however I try to follow your suggestion and try to use a > cloned dataset > > ""Charles Wang [MSFT]"" <changliw(a)online.microsoft.com> ha scritto nel > messaggio news:0If53gbELHA.4980(a)TK2MSFTNGHUB02.phx.gbl... >> Hi Giorgio, >> Is your object in your data source shared by multiple threads or possibly >> be changed concurrently when you tried to print the report? >> >> If this is possible, I recommend that you first clone the dataset and set >> the cloned dataset as a data source to your local report. In this case, >> the >> data is stable for your local report. >> >> Best regards, >> Charles Wang >> >>
From: "Charles Wang [MSFT]" on 29 Jun 2010 07:56 Is it possible that when you print the report other user/thread changes the data source of your report? If so, you need to forbid the change.
|
Next
|
Last
Pages: 1 2 Prev: Reporting Services And Object Data Source Next: recursive call in TSQL |