Monday, March 19, 2012

Deploying sub-reports

I have many reports that are compiled as embedded resources in my ClickOnce
application. All of the reports work on my dev computer when run from Visual
Studio or when installed via ClickOnce on my dev computer.
On client computers, the reports with sub-reports fail. The following error
message is shown where the sub-report should be:
"Error: Subreport could not be shown"
Since the reports work on my dev computer, the problem seems to be a
difference between the Visual Studio report viewer and the redistributable
report viewer.
Has anyone else seen this problem? Can you give me any advice?I had a problem like this before and found it to be a problem with the
regional settings on the client running the report.
"John Van Vliet" <JohnVanVliet@.discussions.microsoft.com> wrote in message
news:D023E225-A809-4491-9C79-F7024DA0E905@.microsoft.com...
>I have many reports that are compiled as embedded resources in my ClickOnce
> application. All of the reports work on my dev computer when run from
> Visual
> Studio or when installed via ClickOnce on my dev computer.
> On client computers, the reports with sub-reports fail. The following
> error
> message is shown where the sub-report should be:
> "Error: Subreport could not be shown"
> Since the reports work on my dev computer, the problem seems to be a
> difference between the Visual Studio report viewer and the redistributable
> report viewer.
> Has anyone else seen this problem? Can you give me any advice?|||Immy, thanks for the reply. Regional settings do not seem to be the problem
in my case -- my dev computer and the clients are all using "English
(Canada)".
I may try to deploy the .rdlc files directly instead of embedding them in a
report dll.
"Immy" wrote:
> I had a problem like this before and found it to be a problem with the
> regional settings on the client running the report.
> "John Van Vliet" <JohnVanVliet@.discussions.microsoft.com> wrote in message
> news:D023E225-A809-4491-9C79-F7024DA0E905@.microsoft.com...
> >I have many reports that are compiled as embedded resources in my ClickOnce
> > application. All of the reports work on my dev computer when run from
> > Visual
> > Studio or when installed via ClickOnce on my dev computer.
> >
> > On client computers, the reports with sub-reports fail. The following
> > error
> > message is shown where the sub-report should be:
> >
> > "Error: Subreport could not be shown"
> >
> > Since the reports work on my dev computer, the problem seems to be a
> > difference between the Visual Studio report viewer and the redistributable
> > report viewer.
> >
> > Has anyone else seen this problem? Can you give me any advice?
>
>

No comments:

Post a Comment