Hi,
In reporting services 2000 we had provision to pass report parameters
to Render Stream method. Now i am not able to do this in Render Stream
method of report execution api in RS 2005. I need to get the stream in
the form of html based on the parameters passed (e.g;in RS 2000 i used
to do like this...image = rs.RenderStream(reportPath, "HTML4.0",
streamID,historyID, devInfo, values, out optionalString, out
optionalString);). Can any one please tell me how to do this in
Reporting services 2005?Hello,
I have the same issue too, but I got the StreamNotFoundException. Here is my
steps:
1. call render() method. (a ref to streamID is returned)
2. call renderstream() method with above streamID.
Got the exception StreamNotFoundException.
I have no idea why the exception occurs.
The exception is pretty much the same as
http://support.microsoft.com/?kbid=913363
Anyone got an idea?
Thanks
Tai
"Arthas" wrote:
> Hi,
> In reporting services 2000 we had provision to pass report parameters
> to Render Stream method. Now i am not able to do this in Render Stream
> method of report execution api in RS 2005. I need to get the stream in
> the form of html based on the parameters passed (e.g;in RS 2000 i used
> to do like this...image = rs.RenderStream(reportPath, "HTML4.0",
> streamID,historyID, devInfo, values, out optionalString, out
> optionalString);). Can any one please tell me how to do this in
> Reporting services 2005?
>
Showing posts with label render. Show all posts
Showing posts with label render. Show all posts
Friday, March 9, 2012
Friday, February 24, 2012
Issue rendering report from aspx page via WS and colspan problem
I'm using web services to render a report from the code behind in an aspx
page. Aside from images not showing (which is another issue), the page
looks OK. however, when I copy the report's html into a test html page in
VS 2003, there are some errors. one of which has to do with a colspan
attribute. here's the code for that attribute: "colSpan=22 ?". When I
delete the " ?" then its OK. can anyone tell me why SSRS is doing this and
how to remedy it? I'm using SSRS sp1. I can't install sp2 for a few more
weeks yet.
Thanks.
--
moondaddy@.nospam.nospamHello,
To understand the issue better, I' d like to know if the it occurs for each
item of the report? If it is for each item, can you reproduce the issue
with a simple report with a Textbox etc and post back the reult html source
file? You may want to take a look at this link on rendering report by using
SRS web services:
http://www.codeproject.com/useritems/SQLRSViewer.asp
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: "moondaddy" <moondaddy@.nospam.nospam>
| Subject: Issue rendering report from aspx page via WS and colspan problem
| Date: Mon, 16 May 2005 15:32:03 -0500
| Lines: 17
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
| X-RFC2646: Format=Flowed; Original
| Message-ID: <uXC9IVlWFHA.3188@.TK2MSFTNGP09.phx.gbl>
| Newsgroups: microsoft.public.sqlserver.reportingsvcs
| NNTP-Posting-Host: cpe-24-175-69-234.houston.res.rr.com 24.175.69.234
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.reportingsvcs:43974
| X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
|
| I'm using web services to render a report from the code behind in an aspx
| page. Aside from images not showing (which is another issue), the page
| looks OK. however, when I copy the report's html into a test html page
in
| VS 2003, there are some errors. one of which has to do with a colspan
| attribute. here's the code for that attribute: "colSpan=22 ?". When I
| delete the " ?" then its OK. can anyone tell me why SSRS is doing this
and
| how to remedy it? I'm using SSRS sp1. I can't install sp2 for a few
more
| weeks yet.
|
| Thanks.
|
|
|
| --
| moondaddy@.nospam.nospam
|
|
||||It only happens in one spefic place in the report, however, there are many
other identical elements in the report so I dont know why it just happens in
one. The link below looks like a good source. I'm already doing much of
what he talks about, but I'll go through it very carrful as there may be
some key things to pickup.
Thanks.
--
moondaddy@.nospam.nospam
"Peter Yang [MSFT]" <petery@.online.microsoft.com> wrote in message
news:0HAzW7oWFHA.2184@.TK2MSFTNGXA01.phx.gbl...
> Hello,
> To understand the issue better, I' d like to know if the it occurs for
> each
> item of the report? If it is for each item, can you reproduce the issue
> with a simple report with a Textbox etc and post back the reult html
> source
> file? You may want to take a look at this link on rendering report by
> using
> SRS web services:
> http://www.codeproject.com/useritems/SQLRSViewer.asp
> 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: "moondaddy" <moondaddy@.nospam.nospam>
> | Subject: Issue rendering report from aspx page via WS and colspan
> problem
> | Date: Mon, 16 May 2005 15:32:03 -0500
> | Lines: 17
> | X-Priority: 3
> | X-MSMail-Priority: Normal
> | X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
> | X-RFC2646: Format=Flowed; Original
> | Message-ID: <uXC9IVlWFHA.3188@.TK2MSFTNGP09.phx.gbl>
> | Newsgroups: microsoft.public.sqlserver.reportingsvcs
> | NNTP-Posting-Host: cpe-24-175-69-234.houston.res.rr.com 24.175.69.234
> | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
> | Xref: TK2MSFTNGXA01.phx.gbl
> microsoft.public.sqlserver.reportingsvcs:43974
> | X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
> |
> | I'm using web services to render a report from the code behind in an
> aspx
> | page. Aside from images not showing (which is another issue), the page
> | looks OK. however, when I copy the report's html into a test html page
> in
> | VS 2003, there are some errors. one of which has to do with a colspan
> | attribute. here's the code for that attribute: "colSpan=22 ?". When I
> | delete the " ?" then its OK. can anyone tell me why SSRS is doing this
> and
> | how to remedy it? I'm using SSRS sp1. I can't install sp2 for a few
> more
> | weeks yet.
> |
> | Thanks.
> |
> |
> |
> | --
> | moondaddy@.nospam.nospam
> |
> |
> |
>|||Hello,
It is odd that the issue only occurs with a specific item. It does not seem
to be a issue on Web services. Did you double check the function to render
to report? If you re-deploy the report, does the issue still occur?
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: "moondaddy" <moondaddy@.nospam.nospam>
| References: <uXC9IVlWFHA.3188@.TK2MSFTNGP09.phx.gbl>
<0HAzW7oWFHA.2184@.TK2MSFTNGXA01.phx.gbl>
| Subject: Re: Issue rendering report from aspx page via WS and colspan
problem
| Date: Tue, 17 May 2005 00:14:19 -0500
| Lines: 87
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
| Message-ID: <uJ4q#4pWFHA.2768@.tk2msftngp13.phx.gbl>
| Newsgroups: microsoft.public.sqlserver.reportingsvcs
| NNTP-Posting-Host: cpe-24-175-69-234.houston.res.rr.com 24.175.69.234
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.reportingsvcs:44000
| X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
|
| It only happens in one spefic place in the report, however, there are
many
| other identical elements in the report so I dont know why it just happens
in
| one. The link below looks like a good source. I'm already doing much of
| what he talks about, but I'll go through it very carrful as there may be
| some key things to pickup.
|
| Thanks.
|
| --
| moondaddy@.nospam.nospam
| "Peter Yang [MSFT]" <petery@.online.microsoft.com> wrote in message
| news:0HAzW7oWFHA.2184@.TK2MSFTNGXA01.phx.gbl...
| > Hello,
| >
| > To understand the issue better, I' d like to know if the it occurs for
| > each
| > item of the report? If it is for each item, can you reproduce the issue
| > with a simple report with a Textbox etc and post back the reult html
| > source
| > file? You may want to take a look at this link on rendering report by
| > using
| > SRS web services:
| >
| > http://www.codeproject.com/useritems/SQLRSViewer.asp
| >
| > 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: "moondaddy" <moondaddy@.nospam.nospam>
| > | Subject: Issue rendering report from aspx page via WS and colspan
| > problem
| > | Date: Mon, 16 May 2005 15:32:03 -0500
| > | Lines: 17
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
| > | X-RFC2646: Format=Flowed; Original
| > | Message-ID: <uXC9IVlWFHA.3188@.TK2MSFTNGP09.phx.gbl>
| > | Newsgroups: microsoft.public.sqlserver.reportingsvcs
| > | NNTP-Posting-Host: cpe-24-175-69-234.houston.res.rr.com 24.175.69.234
| > | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
| > | Xref: TK2MSFTNGXA01.phx.gbl
| > microsoft.public.sqlserver.reportingsvcs:43974
| > | X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
| > |
| > | I'm using web services to render a report from the code behind in an
| > aspx
| > | page. Aside from images not showing (which is another issue), the
page
| > | looks OK. however, when I copy the report's html into a test html
page
| > in
| > | VS 2003, there are some errors. one of which has to do with a colspan
| > | attribute. here's the code for that attribute: "colSpan=22 ?".
When I
| > | delete the " ?" then its OK. can anyone tell me why SSRS is doing
this
| > and
| > | how to remedy it? I'm using SSRS sp1. I can't install sp2 for a few
| > more
| > | weeks yet.
| > |
| > | Thanks.
| > |
| > |
| > |
| > | --
| > | moondaddy@.nospam.nospam
| > |
| > |
| > |
| >
|
|
|
page. Aside from images not showing (which is another issue), the page
looks OK. however, when I copy the report's html into a test html page in
VS 2003, there are some errors. one of which has to do with a colspan
attribute. here's the code for that attribute: "colSpan=22 ?". When I
delete the " ?" then its OK. can anyone tell me why SSRS is doing this and
how to remedy it? I'm using SSRS sp1. I can't install sp2 for a few more
weeks yet.
Thanks.
--
moondaddy@.nospam.nospamHello,
To understand the issue better, I' d like to know if the it occurs for each
item of the report? If it is for each item, can you reproduce the issue
with a simple report with a Textbox etc and post back the reult html source
file? You may want to take a look at this link on rendering report by using
SRS web services:
http://www.codeproject.com/useritems/SQLRSViewer.asp
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: "moondaddy" <moondaddy@.nospam.nospam>
| Subject: Issue rendering report from aspx page via WS and colspan problem
| Date: Mon, 16 May 2005 15:32:03 -0500
| Lines: 17
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
| X-RFC2646: Format=Flowed; Original
| Message-ID: <uXC9IVlWFHA.3188@.TK2MSFTNGP09.phx.gbl>
| Newsgroups: microsoft.public.sqlserver.reportingsvcs
| NNTP-Posting-Host: cpe-24-175-69-234.houston.res.rr.com 24.175.69.234
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.reportingsvcs:43974
| X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
|
| I'm using web services to render a report from the code behind in an aspx
| page. Aside from images not showing (which is another issue), the page
| looks OK. however, when I copy the report's html into a test html page
in
| VS 2003, there are some errors. one of which has to do with a colspan
| attribute. here's the code for that attribute: "colSpan=22 ?". When I
| delete the " ?" then its OK. can anyone tell me why SSRS is doing this
and
| how to remedy it? I'm using SSRS sp1. I can't install sp2 for a few
more
| weeks yet.
|
| Thanks.
|
|
|
| --
| moondaddy@.nospam.nospam
|
|
||||It only happens in one spefic place in the report, however, there are many
other identical elements in the report so I dont know why it just happens in
one. The link below looks like a good source. I'm already doing much of
what he talks about, but I'll go through it very carrful as there may be
some key things to pickup.
Thanks.
--
moondaddy@.nospam.nospam
"Peter Yang [MSFT]" <petery@.online.microsoft.com> wrote in message
news:0HAzW7oWFHA.2184@.TK2MSFTNGXA01.phx.gbl...
> Hello,
> To understand the issue better, I' d like to know if the it occurs for
> each
> item of the report? If it is for each item, can you reproduce the issue
> with a simple report with a Textbox etc and post back the reult html
> source
> file? You may want to take a look at this link on rendering report by
> using
> SRS web services:
> http://www.codeproject.com/useritems/SQLRSViewer.asp
> 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: "moondaddy" <moondaddy@.nospam.nospam>
> | Subject: Issue rendering report from aspx page via WS and colspan
> problem
> | Date: Mon, 16 May 2005 15:32:03 -0500
> | Lines: 17
> | X-Priority: 3
> | X-MSMail-Priority: Normal
> | X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
> | X-RFC2646: Format=Flowed; Original
> | Message-ID: <uXC9IVlWFHA.3188@.TK2MSFTNGP09.phx.gbl>
> | Newsgroups: microsoft.public.sqlserver.reportingsvcs
> | NNTP-Posting-Host: cpe-24-175-69-234.houston.res.rr.com 24.175.69.234
> | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
> | Xref: TK2MSFTNGXA01.phx.gbl
> microsoft.public.sqlserver.reportingsvcs:43974
> | X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
> |
> | I'm using web services to render a report from the code behind in an
> aspx
> | page. Aside from images not showing (which is another issue), the page
> | looks OK. however, when I copy the report's html into a test html page
> in
> | VS 2003, there are some errors. one of which has to do with a colspan
> | attribute. here's the code for that attribute: "colSpan=22 ?". When I
> | delete the " ?" then its OK. can anyone tell me why SSRS is doing this
> and
> | how to remedy it? I'm using SSRS sp1. I can't install sp2 for a few
> more
> | weeks yet.
> |
> | Thanks.
> |
> |
> |
> | --
> | moondaddy@.nospam.nospam
> |
> |
> |
>|||Hello,
It is odd that the issue only occurs with a specific item. It does not seem
to be a issue on Web services. Did you double check the function to render
to report? If you re-deploy the report, does the issue still occur?
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: "moondaddy" <moondaddy@.nospam.nospam>
| References: <uXC9IVlWFHA.3188@.TK2MSFTNGP09.phx.gbl>
<0HAzW7oWFHA.2184@.TK2MSFTNGXA01.phx.gbl>
| Subject: Re: Issue rendering report from aspx page via WS and colspan
problem
| Date: Tue, 17 May 2005 00:14:19 -0500
| Lines: 87
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
| Message-ID: <uJ4q#4pWFHA.2768@.tk2msftngp13.phx.gbl>
| Newsgroups: microsoft.public.sqlserver.reportingsvcs
| NNTP-Posting-Host: cpe-24-175-69-234.houston.res.rr.com 24.175.69.234
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.reportingsvcs:44000
| X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
|
| It only happens in one spefic place in the report, however, there are
many
| other identical elements in the report so I dont know why it just happens
in
| one. The link below looks like a good source. I'm already doing much of
| what he talks about, but I'll go through it very carrful as there may be
| some key things to pickup.
|
| Thanks.
|
| --
| moondaddy@.nospam.nospam
| "Peter Yang [MSFT]" <petery@.online.microsoft.com> wrote in message
| news:0HAzW7oWFHA.2184@.TK2MSFTNGXA01.phx.gbl...
| > Hello,
| >
| > To understand the issue better, I' d like to know if the it occurs for
| > each
| > item of the report? If it is for each item, can you reproduce the issue
| > with a simple report with a Textbox etc and post back the reult html
| > source
| > file? You may want to take a look at this link on rendering report by
| > using
| > SRS web services:
| >
| > http://www.codeproject.com/useritems/SQLRSViewer.asp
| >
| > 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: "moondaddy" <moondaddy@.nospam.nospam>
| > | Subject: Issue rendering report from aspx page via WS and colspan
| > problem
| > | Date: Mon, 16 May 2005 15:32:03 -0500
| > | Lines: 17
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
| > | X-RFC2646: Format=Flowed; Original
| > | Message-ID: <uXC9IVlWFHA.3188@.TK2MSFTNGP09.phx.gbl>
| > | Newsgroups: microsoft.public.sqlserver.reportingsvcs
| > | NNTP-Posting-Host: cpe-24-175-69-234.houston.res.rr.com 24.175.69.234
| > | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
| > | Xref: TK2MSFTNGXA01.phx.gbl
| > microsoft.public.sqlserver.reportingsvcs:43974
| > | X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
| > |
| > | I'm using web services to render a report from the code behind in an
| > aspx
| > | page. Aside from images not showing (which is another issue), the
page
| > | looks OK. however, when I copy the report's html into a test html
page
| > in
| > | VS 2003, there are some errors. one of which has to do with a colspan
| > | attribute. here's the code for that attribute: "colSpan=22 ?".
When I
| > | delete the " ?" then its OK. can anyone tell me why SSRS is doing
this
| > and
| > | how to remedy it? I'm using SSRS sp1. I can't install sp2 for a few
| > more
| > | weeks yet.
| > |
| > | Thanks.
| > |
| > |
| > |
| > | --
| > | moondaddy@.nospam.nospam
| > |
| > |
| > |
| >
|
|
|
Subscribe to:
Posts (Atom)