473,725 Members | 2,193 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can't print from rdlc.

I'm using a ReportViewer in ASP.NET. From the development environment it
works fine. When published and I try to open the page with the ReportViewer I
get the error:

An internal error occurred on the report server. See the error log for more
details.

Do I have something configured wrong? I do not knw where to find the error
log to review it.
--
stullhe104
Jul 9 '08 #1
18 4497
Greetings,

If you are embeddng the rdlc that could be a source of your problem. If
you are embedding try changing that to "Copy Always" and then set your
path in the print routine. There is good documentation in the VS2005
help on the ReportViewer control and on printing from an rdlc. Look up
ReportViewer

Rich

*** Sent via Developersdex http://www.developersdex.com ***
Jul 9 '08 #2
Hi stullhe,

In addition to the RDLC template file's copy/deploy issue Rich has
mentioned, I would suggest you check the deployment of the Reportviewer
control on the target server machine first.

For both VS 2005/.NET 2.0 and VS 2008 .NET 3.5, the reportViewer control is
included as an additional components(inst alled with visual studio), not
built-in .net framework system component. If you want to deploy application
which use Reportviewer control on a machine which doesn't have visual
studio installed. You need to install the reportviewer control on that
machine also. The following MSDN reference has mentioned this, Visual
studio has provided the reportviewer control redistributable package for
you:

#Deploying Reports and ReportViewer Controls
http://msdn.microsoft.com/en-us/libr...23(VS.80).aspx

#Deploying Reports and ReportViewer Controls
http://msdn.microsoft.com/en-us/library/ms251723.aspx

Here are more information about Reportviewer control:

#ReportViewer Controls (Visual Studio)
http://msdn.microsoft.com/en-us/library/ms251671.aspx

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: =?Utf-8?B?SGVyYg==?= <st********@new sgroup.nospam>
Subject: Can't print from rdlc.
Date: Wed, 9 Jul 2008 11:35:00 -0700
>I'm using a ReportViewer in ASP.NET. From the development environment it
works fine. When published and I try to open the page with the
ReportViewer I
>get the error:

An internal error occurred on the report server. See the error log for
more
>details.

Do I have something configured wrong? I do not knw where to find the error
log to review it.
--
stullhe104
Jul 10 '08 #3
Do I need to run my report as a ServerReport? Currently it is a LocalReport
referring to a dataset. I'm not sure where to check the embedding vs. "Copy
To"
--
stullhe104
"Rich P" wrote:
Greetings,

If you are embeddng the rdlc that could be a source of your problem. If
you are embedding try changing that to "Copy Always" and then set your
path in the print routine. There is good documentation in the VS2005
help on the ReportViewer control and on printing from an rdlc. Look up
ReportViewer

Rich

*** Sent via Developersdex http://www.developersdex.com ***
Jul 11 '08 #4
Steven, Thanks for your reply. My ASP.NET web page runs from our web server
(WEB01) and SQL Server 2005 is on our development server (DATASVR02).

IIS uses Windows Authentication (no Anonymous) for the page. In the
connection string I use a specific uid for the SQL connection. This uid also
has RSExecRole membership on both ReportServer and RportServerTemp DB.

As I have mentioned to (Rich P) the report is defined as LocalReport, not
ServerReport.

I'm sure I'm missing something easy.

The error I get refers to "see the error log for details." Where do I find
this error log so I can further investigate?

Thanks

--
stullhe104
"Steven Cheng [MSFT]" wrote:
Hi stullhe,

In addition to the RDLC template file's copy/deploy issue Rich has
mentioned, I would suggest you check the deployment of the Reportviewer
control on the target server machine first.

For both VS 2005/.NET 2.0 and VS 2008 .NET 3.5, the reportViewer control is
included as an additional components(inst alled with visual studio), not
built-in .net framework system component. If you want to deploy application
which use Reportviewer control on a machine which doesn't have visual
studio installed. You need to install the reportviewer control on that
machine also. The following MSDN reference has mentioned this, Visual
studio has provided the reportviewer control redistributable package for
you:

#Deploying Reports and ReportViewer Controls
http://msdn.microsoft.com/en-us/libr...23(VS.80).aspx

#Deploying Reports and ReportViewer Controls
http://msdn.microsoft.com/en-us/library/ms251723.aspx

Here are more information about Reportviewer control:

#ReportViewer Controls (Visual Studio)
http://msdn.microsoft.com/en-us/library/ms251671.aspx

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: =?Utf-8?B?SGVyYg==?= <st********@new sgroup.nospam>
Subject: Can't print from rdlc.
Date: Wed, 9 Jul 2008 11:35:00 -0700
I'm using a ReportViewer in ASP.NET. From the development environment it
works fine. When published and I try to open the page with the
ReportViewer I
get the error:

An internal error occurred on the report server. See the error log for
more
details.

Do I have something configured wrong? I do not knw where to find the error
log to review it.
--
stullhe104

Jul 11 '08 #5
Thanks for your reply stullhe,

Based on your new description, I have some question here.

Are you using server-side report or client report? For server report, you
should already have an report created and deployed on the SQL Server
reporting service server(can be visited via webbrowser and url). And your
reportViewer control just set the mode to "ServerRepo rt" mode and reference
that report via link.

For local report, it doesn't require anything from backend SQL Server
reporting service(though the data records still may come from sql server
database). the report template (rdlc) is deployed with your ASP.NET web
application. There is nothing to do with the SSRS reportServer here.

Anyway, both of the two ways, since you're using reportviewer control to
display the report, you need to make sure that the reportviewer control has
been correctly deployed on the target server. Have you verified this? If
the deployment server hasn't previously installed the ReporViewer control,
you need to first install it.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: =?Utf-8?B?SGVyYg==?= <st********@new sgroup.nospam>
References: <6C************ *************** *******@microso ft.com>
<87************ **@TK2MSFTNGHUB 02.phx.gbl>
>Subject: RE: Can't print from rdlc.
Date: Fri, 11 Jul 2008 06:24:28 -0700
>
Steven, Thanks for your reply. My ASP.NET web page runs from our web
server
>(WEB01) and SQL Server 2005 is on our development server (DATASVR02).

IIS uses Windows Authentication (no Anonymous) for the page. In the
connection string I use a specific uid for the SQL connection. This uid
also
>has RSExecRole membership on both ReportServer and RportServerTemp DB.

As I have mentioned to (Rich P) the report is defined as LocalReport, not
ServerReport .

I'm sure I'm missing something easy.

The error I get refers to "see the error log for details." Where do I find
this error log so I can further investigate?

Thanks

--
stullhe104
"Steven Cheng [MSFT]" wrote:
>Hi stullhe,

In addition to the RDLC template file's copy/deploy issue Rich has
mentioned, I would suggest you check the deployment of the Reportviewer
control on the target server machine first.

For both VS 2005/.NET 2.0 and VS 2008 .NET 3.5, the reportViewer control
is
>included as an additional components(inst alled with visual studio), not
built-in .net framework system component. If you want to deploy
application
>which use Reportviewer control on a machine which doesn't have visual
studio installed. You need to install the reportviewer control on that
machine also. The following MSDN reference has mentioned this, Visual
studio has provided the reportviewer control redistributable package for
you:

#Deploying Reports and ReportViewer Controls
http://msdn.microsoft.com/en-us/libr...23(VS.80).aspx

#Deploying Reports and ReportViewer Controls
http://msdn.microsoft.com/en-us/library/ms251723.aspx

Here are more information about Reportviewer control:

#ReportViewe r Controls (Visual Studio)
http://msdn.microsoft.com/en-us/library/ms251671.aspx

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Jul 15 '08 #6
My ASP.NET web page contains the rdlc file. This is a client report.

I have verified the ReportViewer on the data server, the web serevr and the
local machine.

Do you know which log the error message refers to? I would like to see what
the error log is reporting. It may help.

--
stullhe104
"Steven Cheng [MSFT]" wrote:
Thanks for your reply stullhe,

Based on your new description, I have some question here.

Are you using server-side report or client report? For server report, you
should already have an report created and deployed on the SQL Server
reporting service server(can be visited via webbrowser and url). And your
reportViewer control just set the mode to "ServerRepo rt" mode and reference
that report via link.

For local report, it doesn't require anything from backend SQL Server
reporting service(though the data records still may come from sql server
database). the report template (rdlc) is deployed with your ASP.NET web
application. There is nothing to do with the SSRS reportServer here.

Anyway, both of the two ways, since you're using reportviewer control to
display the report, you need to make sure that the reportviewer control has
been correctly deployed on the target server. Have you verified this? If
the deployment server hasn't previously installed the ReporViewer control,
you need to first install it.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: =?Utf-8?B?SGVyYg==?= <st********@new sgroup.nospam>
References: <6C************ *************** *******@microso ft.com>
<87************ **@TK2MSFTNGHUB 02.phx.gbl>
Subject: RE: Can't print from rdlc.
Date: Fri, 11 Jul 2008 06:24:28 -0700

Steven, Thanks for your reply. My ASP.NET web page runs from our web
server
(WEB01) and SQL Server 2005 is on our development server (DATASVR02).

IIS uses Windows Authentication (no Anonymous) for the page. In the
connection string I use a specific uid for the SQL connection. This uid
also
has RSExecRole membership on both ReportServer and RportServerTemp DB.

As I have mentioned to (Rich P) the report is defined as LocalReport, not
ServerReport.

I'm sure I'm missing something easy.

The error I get refers to "see the error log for details." Where do I find
this error log so I can further investigate?

Thanks

--
stullhe104
"Steven Cheng [MSFT]" wrote:
Hi stullhe,

In addition to the RDLC template file's copy/deploy issue Rich has
mentioned, I would suggest you check the deployment of the Reportviewer
control on the target server machine first.

For both VS 2005/.NET 2.0 and VS 2008 .NET 3.5, the reportViewer control
is
included as an additional components(inst alled with visual studio), not
built-in .net framework system component. If you want to deploy
application
which use Reportviewer control on a machine which doesn't have visual
studio installed. You need to install the reportviewer control on that
machine also. The following MSDN reference has mentioned this, Visual
studio has provided the reportviewer control redistributable package for
you:

#Deploying Reports and ReportViewer Controls
http://msdn.microsoft.com/en-us/libr...23(VS.80).aspx

#Deploying Reports and ReportViewer Controls
http://msdn.microsoft.com/en-us/library/ms251723.aspx

Here are more information about Reportviewer control:

#ReportViewer Controls (Visual Studio)
http://msdn.microsoft.com/en-us/library/ms251671.aspx

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

Jul 15 '08 #7
Thanks for your reply Stullhe,

As for Visual Studio ReportViewer client report(RDLC based), it doesn't
have any service log files. The error message is more likely indicating
some error related to SSRS reportserver. Have you checked whether there is
SQL Server Reporting service deployed on that server and in the same IIS
site where your ASP.NET application deployed? As far as I know, reporting
service server-side has log files under SQL Server instance directory. For
other logs, you can check the windows eventlog for application.

Also, if you have any other server, I suggest you try testing the
application on some other server to see whether it is specific to that
particular server machine.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
--------------------
>Thread-Topic: Can't print from rdlc.
thread-index: Acjmc21bAUSoPq7 rQUi1pc1JsdxNew ==
X-WBNR-Posting-Host: 207.46.19.197
From: =?Utf-8?B?SGVyYg==?= <st********@new sgroup.nospam>
Subject: RE: Can't print from rdlc.
Date: Tue, 15 Jul 2008 05:08:01 -0700
>
My ASP.NET web page contains the rdlc file. This is a client report.

I have verified the ReportViewer on the data server, the web serevr and
the
>local machine.

Do you know which log the error message refers to? I would like to see
what
>the error log is reporting. It may help.

--
stullhe104
"Steven Cheng [MSFT]" wrote:
>Thanks for your reply stullhe,

Based on your new description, I have some question here.

Are you using server-side report or client report? For server report,
you
>should already have an report created and deployed on the SQL Server
reporting service server(can be visited via webbrowser and url). And
your
>reportViewer control just set the mode to "ServerRepo rt" mode and
reference
>that report via link.

For local report, it doesn't require anything from backend SQL Server
reporting service(though the data records still may come from sql server
database). the report template (rdlc) is deployed with your ASP.NET web
application. There is nothing to do with the SSRS reportServer here.

Anyway, both of the two ways, since you're using reportviewer control to
display the report, you need to make sure that the reportviewer control
has
>been correctly deployed on the target server. Have you verified this?
If
>the deployment server hasn't previously installed the ReporViewer
control,
>you need to first install it.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments
and
>suggestions about how we can improve the support we provide to you.
Please
>feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

============== =============== =============== ======
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
>ications.

============== =============== =============== ======
This posting is provided "AS IS" with no warranties, and confers no
rights.
>>

--------------------
>From: =?Utf-8?B?SGVyYg==?= <st********@new sgroup.nospam>
References: <6C************ *************** *******@microso ft.com>
<87*********** ***@TK2MSFTNGHU B02.phx.gbl>
>Subject: RE: Can't print from rdlc.
Date: Fri, 11 Jul 2008 06:24:28 -0700
>
Steven, Thanks for your reply. My ASP.NET web page runs from our web
server
>(WEB01) and SQL Server 2005 is on our development server (DATASVR02).

IIS uses Windows Authentication (no Anonymous) for the page. In the
connection string I use a specific uid for the SQL connection. This uid
also
>has RSExecRole membership on both ReportServer and RportServerTemp DB.

As I have mentioned to (Rich P) the report is defined as LocalReport,
not
>ServerReport .

I'm sure I'm missing something easy.

The error I get refers to "see the error log for details." Where do I
find
>this error log so I can further investigate?

Thanks

--
stullhe104
"Steven Cheng [MSFT]" wrote:

Hi stullhe,

In addition to the RDLC template file's copy/deploy issue Rich has
mentioned, I would suggest you check the deployment of the
Reportviewer
>control on the target server machine first.

For both VS 2005/.NET 2.0 and VS 2008 .NET 3.5, the reportViewer
control
>is
>included as an additional components(inst alled with visual studio),
not
>built-in .net framework system component. If you want to deploy
application
>which use Reportviewer control on a machine which doesn't have visual
studio installed. You need to install the reportviewer control on
that
>machine also. The following MSDN reference has mentioned this, Visual
studio has provided the reportviewer control redistributable package
for
>you:

#Deploying Reports and ReportViewer Controls
http://msdn.microsoft.com/en-us/libr...23(VS.80).aspx

#Deploying Reports and ReportViewer Controls
http://msdn.microsoft.com/en-us/library/ms251723.aspx

Here are more information about Reportviewer control:

#ReportViewe r Controls (Visual Studio)
http://msdn.microsoft.com/en-us/library/ms251671.aspx

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

Jul 16 '08 #8
Perhaps the issue has become muddled. My question is this:

I have an ASP.NET/VB.NET web page which contains an RDLC file. The RDLC is
based upon a local dataset. It is also defined as a LocalReport.

When I open the form which includes the ReportViewer object I get an error
on the Published version of the page. The development version works fine. The
error that I get is:

An internal error occurred on the report server. See the error log for more
details.

I have run the ReportViewer.ex e (version 2.0.50727.817) on the web server,
the sql server and the local machine. SQL Server Reporting Services
(MSSQLSERVER) is "Started" in Services on the SQL Server. This service does
not exist on the web server.

Is there something I need to do in IIS? or on the SQL Server to fix this
issue?

Thanks,

--
stullhe104
"Steven Cheng [MSFT]" wrote:
Thanks for your reply Stullhe,

As for Visual Studio ReportViewer client report(RDLC based), it doesn't
have any service log files. The error message is more likely indicating
some error related to SSRS reportserver. Have you checked whether there is
SQL Server Reporting service deployed on that server and in the same IIS
site where your ASP.NET application deployed? As far as I know, reporting
service server-side has log files under SQL Server instance directory. For
other logs, you can check the windows eventlog for application.

Also, if you have any other server, I suggest you try testing the
application on some other server to see whether it is specific to that
particular server machine.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
--------------------
Thread-Topic: Can't print from rdlc.
thread-index: Acjmc21bAUSoPq7 rQUi1pc1JsdxNew ==
X-WBNR-Posting-Host: 207.46.19.197
From: =?Utf-8?B?SGVyYg==?= <st********@new sgroup.nospam>
Subject: RE: Can't print from rdlc.
Date: Tue, 15 Jul 2008 05:08:01 -0700

My ASP.NET web page contains the rdlc file. This is a client report.

I have verified the ReportViewer on the data server, the web serevr and
the
local machine.

Do you know which log the error message refers to? I would like to see
what
the error log is reporting. It may help.

--
stullhe104
"Steven Cheng [MSFT]" wrote:
Thanks for your reply stullhe,

Based on your new description, I have some question here.

Are you using server-side report or client report? For server report,
you
should already have an report created and deployed on the SQL Server
reporting service server(can be visited via webbrowser and url). And
your
reportViewer control just set the mode to "ServerRepo rt" mode and
reference
that report via link.

For local report, it doesn't require anything from backend SQL Server
reporting service(though the data records still may come from sql server
database). the report template (rdlc) is deployed with your ASP.NET web
application. There is nothing to do with the SSRS reportServer here.

Anyway, both of the two ways, since you're using reportviewer control to
display the report, you need to make sure that the reportviewer control
has
been correctly deployed on the target server. Have you verified this?
If
the deployment server hasn't previously installed the ReporViewer
control,
you need to first install it.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments
and
suggestions about how we can improve the support we provide to you.
Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no
rights.
>

--------------------
From: =?Utf-8?B?SGVyYg==?= <st********@new sgroup.nospam>
References: <6C************ *************** *******@microso ft.com>
<87************ **@TK2MSFTNGHUB 02.phx.gbl>
Subject: RE: Can't print from rdlc.
Date: Fri, 11 Jul 2008 06:24:28 -0700


Steven, Thanks for your reply. My ASP.NET web page runs from our web
server
(WEB01) and SQL Server 2005 is on our development server (DATASVR02).

IIS uses Windows Authentication (no Anonymous) for the page. In the
connection string I use a specific uid for the SQL connection. This uid
also
has RSExecRole membership on both ReportServer and RportServerTemp DB.

As I have mentioned to (Rich P) the report is defined as LocalReport,
not
ServerReport.

I'm sure I'm missing something easy.

The error I get refers to "see the error log for details." Where do I
find
this error log so I can further investigate?

Thanks

--
stullhe104
"Steven Cheng [MSFT]" wrote:

Hi stullhe,

In addition to the RDLC template file's copy/deploy issue Rich has
mentioned, I would suggest you check the deployment of the
Reportviewer
control on the target server machine first.

For both VS 2005/.NET 2.0 and VS 2008 .NET 3.5, the reportViewer
control
is
included as an additional components(inst alled with visual studio),
not
built-in .net framework system component. If you want to deploy
application
which use Reportviewer control on a machine which doesn't have visual
studio installed. You need to install the reportviewer control on
that
machine also. The following MSDN reference has mentioned this, Visual
studio has provided the reportviewer control redistributable package
for
you:

#Deploying Reports and ReportViewer Controls
http://msdn.microsoft.com/en-us/libr...23(VS.80).aspx

#Deploying Reports and ReportViewer Controls
http://msdn.microsoft.com/en-us/library/ms251723.aspx

Here are more information about Reportviewer control:

#ReportViewer Controls (Visual Studio)
http://msdn.microsoft.com/en-us/library/ms251671.aspx

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

Jul 16 '08 #9
New developments.

I'm not sure what changed, but now instead of getting the error mentioned
before, not I get a "Server Error in '/MyProg' Application." The error refers
to "Unable to cast object of type 'System.Net.Fil eWebRequest' to type
'System.Net.Htt pWebRequest'.

At least this gives me more information to investigate.
--
stullhe104
"Steven Cheng [MSFT]" wrote:
Thanks for your reply Stullhe,

As for Visual Studio ReportViewer client report(RDLC based), it doesn't
have any service log files. The error message is more likely indicating
some error related to SSRS reportserver. Have you checked whether there is
SQL Server Reporting service deployed on that server and in the same IIS
site where your ASP.NET application deployed? As far as I know, reporting
service server-side has log files under SQL Server instance directory. For
other logs, you can check the windows eventlog for application.

Also, if you have any other server, I suggest you try testing the
application on some other server to see whether it is specific to that
particular server machine.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
--------------------
Thread-Topic: Can't print from rdlc.
thread-index: Acjmc21bAUSoPq7 rQUi1pc1JsdxNew ==
X-WBNR-Posting-Host: 207.46.19.197
From: =?Utf-8?B?SGVyYg==?= <st********@new sgroup.nospam>
Subject: RE: Can't print from rdlc.
Date: Tue, 15 Jul 2008 05:08:01 -0700

My ASP.NET web page contains the rdlc file. This is a client report.

I have verified the ReportViewer on the data server, the web serevr and
the
local machine.

Do you know which log the error message refers to? I would like to see
what
the error log is reporting. It may help.

--
stullhe104
"Steven Cheng [MSFT]" wrote:
Thanks for your reply stullhe,

Based on your new description, I have some question here.

Are you using server-side report or client report? For server report,
you
should already have an report created and deployed on the SQL Server
reporting service server(can be visited via webbrowser and url). And
your
reportViewer control just set the mode to "ServerRepo rt" mode and
reference
that report via link.

For local report, it doesn't require anything from backend SQL Server
reporting service(though the data records still may come from sql server
database). the report template (rdlc) is deployed with your ASP.NET web
application. There is nothing to do with the SSRS reportServer here.

Anyway, both of the two ways, since you're using reportviewer control to
display the report, you need to make sure that the reportviewer control
has
been correctly deployed on the target server. Have you verified this?
If
the deployment server hasn't previously installed the ReporViewer
control,
you need to first install it.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments
and
suggestions about how we can improve the support we provide to you.
Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no
rights.
>

--------------------
From: =?Utf-8?B?SGVyYg==?= <st********@new sgroup.nospam>
References: <6C************ *************** *******@microso ft.com>
<87************ **@TK2MSFTNGHUB 02.phx.gbl>
Subject: RE: Can't print from rdlc.
Date: Fri, 11 Jul 2008 06:24:28 -0700


Steven, Thanks for your reply. My ASP.NET web page runs from our web
server
(WEB01) and SQL Server 2005 is on our development server (DATASVR02).

IIS uses Windows Authentication (no Anonymous) for the page. In the
connection string I use a specific uid for the SQL connection. This uid
also
has RSExecRole membership on both ReportServer and RportServerTemp DB.

As I have mentioned to (Rich P) the report is defined as LocalReport,
not
ServerReport.

I'm sure I'm missing something easy.

The error I get refers to "see the error log for details." Where do I
find
this error log so I can further investigate?

Thanks

--
stullhe104
"Steven Cheng [MSFT]" wrote:

Hi stullhe,

In addition to the RDLC template file's copy/deploy issue Rich has
mentioned, I would suggest you check the deployment of the
Reportviewer
control on the target server machine first.

For both VS 2005/.NET 2.0 and VS 2008 .NET 3.5, the reportViewer
control
is
included as an additional components(inst alled with visual studio),
not
built-in .net framework system component. If you want to deploy
application
which use Reportviewer control on a machine which doesn't have visual
studio installed. You need to install the reportviewer control on
that
machine also. The following MSDN reference has mentioned this, Visual
studio has provided the reportviewer control redistributable package
for
you:

#Deploying Reports and ReportViewer Controls
http://msdn.microsoft.com/en-us/libr...23(VS.80).aspx

#Deploying Reports and ReportViewer Controls
http://msdn.microsoft.com/en-us/library/ms251723.aspx

Here are more information about Reportviewer control:

#ReportViewer Controls (Visual Studio)
http://msdn.microsoft.com/en-us/library/ms251671.aspx

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

Jul 17 '08 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1566
by: Greg | last post by:
Anyone having issues with their object datasources appearing and vanishing from the datasource browser? I create an object for binding as a datasource in my App_Code folder, compile my web project and it appears in the datasources in the report designer. Then I will make an aspx, setup a reportviewer control for my new report, go back to the rdlc and the object datasource sometimes just vanishes. I refresh, no luck.
7
3802
by: Greg | last post by:
I am running an RDLC with a object datasource. In the object I try to access System.Web.Httphandler to get the session, but it is nothing. The reportviewer running my rdlc from a webform, and it seems as though there is a setting or something to enable the object datasource access to the session but I cannot figure it out. Can someone help?
1
4718
by: Cam | last post by:
Hello, I am using vb.net 2005 with the report viewer control and the built-in reports (NOT CRYSTAL REPORTS). I have two datasets, two binding controls and two data table adapters. One complete set for production data and one complete set for development data. The report viewer fills a regular form, which when opened grabs the data for the report (based on certain parameters) The reports themselves are RDLC files. When the reports...
2
4826
by: delusion7 | last post by:
This is what I need to do... - create an outlook message window (for example: have the outlook window pop-up) - attach my report1.rdlc to the message - the attachment(report1.rdlc) needs to be a .pdf format (using c# vs2005 pro team ed.)
0
1926
by: Ayvi | last post by:
Dear Programmers, In these days I'm using VS 2005. Now i'm stuck with a problem. I'm using RDLC reporting files for the reports. But is there anyone who has a solution for the client editing reporting in 2005. The client wants to edit his own report. SO basicly I need a RDLC editing tool for the Client side. Please help me because it is realy difficult and important
1
3960
by: John A. Bailo | last post by:
ASP.NET 2.0 Project Added rdlc file DataSet with DataTable to be populated dynamically at runtime I cannot set DataSetName in the dropdown -- it does not recognize my DataSet and I cannot type into it.
0
1816
by: =?Utf-8?B?a2VuIHM=?= | last post by:
I created a new report using the ReportViewer control and get this error message when trying to display it: An error occurred during local report processing. The report definition for report 'PSTS.reports.Tester.rdlc' has not been specified I don't understand where the report definition needs to be specified. Isn't the .rdlc file the specification?
5
5944
by: =?Utf-8?B?SGVyYg==?= | last post by:
I need a Table object in my RDLC with 6 columns on the top several rows, but 1 column on the bottom two rows: COLUMN1 COLUMN2 COLUMN3 COLUMN4 COLUMN5 COLUMN6 COLUMN1 COLUMN2 COLUMN3 COLUMN4 COLUMN5 COLUMN6 COLUMN1 COLUMN2 COLUMN3 COLUMN4 COLUMN5 COLUMN6 -----------------------COLUMN1----------------------------------------- -----------------------COLUMN1----------------------------------------- I was able to acheive...
0
8470
by: =?Utf-8?B?RnJhbmsgVXJheQ==?= | last post by:
Hi all I have problems printing a .rdlc report directly to the printer. I have created such a report without Datasource, I just fill some parameters in this report. With the ReportViewer I am able to print, but now I need to print it directly without any preview. I have found some articles, but this dont work and they are quite complicated (for me ... :-))
0
8752
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9257
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9176
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9113
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8097
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6702
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6011
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3221
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2157
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.