all groups > sql server reporting services > july 2005 >
You're in the

sql server reporting services

group:

I can not get ReportViewer to display a server report


RE: I can not get ReportViewer to display a server report Suresh
7/25/2005 4:57:01 PM
sql server reporting services:
By giving proper authentication to the report u will be able to view the
report.
Basically report server required windows authentication. Check whether u
have assigned the user in the security tab of the report.

Second part:
Are u using report viewer provided by microsoft's sample.
Not sure about u'r question. If u are using postback to refresh the report
withe new parameter u need to pass "rs:ClearSession=true".

Suresh

[quoted text, click to view]
I can not get ReportViewer to display a server report Bill Lane
7/25/2005 4:59:01 PM
I am unable to get the reportviewer to display a server report from my aspx
page. If I configure the report server as Http://server/reportserver/, I get
a http 401 error. If I configure the report server as
http://server/reports/, I get a http 404 error. The report name is report1.
The report works if I use a browser and select if from the home page of
http://server/reports/. I would use a local report , but that has its own
challenges.

I wanted to use a dropdown box for a report parameter. I set the box at lode
time and the report view is correct for the value initially set. I can not
get the report to change no matter what I do to the drop down box.
Autopostback is set. I put code in the load and dropdown selected value
changed routines. I executed the select procedure of the datasource, I did
databind on everything I could see and it still does not work for me. I am
sure it is me, I just can not seem to get the right combination of stuff.

I really would appreciate help.

Re: I can not get ReportViewer to display a server report Bill Lane
7/25/2005 7:36:39 PM
I have progress one baby step. I included aspnet on the report. Now I get
the path is not valid for the report. The entries in the smart tab are
http://localhost/reportserver/ and report1. What should the report path
entry look like?
[quoted text, click to view]

Re: I can not get ReportViewer to display a server report Bill Lane
7/25/2005 8:02:28 PM
Got Past That - Now getting "collection was modifies after enumerator was
instantated ???????

[quoted text, click to view]

Re: I can not get ReportViewer to display a server report petery NO[at]SPAM online.microsoft.com
7/26/2005 12:00:00 AM
Hello Bill,

You shall set ServerUrl to Http://server/reportserver/ and Reportpath to
the proper report path.

For example, if you see a report from report manager with the following url

http://server/reports/Pages/Report.aspx?ItemPath=%2fSampleReports%2fReport2

The reportpath shall be /SampleReports/Report2

If you only use SampleReports/Report2, you may encounter path error
message.

As for the issue that report does not change after you change the selection
of the dropdown list, it is most likely that you did not set the
AutoPostBack="True" property for the dropdown list. Thus the postback event
is not fired. You shall set the Reportpath property of ReportViewer in
Dropdownlist_SelectedIndexChanged event handler.

i=DropDownList.SelectedIndex()
ReportViewer1.ReportPath=Dropdownlist.Item(i).value

Hope this is helpful.

Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================


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


--------------------
| From: "Bill Lane" <SirBillofLanenet@online.nospam>
| References: <#Fy$RQWkFHA.2852@TK2MSFTNGP15.phx.gbl>
<D61CEDE0-E24B-4DF6-9A5F-44EFE7129A86@microsoft.com>
| Subject: Re: I can not get ReportViewer to display a server report
| Date: Mon, 25 Jul 2005 20:02:28 -0500
| Lines: 48
| Organization: W Lane Enterprises
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| Message-ID: <eGq1y2XkFHA.2484@TK2MSFTNGP15.phx.gbl>
| Newsgroups: microsoft.public.sqlserver.reportingsvcs
| NNTP-Posting-Host: bill-lane.net 67.66.163.9
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP15.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.reportingsvcs:48874
| X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
|
| Got Past That - Now getting "collection was modifies after enumerator was
| instantated ???????
|
[quoted text, click to view]
| > By giving proper authentication to the report u will be able to view the
| > report.
| > Basically report server required windows authentication. Check whether u
| > have assigned the user in the security tab of the report.
| >
| > Second part:
| > Are u using report viewer provided by microsoft's sample.
| > Not sure about u'r question. If u are using postback to refresh the
report
| > withe new parameter u need to pass "rs:ClearSession=true".
| >
| > Suresh
| >
[quoted text, click to view]
| >
| >> I am unable to get the reportviewer to display a server report from my
| >> aspx
| >> page. If I configure the report server as Http://server/reportserver/,
I
| >> get
| >> a http 401 error. If I configure the report server as
| >> http://server/reports/, I get a http 404 error. The report name is
| >> report1.
| >> The report works if I use a browser and select if from the home page of
| >> http://server/reports/. I would use a local report , but that has its
own
| >> challenges.
| >>
| >> I wanted to use a dropdown box for a report parameter. I set the box
at
| >> lode
| >> time and the report view is correct for the value initially set. I can
| >> not
| >> get the report to change no matter what I do to the drop down box.
| >> Autopostback is set. I put code in the load and dropdown selected value
| >> changed routines. I executed the select procedure of the datasource, I
| >> did
| >> databind on everything I could see and it still does not work for me.
I
| >> am
| >> sure it is me, I just can not seem to get the right combination of
stuff.
| >>
| >> I really would appreciate help.
| >>
| >>
| >>
|
|
|
Re: I can not get ReportViewer to display a server report Bill Lane
7/27/2005 9:07:14 PM
Thank you peter. The path information helped.

I did have the AutoPostBack = "True" set for the dropdown list and now I get
"collection was modifies after enumerator was instantated" ???????




[quoted text, click to view]

Re: I can not get ReportViewer to display a server report petery NO[at]SPAM online.microsoft.com
7/28/2005 12:00:00 AM
Hello Bill,

Will you provide a screenshot of the error and the code of aspx page
holding the reportviewer?

Best Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================


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


--------------------
| From: "Bill Lane" <SirBillofLanenet@online.nospam>
| References: <#Fy$RQWkFHA.2852@TK2MSFTNGP15.phx.gbl>
<D61CEDE0-E24B-4DF6-9A5F-44EFE7129A86@microsoft.com>
<eGq1y2XkFHA.2484@TK2MSFTNGP15.phx.gbl>
<xqTW7UakFHA.3472@TK2MSFTNGXA01.phx.gbl>
| Subject: Re: I can not get ReportViewer to display a server report
| Date: Wed, 27 Jul 2005 21:07:14 -0500
| Lines: 142
| Organization: W Lane Enterprises
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| Message-ID: <uf#0TkxkFHA.572@TK2MSFTNGP15.phx.gbl>
| Newsgroups: microsoft.public.sqlserver.reportingsvcs
| NNTP-Posting-Host: bill-lane.net 67.66.163.9
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP15.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.reportingsvcs:49074
| X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
|
| Thank you peter. The path information helped.
|
| I did have the AutoPostBack = "True" set for the dropdown list and now I
get
| "collection was modifies after enumerator was instantated" ???????
|
|
|
|
[quoted text, click to view]
| > Hello Bill,
| >
| > You shall set ServerUrl to Http://server/reportserver/ and Reportpath to
| > the proper report path.
| >
| > For example, if you see a report from report manager with the following
| > url
| >
| >
http://server/reports/Pages/Report.aspx?ItemPath=%2fSampleReports%2fReport2
| >
| > The reportpath shall be /SampleReports/Report2
| >
| > If you only use SampleReports/Report2, you may encounter path error
| > message.
| >
| > As for the issue that report does not change after you change the
| > selection
| > of the dropdown list, it is most likely that you did not set the
| > AutoPostBack="True" property for the dropdown list. Thus the postback
| > event
| > is not fired. You shall set the Reportpath property of ReportViewer in
| > Dropdownlist_SelectedIndexChanged event handler.
| >
| > i=DropDownList.SelectedIndex()
| > ReportViewer1.ReportPath=Dropdownlist.Item(i).value
| >
| > Hope this is helpful.
| >
| > Regards,
| >
| > Peter Yang
| > MCSE2000/2003, MCSA, MCDBA
| > Microsoft Online Partner Support
| >
| > When responding to posts, please "Reply to Group" via your newsreader so
| > that others may learn and benefit from your issue.
| >
| > =====================================================
| >
| >
| > This posting is provided "AS IS" with no warranties, and confers no
| > rights.
| >
| >
| > --------------------
| > | From: "Bill Lane" <SirBillofLanenet@online.nospam>
| > | References: <#Fy$RQWkFHA.2852@TK2MSFTNGP15.phx.gbl>
| > <D61CEDE0-E24B-4DF6-9A5F-44EFE7129A86@microsoft.com>
| > | Subject: Re: I can not get ReportViewer to display a server report
| > | Date: Mon, 25 Jul 2005 20:02:28 -0500
| > | Lines: 48
| > | Organization: W Lane Enterprises
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| > | X-RFC2646: Format=Flowed; Original
| > | Message-ID: <eGq1y2XkFHA.2484@TK2MSFTNGP15.phx.gbl>
| > | Newsgroups: microsoft.public.sqlserver.reportingsvcs
| > | NNTP-Posting-Host: bill-lane.net 67.66.163.9
| > | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP15.phx.gbl
| > | Xref: TK2MSFTNGXA01.phx.gbl
| > microsoft.public.sqlserver.reportingsvcs:48874
| > | X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
| > |
| > | Got Past That - Now getting "collection was modifies after enumerator
| > was
| > | instantated ???????
| > |
[quoted text, click to view]
| > | > By giving proper authentication to the report u will be able to
view
| > the
| > | > report.
| > | > Basically report server required windows authentication. Check
whether
| > u
| > | > have assigned the user in the security tab of the report.
| > | >
| > | > Second part:
| > | > Are u using report viewer provided by microsoft's sample.
| > | > Not sure about u'r question. If u are using postback to refresh the
| > report
| > | > withe new parameter u need to pass "rs:ClearSession=true".
| > | >
| > | > Suresh
| > | >
[quoted text, click to view]
| > | >
| > | >> I am unable to get the reportviewer to display a server report
from
| > my
| > | >> aspx
| > | >> page. If I configure the report server as
| > Http://server/reportserver/,
| > I
| > | >> get
| > | >> a http 401 error. If I configure the report server as
| > | >> http://server/reports/, I get a http 404 error. The report name is
| > | >> report1.
| > | >> The report works if I use a browser and select if from the home
page
| > of
| > | >> http://server/reports/. I would use a local report , but that has
its
| > own
| > | >> challenges.
| > | >>
| > | >> I wanted to use a dropdown box for a report parameter. I set the
box
| > at
| > | >> lode
| > | >> time and the report view is correct for the value initially set. I
| > can
| > | >> not
| > | >> get the report to change no matter what I do to the drop down box.
| > | >> Autopostback is set. I put code in the load and dropdown selected
| > value
| > | >> changed routines. I executed the select procedure of the
datasource,
| > I
| > | >> did
| > | >> databind on everything I could see and it still does not work for
me.
| > I
| > | >> am
| > | >> sure it is me, I just can not seem to get the right combination of
| > stuff.
| > | >>
| > | >> I really would appreciate help.
| > | >>
| > | >>
| > | >>
| > |
| > |
| > |
| >
|
|
|
Re: I can not get ReportViewer to display a server report Bill Lane
7/28/2005 10:24:33 PM
Sorry for the delay. I had to put the screen shots on a web page as the data
was too large to post. Here is the link to the screenshot.
http://www.wlaneenterprises.net/reporterror.htm. Here is the code for the
page that generates the report:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Report1.aspx.vb"
Inherits="Report1" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >

<head runat="server">

<title>Untitled Page</title>

</head>

<body>

<form id="form1" runat="server">

<div>

<rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana"
Font-Size="8pt"

Height="600px" ProcessingMode="Remote" Width="900px">

<ServerReport ReportPath="/report1"
ReportServerUrl="http://localhost/reportserver/"
DisplayName="report1"></ServerReport>

</rsweb:ReportViewer>

&nbsp;</div>

</form>

</body>

</html>

[quoted text, click to view]
Re: I can not get ReportViewer to display a server report Bill Lane
7/29/2005 8:34:50 AM
The issue does not happen if I browse the report directly from report
manager. I see your sample selects different reports using the value of the
dropdown box. I want to get the same report with different data. In my
example, mymonth is the month of data to choose for the report.

[quoted text, click to view]
Re: I can not get ReportViewer to display a server report petery NO[at]SPAM online.microsoft.com
7/29/2005 9:00:39 AM
Hello Bill,

It seems a issue inside the report. If you browse the report directly from
report manager, does the issue occur? If you use a different report with
parameters, does the issue persists?

I tried to reproduce the issue on my side to not avail. The following are
the .aspx and aspx.vb file I used to test. I used the sample report
included in reporting service.

<%@ Register TagPrefix="cc1"
Namespace="Microsoft.Samples.ReportingServices" Assembly="ReportViewer" %>
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="WebForm1.aspx.vb" Inherits="WebApplication1.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>WebForm1</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<cc1:reportviewer id="ReportViewer1" style="Z-INDEX: 101; LEFT: 116px;
POSITION: absolute; TOP: 8px"
runat="server" Format="HTMLOWC" ReportPath="/SampleReports/Employee
Sales Summary" ServerUrl=" http://localhost/reportserver"
Width="570px" Height="260px"></cc1:reportviewer>
<asp:dropdownlist id="DropDownList1" style="Z-INDEX: 102; LEFT: 240px;
POSITION: absolute; TOP: 320px"
runat="server" AutoPostBack="True"></asp:dropdownlist></form>
</body>
</HTML>




Public Class WebForm1
Inherits System.Web.UI.Page

#Region " Web Form Designer Generated Code "

'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub
InitializeComponent()

End Sub
Protected WithEvents ReportViewer1 As
Microsoft.Samples.ReportingServices.ReportViewer
Protected WithEvents DropDownList1 As
System.Web.UI.WebControls.DropDownList

'NOTE: The following placeholder declaration is required by the Web
Form Designer.
'Do not delete or move it.
Private designerPlaceholderDeclaration As System.Object

Private Sub Page_Init(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeComponent()
End Sub

#End Region

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
If Not IsPostBack Then

DropDownList1.Items.Add("/SampleReports/Employee Sales Summary")
DropDownList1.Items.Add("/SampleReports/Matrix")
DropDownList1.Items.Add("/SampleReports/Report4")
DropDownList1.Items.Add("/SampleReports/Report2")
End If


End Sub

Private Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object,
ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged
Dim i As Integer
i = DropDownList1.SelectedIndex()

ReportViewer1.ReportPath = DropDownList1.Items(i).Value
End Sub
End Class

Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================


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


--------------------
| From: "Bill Lane" <SirBillofLanenet@online.nospam>
| References: <#Fy$RQWkFHA.2852@TK2MSFTNGP15.phx.gbl>
<D61CEDE0-E24B-4DF6-9A5F-44EFE7129A86@microsoft.com>
<eGq1y2XkFHA.2484@TK2MSFTNGP15.phx.gbl>
<xqTW7UakFHA.3472@TK2MSFTNGXA01.phx.gbl>
<uf#0TkxkFHA.572@TK2MSFTNGP15.phx.gbl>
<UM8AFFzkFHA.940@TK2MSFTNGXA01.phx.gbl>
| Subject: Re: I can not get ReportViewer to display a server report
| Date: Thu, 28 Jul 2005 22:24:33 -0500
| Lines: 260
| Organization: W Lane Enterprises
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| Message-ID: <#cNMl0#kFHA.764@TK2MSFTNGP14.phx.gbl>
| Newsgroups: microsoft.public.sqlserver.reportingsvcs
| NNTP-Posting-Host: bill-lane.net 67.66.163.9
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP14.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.reportingsvcs:49186
| X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
|
| Sorry for the delay. I had to put the screen shots on a web page as the
data
| was too large to post. Here is the link to the screenshot.
| http://www.wlaneenterprises.net/reporterror.htm. Here is the code for the
| page that generates the report:
| <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Report1.aspx.vb"
| Inherits="Report1" %>
|
| <%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0,
| Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
|
| Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
|
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
| "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
| <html xmlns="http://www.w3.org/1999/xhtml" >
|
| <head runat="server">
|
| <title>Untitled Page</title>
|
| </head>
|
| <body>
|
| <form id="form1" runat="server">
|
| <div>
|
| <rsweb:ReportViewer ID="ReportViewer1" runat="server"
Font-Names="Verdana"
| Font-Size="8pt"
|
| Height="600px" ProcessingMode="Remote" Width="900px">
|
| <ServerReport ReportPath="/report1"
| ReportServerUrl="http://localhost/reportserver/"
| DisplayName="report1"></ServerReport>
|
| </rsweb:ReportViewer>
|
| &nbsp;</div>
|
| </form>
|
| </body>
|
| </html>
|
[quoted text, click to view]
| > Hello Bill,
| >
| > Will you provide a screenshot of the error and the code of aspx page
| > holding the reportviewer?
| >
| > Best Regards,
| >
| > Peter Yang
| > MCSE2000/2003, MCSA, MCDBA
| > Microsoft Online Partner Support
| >
| > When responding to posts, please "Reply to Group" via your newsreader so
| > that others may learn and benefit from your issue.
| >
| > =====================================================
| >
| >
| > This posting is provided "AS IS" with no warranties, and confers no
| > rights.
| >
| >
| > --------------------
| > | From: "Bill Lane" <SirBillofLanenet@online.nospam>
| > | References: <#Fy$RQWkFHA.2852@TK2MSFTNGP15.phx.gbl>
| > <D61CEDE0-E24B-4DF6-9A5F-44EFE7129A86@microsoft.com>
| > <eGq1y2XkFHA.2484@TK2MSFTNGP15.phx.gbl>
Re: I can not get ReportViewer to display a server report Bill Lane
7/29/2005 10:55:20 AM
I am using the june version of vs2005 standard. I looks like your example is
using vs2003. Please confirm your test version.
[quoted text, click to view]
Re: I can not get ReportViewer to display a server report petery NO[at]SPAM online.microsoft.com
8/1/2005 12:00:00 AM
Hello Bill,

I think VS.net 2005 uses Whidbey which may have different behavior than
.net 1.1. Did you try on a .net 1.1 server to test?

Also, the example "Employee Sales Summary" have different parameters, we
could select/input different paramter, and click "View report" to show the
report.

Best Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================


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


--------------------
| From: "Bill Lane" <SirBillofLanenet@online.nospam>
| References: <#Fy$RQWkFHA.2852@TK2MSFTNGP15.phx.gbl>
<D61CEDE0-E24B-4DF6-9A5F-44EFE7129A86@microsoft.com>
<eGq1y2XkFHA.2484@TK2MSFTNGP15.phx.gbl>
<xqTW7UakFHA.3472@TK2MSFTNGXA01.phx.gbl>
<uf#0TkxkFHA.572@TK2MSFTNGP15.phx.gbl>
<UM8AFFzkFHA.940@TK2MSFTNGXA01.phx.gbl>
<#cNMl0#kFHA.764@TK2MSFTNGP14.phx.gbl>
<nS3v$vBlFHA.3120@TK2MSFTNGXA01.phx.gbl>
| Subject: Re: I can not get ReportViewer to display a server report
| Date: Fri, 29 Jul 2005 10:55:20 -0500
| Lines: 429
| Organization: W Lane Enterprises
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| Message-ID: <Oz2WuXFlFHA.1968@TK2MSFTNGP14.phx.gbl>
| Newsgroups: microsoft.public.sqlserver.reportingsvcs
| NNTP-Posting-Host: bill-lane.net 67.66.163.9
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP14.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.reportingsvcs:49251
| X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
|
| I am using the june version of vs2005 standard. I looks like your example
is
| using vs2003. Please confirm your test version.
[quoted text, click to view]
| > Hello Bill,
| >
| > It seems a issue inside the report. If you browse the report directly
from
| > report manager, does the issue occur? If you use a different report with
| > parameters, does the issue persists?
| >
| > I tried to reproduce the issue on my side to not avail. The following
are
| > the .aspx and aspx.vb file I used to test. I used the sample report
| > included in reporting service.
| >
| > <%@ Register TagPrefix="cc1"
| > Namespace="Microsoft.Samples.ReportingServices" Assembly="ReportViewer"
%>
| > <%@ Page Language="vb" AutoEventWireup="false"
| > Codebehind="WebForm1.aspx.vb" Inherits="WebApplication1.WebForm1"%>
| > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
| > <HTML>
| > <HEAD>
| > <title>WebForm1</title>
| > <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
| > <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
| > <meta content="JavaScript" name="vs_defaultClientScript">
| > <meta content="http://schemas.microsoft.com/intellisense/ie5"
| > name="vs_targetSchema">
| > </HEAD>
| > <body MS_POSITIONING="GridLayout">
| > <form id="Form1" method="post" runat="server">
| > <cc1:reportviewer id="ReportViewer1" style="Z-INDEX: 101; LEFT: 116px;
| > POSITION: absolute; TOP: 8px"
| > runat="server" Format="HTMLOWC" ReportPath="/SampleReports/Employee
| > Sales Summary" ServerUrl=" http://localhost/reportserver"
| > Width="570px" Height="260px"></cc1:reportviewer>
| > <asp:dropdownlist id="DropDownList1" style="Z-INDEX: 102; LEFT: 240px;
| > POSITION: absolute; TOP: 320px"
| > runat="server" AutoPostBack="True"></asp:dropdownlist></form>
| > </body>
| > </HTML>
| >
| >
| >
| >
| > Public Class WebForm1
| > Inherits System.Web.UI.Page
| >
| > #Region " Web Form Designer Generated Code "
| >
| > 'This call is required by the Web Form Designer.
| > <System.Diagnostics.DebuggerStepThrough()> Private Sub
| > InitializeComponent()
| >
| > End Sub
| > Protected WithEvents ReportViewer1 As
| > Microsoft.Samples.ReportingServices.ReportViewer
| > Protected WithEvents DropDownList1 As
| > System.Web.UI.WebControls.DropDownList
| >
| > 'NOTE: The following placeholder declaration is required by the Web
| > Form Designer.
| > 'Do not delete or move it.
| > Private designerPlaceholderDeclaration As System.Object
| >
| > Private Sub Page_Init(ByVal sender As System.Object, ByVal e As
| > System.EventArgs) Handles MyBase.Init
| > 'CODEGEN: This method call is required by the Web Form Designer
| > 'Do not modify it using the code editor.
| > InitializeComponent()
| > End Sub
| >
| > #End Region
| >
| > Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
| > System.EventArgs) Handles MyBase.Load
| > 'Put user code to initialize the page here
| > If Not IsPostBack Then
| >
| > DropDownList1.Items.Add("/SampleReports/Employee Sales
| > Summary")
| > DropDownList1.Items.Add("/SampleReports/Matrix")
| > DropDownList1.Items.Add("/SampleReports/Report4")
| > DropDownList1.Items.Add("/SampleReports/Report2")
| > End If
| >
| >
| > End Sub
| >
| > Private Sub DropDownList1_SelectedIndexChanged(ByVal sender As
Object,
| > ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged
| > Dim i As Integer
| > i = DropDownList1.SelectedIndex()
| >
| > ReportViewer1.ReportPath = DropDownList1.Items(i).Value
| > End Sub
| > End Class
| >
| > Regards,
| >
| > Peter Yang
| > MCSE2000/2003, MCSA, MCDBA
| > Microsoft Online Partner Support
| >
| > When responding to posts, please "Reply to Group" via your newsreader so
| > that others may learn and benefit from your issue.
| >
| > =====================================================
| >
| >
| > This posting is provided "AS IS" with no warranties, and confers no
| > rights.
| >
| >
| > --------------------
| > | From: "Bill Lane" <SirBillofLanenet@online.nospam>
| > | References: <#Fy$RQWkFHA.2852@TK2MSFTNGP15.phx.gbl>
| > <D61CEDE0-E24B-4DF6-9A5F-44EFE7129A86@microsoft.com>
| > <eGq1y2XkFHA.2484@TK2MSFTNGP15.phx.gbl>
| > <xqTW7UakFHA.3472@TK2MSFTNGXA01.phx.gbl>
| > <uf#0TkxkFHA.572@TK2MSFTNGP15.phx.gbl>
| > <UM8AFFzkFHA.940@TK2MSFTNGXA01.phx.gbl>
| > | Subject: Re: I can not get ReportViewer to display a server report
| > | Date: Thu, 28 Jul 2005 22:24:33 -0500
| > | Lines: 260
| > | Organization: W Lane Enterprises
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| > | X-RFC2646: Format=Flowed; Original
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| > | Message-ID: <#cNMl0#kFHA.764@TK2MSFTNGP14.phx.gbl>
AddThis Social Bookmark Button