Showing posts with label printing. Show all posts
Showing posts with label printing. Show all posts

Wednesday, March 28, 2012

RSClientPrint problem

I'm trying to get client side printing to work in asp.net with reporting services 2005. I've got an aspx page to do printing as described here but when I try to render a report I get the following:

1. Print dialog box appears as expected

2. Press print

3. Dialog box appears saying "Print in progress"

4. After a few seconds another dialog box appears saying there was an error printing the report. Error code is 80004005.

I get the same error if I try to preview instad of print.

The (relevent) code is:

<object id="RSClientPrint" classid="CLSID:FA91DF8D-53AB-455D-AB20-F2F023E498D3" codebase="Bin/RSClientPrint.cab#Version=2005,90,1399,0"></object>

<script language="javascript" type="text/javascript">
function printIt() {
RSClientPrint.Print('http://localhost/ReportServer$SQL2005',
'/LMI Reports/GoodsIn&OrderID=1000'),
'Goodsin');
}
</script>

<body onload="printIt()">

Does anybody know what this error is and how I can get the control to work? Its not clear to me what the version on the object statement should be. This example uses the version string from the control but I've also tried 1.0 with the same result. Its also not clear if I should be using RSClientPrint.Authenticate or not. I've tried both true and false with the same result.

Many thanks

Ian

Hi Ian,

I am also getting same problem . do you have any solutions for it ?

suresh babu

|||Ian did you solve this issue?.. if you did it.. please let me know to ayoplac@.hotmail.com
|||No, sadly it was never resolved other than using a different reporting system that actually works.

RSClientPrint problem

I'm trying to get client side printing to work in asp.net with reporting services 2005. I've got an aspx page to do printing as described here but when I try to render a report I get the following:

1. Print dialog box appears as expected

2. Press print

3. Dialog box appears saying "Print in progress"

4. After a few seconds another dialog box appears saying there was an error printing the report. Error code is 80004005.

I get the same error if I try to preview instad of print.

The (relevent) code is:

<object id="RSClientPrint" classid="CLSID:FA91DF8D-53AB-455D-AB20-F2F023E498D3" codebase="Bin/RSClientPrint.cab#Version=2005,90,1399,0"></object>

<script language="javascript" type="text/javascript">
function printIt() {
RSClientPrint.Print('http://localhost/ReportServer$SQL2005',
'/LMI Reports/GoodsIn&OrderID=1000'),
'Goodsin');
}
</script>

<body onload="printIt()">

Does anybody know what this error is and how I can get the control to work? Its not clear to me what the version on the object statement should be. This example uses the version string from the control but I've also tried 1.0 with the same result. Its also not clear if I should be using RSClientPrint.Authenticate or not. I've tried both true and false with the same result.

Many thanks

Ian

Hi Ian,

I am also getting same problem . do you have any solutions for it ?

suresh babu

|||Ian did you solve this issue?.. if you did it.. please let me know to ayoplac@.hotmail.com|||No, sadly it was never resolved other than using a different reporting system that actually works.

RSClientPrint problem

I'm trying to get client side printing to work in asp.net with reporting services 2005. I've got an aspx page to do printing as described here but when I try to render a report I get the following:

1. Print dialog box appears as expected

2. Press print

3. Dialog box appears saying "Print in progress"

4. After a few seconds another dialog box appears saying there was an error printing the report. Error code is 80004005.

I get the same error if I try to preview instad of print.

The (relevent) code is:

<object id="RSClientPrint" classid="CLSID:FA91DF8D-53AB-455D-AB20-F2F023E498D3" codebase="Bin/RSClientPrint.cab#Version=2005,90,1399,0"></object>

<script language="javascript" type="text/javascript">
function printIt() {
RSClientPrint.Print('http://localhost/ReportServer$SQL2005',
'/LMI Reports/GoodsIn&OrderID=1000'),
'Goodsin');
}
</script>

<body onload="printIt()">

Does anybody know what this error is and how I can get the control to work? Its not clear to me what the version on the object statement should be. This example uses the version string from the control but I've also tried 1.0 with the same result. Its also not clear if I should be using RSClientPrint.Authenticate or not. I've tried both true and false with the same result.

Many thanks

Ian

Hi Ian,

I am also getting same problem . do you have any solutions for it ?

suresh babu

|||Ian did you solve this issue?.. if you did it.. please let me know to ayoplac@.hotmail.com
|||No, sadly it was never resolved other than using a different reporting system that actually works.

Monday, March 26, 2012

RSClientPrint error 0x8007F304

I thought I finally had everything in place to do clienside printing using
RSClientPrint. I even got the dialog box for installing the software at the
client. However, now when I call my java function to print, I get a error
printing number of 0x8007F304.
Does anyone recognize it? Can anyone help?
--
Thanks,
CGWAfter working with this a little more, I believe the problem occurs when
RSClientPrint.Print method is invoked for a report without that report being
opened first in the browser. I was hoping to bypass that, but RSClientPrint
doesn't seem inclined to allow that. Bummer.
--
Thanks,
CGW
"CGW" wrote:
> I thought I finally had everything in place to do clienside printing using
> RSClientPrint. I even got the dialog box for installing the software at the
> client. However, now when I call my java function to print, I get a error
> printing number of 0x8007F304.
> Does anyone recognize it? Can anyone help?
> --
> Thanks,
> CGW|||The control was not designed to work in this way. You will need to call the
SOAP APIs.
--
Brian Welcker
Group Program Manager
Microsoft SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"CGW" <CGW@.discussions.microsoft.com> wrote in message
news:3E3F8389-4525-4130-A47A-76592F22E643@.microsoft.com...
> After working with this a little more, I believe the problem occurs when
> RSClientPrint.Print method is invoked for a report without that report
> being
> opened first in the browser. I was hoping to bypass that, but
> RSClientPrint
> doesn't seem inclined to allow that. Bummer.
> --
> Thanks,
> CGW
>
> "CGW" wrote:
>> I thought I finally had everything in place to do clienside printing
>> using
>> RSClientPrint. I even got the dialog box for installing the software at
>> the
>> client. However, now when I call my java function to print, I get a error
>> printing number of 0x8007F304.
>> Does anyone recognize it? Can anyone help?
>> --
>> Thanks,
>> CGW|||Thanks. I had about come to that conclusion. And I've never really used SOAP
APIs. I had about decided to use the rs utility and scripts to automate
morning reports. However, can you point me to a good intro to the RS SOAP
APIs and how to use them?
--
Thanks,
CGW
"Brian Welcker [MSFT]" wrote:
> The control was not designed to work in this way. You will need to call the
> SOAP APIs.
> --
> Brian Welcker
> Group Program Manager
> Microsoft SQL Server Reporting Services
> This posting is provided "AS IS" with no warranties, and confers no rights.
> "CGW" <CGW@.discussions.microsoft.com> wrote in message
> news:3E3F8389-4525-4130-A47A-76592F22E643@.microsoft.com...
> > After working with this a little more, I believe the problem occurs when
> > RSClientPrint.Print method is invoked for a report without that report
> > being
> > opened first in the browser. I was hoping to bypass that, but
> > RSClientPrint
> > doesn't seem inclined to allow that. Bummer.
> > --
> > Thanks,
> >
> > CGW
> >
> >
> > "CGW" wrote:
> >
> >> I thought I finally had everything in place to do clienside printing
> >> using
> >> RSClientPrint. I even got the dialog box for installing the software at
> >> the
> >> client. However, now when I call my java function to print, I get a error
> >> printing number of 0x8007F304.
> >>
> >> Does anyone recognize it? Can anyone help?
> >>
> >> --
> >> Thanks,
> >>
> >> CGW
>
>|||By the way... Just how was the control designed to work? Since it accepts the
report name, parameters, server, etc, I made the assumption that client
printing could be accomplished through the use of the control alone.
--
Thanks,
CGW
"Brian Welcker [MSFT]" wrote:
> The control was not designed to work in this way. You will need to call the
> SOAP APIs.
> --
> Brian Welcker
> Group Program Manager
> Microsoft SQL Server Reporting Services
> This posting is provided "AS IS" with no warranties, and confers no rights.
> "CGW" <CGW@.discussions.microsoft.com> wrote in message
> news:3E3F8389-4525-4130-A47A-76592F22E643@.microsoft.com...
> > After working with this a little more, I believe the problem occurs when
> > RSClientPrint.Print method is invoked for a report without that report
> > being
> > opened first in the browser. I was hoping to bypass that, but
> > RSClientPrint
> > doesn't seem inclined to allow that. Bummer.
> > --
> > Thanks,
> >
> > CGW
> >
> >
> > "CGW" wrote:
> >
> >> I thought I finally had everything in place to do clienside printing
> >> using
> >> RSClientPrint. I even got the dialog box for installing the software at
> >> the
> >> client. However, now when I call my java function to print, I get a error
> >> printing number of 0x8007F304.
> >>
> >> Does anyone recognize it? Can anyone help?
> >>
> >> --
> >> Thanks,
> >>
> >> CGW
>
>

RSClientPrint and web-service rendering

I'm using the web-service to render the report with Reporting Services 2000, and I wish to implement client-side printing that will duplicate the functionality you'd ordinarily have using the Report Server.

The main motivation of rendering via the web-service is I can implement security on a per-request basis and completely hide the existence of the report server by doing everything server-side.

Unfortunately I have two problems with the RSClientPrint tool. Firstly, I can't USE it - whether this is a script problem or I don't have it installed properly I don't know. For reference, I have the .CAB file in the same folder and this is the tag I'm using to reference it in my HTML:

<OBJECT ID="RSClientPrint" CLASSID="CLSID:FA91DF8D-53AB-455D-AB20-F2F023E498D3" CODEBASE="RSClientPrint.cab" VIEWASTEXT></OBJECT>

And to print I'm using this JavaScript to set properties and call methods, I'd use syntax ie:

RSClientPrint.MarginLeft = 12.7;

However this results in a JavaScript error saying RSClientPrint is undefined. What else do I need to do?

Second concern: will the RSClientPrint require a resolvable, public URL path to the Report Server as parameters for the Print() function? ie the whole reason for using web-services was to hide the report server ...but the print parameters of the RSClientPrint seem to require parameters that're dispatched to the Report Server. I do not want the Report Server publically accessible at all costs. Is this not possible with RSClientPrint?

Hi Philip,

I have the same question with you.

Currently I'm using the IE's printing.

Another way is to render the report as PDF format and using PDF's printing function.

Best regards,

David

RSClientPrint and web-service rendering

I'm using the web-service to render the report with Reporting Services 2000, and I wish to implement client-side printing that will duplicate the functionality you'd ordinarily have using the Report Server.

The main motivation of rendering via the web-service is I can implement security on a per-request basis and completely hide the existence of the report server by doing everything server-side.

Unfortunately I have two problems with the RSClientPrint tool. Firstly, I can't USE it - whether this is a script problem or I don't have it installed properly I don't know. For reference, I have the .CAB file in the same folder and this is the tag I'm using to reference it in my HTML:

<OBJECT ID="RSClientPrint" CLASSID="CLSID:FA91DF8D-53AB-455D-AB20-F2F023E498D3" CODEBASE="RSClientPrint.cab" VIEWASTEXT></OBJECT>

And to print I'm using this JavaScript to set properties and call methods, I'd use syntax ie:

RSClientPrint.MarginLeft = 12.7;

However this results in a JavaScript error saying RSClientPrint is undefined. What else do I need to do?

Second concern: will the RSClientPrint require a resolvable, public URL path to the Report Server as parameters for the Print() function? ie the whole reason for using web-services was to hide the report server ...but the print parameters of the RSClientPrint seem to require parameters that're dispatched to the Report Server. I do not want the Report Server publically accessible at all costs. Is this not possible with RSClientPrint?

Hi Philip,

I have the same question with you.

Currently I'm using the IE's printing.

Another way is to render the report as PDF format and using PDF's printing function.

Best regards,

David

RSClientPrint

Hi all,

I wanted to use the RSClientPrint.dll on my website for printing server documents on the client. But I can nowhere find the dll (activeX).

Can someone provide me with that dll or send me a message where to find it, and will it work without Reporting Services?

TIA,

Dirk Ooms

You can find the dll embedded in the rsclientprint.cab file of your Reporting Services installation. Or, if you install the active-x control, you can find the dll in %windir%\Downloaded Program Files. Make sure you install all of the files (.dll, .rll and .ini) if using the print control directly.|||

Maybe I was looking in the wrong direction,

I found the DLL but I wanted to use it to print word documents on the client from a web browser.

Is this possible or can you only print Reports created by Reporting Services with it?

The print method is described as:

public abstract new void Print ( System.String reportServerUrl , System.String reportPath , System.String reportName )
Member of RSClientPrintLib.IRSClientPrint

Is there a possibility for printing word documents with this functionality or do I have to look for an other solution?

For the moment I'm converting the word files to pdf, showing the pdf in an other screen and then the user has to push the print button.

But if possible I would like to avoid the conversion, and provide the user automatically with the print option screen to print a document on his local printer without having to open that document on screen.

Any suggestions are welcome!

|||The client print from Reporting Services is for reports. You will not be able to use it in the manner you are suggesting.

RSClientPrint

Hi all,

I wanted to use the RSClientPrint.dll on my website for printing server documents on the client. But I can nowhere find the dll (activeX).

Can someone provide me with that dll or send me a message where to find it, and will it work without Reporting Services?

TIA,

Dirk Ooms

You can find the dll embedded in the rsclientprint.cab file of your Reporting Services installation. Or, if you install the active-x control, you can find the dll in %windir%\Downloaded Program Files. Make sure you install all of the files (.dll, .rll and .ini) if using the print control directly.|||

Maybe I was looking in the wrong direction,

I found the DLL but I wanted to use it to print word documents on the client from a web browser.

Is this possible or can you only print Reports created by Reporting Services with it?

The print method is described as:

public abstract new void Print ( System.String reportServerUrl , System.String reportPath , System.String reportName )
Member of RSClientPrintLib.IRSClientPrint

Is there a possibility for printing word documents with this functionality or do I have to look for an other solution?

For the moment I'm converting the word files to pdf, showing the pdf in an other screen and then the user has to push the print button.

But if possible I would like to avoid the conversion, and provide the user automatically with the print option screen to print a document on his local printer without having to open that document on screen.

Any suggestions are welcome!

|||The client print from Reporting Services is for reports. You will not be able to use it in the manner you are suggesting.

Friday, March 23, 2012

RS2005 Print Legal

Hello,
I'm trying to automate printing to legal size paper from the web
ReportViewer control.
In my Report Properties / Layout I have Page Width= 14in and Page
Height= 8.5in.
When the report renders I hit the print icon. It shows that the report
will print to landscape,
but the paper size is set to Letter.
Is there a way to programatically set the paper size to legal?
TIA,
JimNo you can not set this on the fly, and there have been bugs regarding the
portrait/landscape issue..
However you may have the settings backward... Width should be 8.5in and
height should be 14in...(myabe you just typed it backward in your post.)
--
Wayne Snyder MCDBA, SQL Server MVP
Mariner, Charlotte, NC
I support the Professional Association for SQL Server ( PASS) and it''s
community of SQL Professionals.
"jhcorey@.yahoo.com" wrote:
> Hello,
> I'm trying to automate printing to legal size paper from the web
> ReportViewer control.
> In my Report Properties / Layout I have Page Width= 14in and Page
> Height= 8.5in.
> When the report renders I hit the print icon. It shows that the report
> will print to landscape,
> but the paper size is set to Letter.
> Is there a way to programatically set the paper size to legal?
> TIA,
> Jim
>

Monday, March 12, 2012

RS SP2 client-printing

After installing SP2 (beta) it is possible to print on the client side, but
it seems that printing is not correct. In VS.NET I also have problems, but
it is what you really get when print from IE (browser). Has anybody
suggeestion about this ?
Thanks,
JovanBugs are being worked out of printing in the beta. Thanks for giving it a
try and your feedback is important. I am not sure if there is another beta
coming, but many print issues have been resolved.
--
| From: "Jovan Racic" <jracic@.sito.co.yu>
| Subject: RS SP2 client-printing
| Date: Tue, 25 Jan 2005 10:34:27 +0100
| Lines: 8
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
| Message-ID: <eZuDSEsAFHA.1300@.TK2MSFTNGP14.phx.gbl>
| Newsgroups: microsoft.public.sqlserver.reportingsvcs
| NNTP-Posting-Host: 213.240.50.130
| Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXS01.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08
.phx.gbl!TK2MSFTNGP14.phx.gbl
| Xref: cpmsftngxa10.phx.gbl microsoft.public.sqlserver.reportingsvcs:40731
| X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
|
| After installing SP2 (beta) it is possible to print on the client side,
but
| it seems that printing is not correct. In VS.NET I also have problems, but
| it is what you really get when print from IE (browser). Has anybody
| suggeestion about this ?
| Thanks,
| Jovan
|
|
||||Someone else reported this and was told that the printing issues are still
being resolved prior to release.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Jovan Racic" <jracic@.sito.co.yu> wrote in message
news:eZuDSEsAFHA.1300@.TK2MSFTNGP14.phx.gbl...
> After installing SP2 (beta) it is possible to print on the client side,
but
> it seems that printing is not correct. In VS.NET I also have problems, but
> it is what you really get when print from IE (browser). Has anybody
> suggeestion about this ?
> Thanks,
> Jovan
>

Friday, March 9, 2012

RS Printing Questions

1. When creating a report,In the preview tab i have the ability to print out
the report (using the print button) however once the report is deployed to
the report server the user doesnt get the print button and can only print
from the browser.Is there any way to print from the report (as opposed to the
browser) after the report has been deployed?
2.When printing from the browser,only the first page prints out,even though
'All' pages has been selected in the print dialog.This only occurs when
printing out a report,If i print out another web page all the pages print
out.Does anyone know of a fix for this?Vinny,
This is annoying. I found one way around this - the report prints
beautifully (if you set it up correctly) from PDF. You can provide a
'Printable Report' link to the user to the PDF version - that will work. To
do that you append ''&rs%3AFormat=PDF" to the end of the regular report URL.
This works pretty well - obviously it would be ideal if Reporting Services
didnt have this problem, but here's one work around. Hope this helps.
Derek
"Vinny Vinn" wrote:
> 1. When creating a report,In the preview tab i have the ability to print out
> the report (using the print button) however once the report is deployed to
> the report server the user doesnt get the print button and can only print
> from the browser.Is there any way to print from the report (as opposed to the
> browser) after the report has been deployed?
> 2.When printing from the browser,only the first page prints out,even though
> 'All' pages has been selected in the print dialog.This only occurs when
> printing out a report,If i print out another web page all the pages print
> out.Does anyone know of a fix for this?|||Derek,
Thank you,How can i provide a 'Printable Report' link,(i dont have a
link in my toolbox- the user can export the report to PDF.)?
Vinny
"Derek Fisher" wrote:
> Vinny,
> This is annoying. I found one way around this - the report prints
> beautifully (if you set it up correctly) from PDF. You can provide a
> 'Printable Report' link to the user to the PDF version - that will work. To
> do that you append ''&rs%3AFormat=PDF" to the end of the regular report URL.
> This works pretty well - obviously it would be ideal if Reporting Services
> didnt have this problem, but here's one work around. Hope this helps.
> Derek
> "Vinny Vinn" wrote:
> > 1. When creating a report,In the preview tab i have the ability to print out
> > the report (using the print button) however once the report is deployed to
> > the report server the user doesnt get the print button and can only print
> > from the browser.Is there any way to print from the report (as opposed to the
> > browser) after the report has been deployed?
> >
> > 2.When printing from the browser,only the first page prints out,even though
> > 'All' pages has been selected in the print dialog.This only occurs when
> > printing out a report,If i print out another web page all the pages print
> > out.Does anyone know of a fix for this?|||Keep in mind that SP2 will have client side printing (if you are using
Report Manager or URL integration, not sure what happens with web services).
SP2 will hopefully be out this month. Soon, anyway.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Vinny Vinn" <VinnyVinn@.discussions.microsoft.com> wrote in message
news:2E283D92-05EB-46A4-9DE6-8703A9DE5E81@.microsoft.com...
> Derek,
> Thank you,How can i provide a 'Printable Report' link,(i dont have a
> link in my toolbox- the user can export the report to PDF.)?
> Vinny
> "Derek Fisher" wrote:
> > Vinny,
> >
> > This is annoying. I found one way around this - the report prints
> > beautifully (if you set it up correctly) from PDF. You can provide a
> > 'Printable Report' link to the user to the PDF version - that will work.
To
> > do that you append ''&rs%3AFormat=PDF" to the end of the regular report
URL.
> > This works pretty well - obviously it would be ideal if Reporting
Services
> > didnt have this problem, but here's one work around. Hope this helps.
> >
> > Derek
> >
> > "Vinny Vinn" wrote:
> >
> > > 1. When creating a report,In the preview tab i have the ability to
print out
> > > the report (using the print button) however once the report is
deployed to
> > > the report server the user doesnt get the print button and can only
print
> > > from the browser.Is there any way to print from the report (as opposed
to the
> > > browser) after the report has been deployed?
> > >
> > > 2.When printing from the browser,only the first page prints out,even
though
> > > 'All' pages has been selected in the print dialog.This only occurs
when
> > > printing out a report,If i print out another web page all the pages
print
> > > out.Does anyone know of a fix for this?

RS Printing Issues with SP2

Hi,
I'm creating some reports using SQL RS .
Windows 2000 SP4,
SQL Server 2000, Standard Edition, SP3a
Reporting Services 2000 - SP2 ( recently updated)
Had no problems while updating with the new SP2.
But realised that the Print option in SP2 isn't working for me.
In the Web environment,
When we output the report, we can right click and click on the print ...it's
getting the printer dialog and now it goes to the printer
So, it's printing the same zoomed report whatever is currently there on the
screen..say 50% or 70%.
That's fine...but that will not print all the pages in the report.
But this new SP which is supposed to solve that prob...got the print option
When u print the report...irrespective of what u've got on the screen or
what u've zoomed..it's printing the 100% and crossing the page boundaries and
printing the report on two pages, though the width was set to 8"
Can anyone help me in resolving this.
I'm using Report Viewer to render my report.
Surprisingly, when I installed the RS SP2 on the server ( Windows 2003
SBS),open the same report and click on the print Icon, I'm getting some Error
related to GDI, and the entire application is gettiing crashed.
Thanks in advance.
srinivasTry re-deploying the report and printing again. There are some attributes
that the printing function need that only show up after redeploying the
report.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"srinivas" <srinivas@.discussions.microsoft.com> wrote in message
news:E66C5E80-CDE3-4F78-8F42-EFE356652AEE@.microsoft.com...
> Hi,
> I'm creating some reports using SQL RS .
> Windows 2000 SP4,
> SQL Server 2000, Standard Edition, SP3a
> Reporting Services 2000 - SP2 ( recently updated)
> Had no problems while updating with the new SP2.
> But realised that the Print option in SP2 isn't working for me.
> In the Web environment,
> When we output the report, we can right click and click on the print
> ...it's
> getting the printer dialog and now it goes to the printer
> So, it's printing the same zoomed report whatever is currently there on
> the
> screen..say 50% or 70%.
> That's fine...but that will not print all the pages in the report.
> But this new SP which is supposed to solve that prob...got the print
> option
> When u print the report...irrespective of what u've got on the screen or
> what u've zoomed..it's printing the 100% and crossing the page boundaries
> and
> printing the report on two pages, though the width was set to 8"
> Can anyone help me in resolving this.
> I'm using Report Viewer to render my report.
> Surprisingly, when I installed the RS SP2 on the server ( Windows 2003
> SBS),open the same report and click on the print Icon, I'm getting some
> Error
> related to GDI, and the entire application is gettiing crashed.
> Thanks in advance.
> srinivas

Tuesday, February 21, 2012

RS 2005: Excessively Long String error when printing

I have a VB.NET 2003 WinForms application that contains a browser control to render reports within. I have a SQL Server 2005 Reporting Services instance - and through the RS site, the reports come up great, and print just fine. However, when pulling in the reports through the WinForms application, when trying to print - I receive an error. A message box pops up that says "An error occured trying to get the current window." The next message is:

Line: 26; Char:4; Error: Marshaler restriction: Excessively long string. Code: 0; URL: http://svr-sqlreport1/ReportServer$QA/Reserved.ReportViewerWebControl.axd?

Jon,

We are also experiencing exactly your issue described above. I read on one forum that embedded web forms using URL access to get reports is not a supported feature of RS2005 which is absolutely dumbfounding. We have invested heavily in embedding the web form in a Visual Studio application that can apparently no longer support this for 2005.

I've been told by MS that we need to use there new controls, but your assuming that our clients are willing and able to deploy the .net framework 2.0 to the desktop and that requires XP SP2 - which in the case of one of our clients is also not on the desktop.

Is there any work around to this issue?

|||We've yet to find a work around...sorry. At this point, we've decided to spend some time testing and estimating effort required to upgrade to VS.NET 2005 (.NET fx 2.0). Provided that doesn't take too long, we'll upgrade. I'm really disappointed to hear that it is not supported and MSFT's only solution is to use new controls.|||

This is a known issue and will be fixed in SP1 for RS 2005. If you cannot wait for SP1, you can contact Microsoft PSS. There is a fix in development to address this issue and should be available soon.

The workaround for now is to use the ReportViewer controls in a 2.0 .Net application instead of the Web control.

|||

Thanks Brad. Do you have a bug # / code that I can reference as I deal with support people on the Microsoft side? Much appreciated.

-Dan

|||

Sure

SQL Hotfix 319. This is the code I know it by, but PSS should be able to figure it out with a little bit of looking.

|||

Thanks so much Brad - really appreciate the help.

Jon

|||

Brad -

In speaking with product support, they are unable to provide the hotfix unless I am able to provide the actual article number associated with the hotfix - they are saying that SQL Hotfix 319 is not enough for them to go by. Do you happen to have the article number?

Thanks,

Jon

|||

I've also spoken to my contacts at MS and they are unable to help without having the Knowledge base article associatied with this issue. Problem is, i've looked on the KB and can't find a one. Brad, any assistance you can provide would be helpful - in a time crunch with our client to get a resolution on this issue.

Thanks
-Dan

|||

Dan - not sure if you've done this yet...but SQL Server 2005 Service Pack 1 appears to have fixed this issue in our environment.

Jon

|||It does indeed! Thanks for your note Jon!

RS 2005: Excessively Long String error when printing

I have a VB.NET 2003 WinForms application that contains a browser control to render reports within. I have a SQL Server 2005 Reporting Services instance - and through the RS site, the reports come up great, and print just fine. However, when pulling in the reports through the WinForms application, when trying to print - I receive an error. A message box pops up that says "An error occured trying to get the current window." The next message is:

Line: 26; Char:4; Error: Marshaler restriction: Excessively long string. Code: 0; URL: http://svr-sqlreport1/ReportServer$QA/Reserved.ReportViewerWebControl.axd?

Jon,

We are also experiencing exactly your issue described above. I read on one forum that embedded web forms using URL access to get reports is not a supported feature of RS2005 which is absolutely dumbfounding. We have invested heavily in embedding the web form in a Visual Studio application that can apparently no longer support this for 2005.

I've been told by MS that we need to use there new controls, but your assuming that our clients are willing and able to deploy the .net framework 2.0 to the desktop and that requires XP SP2 - which in the case of one of our clients is also not on the desktop.

Is there any work around to this issue?

|||We've yet to find a work around...sorry. At this point, we've decided to spend some time testing and estimating effort required to upgrade to VS.NET 2005 (.NET fx 2.0). Provided that doesn't take too long, we'll upgrade. I'm really disappointed to hear that it is not supported and MSFT's only solution is to use new controls.|||

This is a known issue and will be fixed in SP1 for RS 2005. If you cannot wait for SP1, you can contact Microsoft PSS. There is a fix in development to address this issue and should be available soon.

The workaround for now is to use the ReportViewer controls in a 2.0 .Net application instead of the Web control.

|||

Thanks Brad. Do you have a bug # / code that I can reference as I deal with support people on the Microsoft side? Much appreciated.

-Dan

|||

Sure

SQL Hotfix 319. This is the code I know it by, but PSS should be able to figure it out with a little bit of looking.

|||

Thanks so much Brad - really appreciate the help.

Jon

|||

Brad -

In speaking with product support, they are unable to provide the hotfix unless I am able to provide the actual article number associated with the hotfix - they are saying that SQL Hotfix 319 is not enough for them to go by. Do you happen to have the article number?

Thanks,

Jon

|||

I've also spoken to my contacts at MS and they are unable to help without having the Knowledge base article associatied with this issue. Problem is, i've looked on the KB and can't find a one. Brad, any assistance you can provide would be helpful - in a time crunch with our client to get a resolution on this issue.

Thanks
-Dan

|||

Dan - not sure if you've done this yet...but SQL Server 2005 Service Pack 1 appears to have fixed this issue in our environment.

Jon

|||It does indeed! Thanks for your note Jon!

RS 2005: Excessively Long String error when printing

I have a VB.NET 2003 WinForms application that contains a browser control to render reports within. I have a SQL Server 2005 Reporting Services instance - and through the RS site, the reports come up great, and print just fine. However, when pulling in the reports through the WinForms application, when trying to print - I receive an error. A message box pops up that says "An error occured trying to get the current window." The next message is:

Line: 26; Char:4; Error: Marshaler restriction: Excessively long string. Code: 0; URL: http://svr-sqlreport1/ReportServer$QA/Reserved.ReportViewerWebControl.axd?

Jon,

We are also experiencing exactly your issue described above. I read on one forum that embedded web forms using URL access to get reports is not a supported feature of RS2005 which is absolutely dumbfounding. We have invested heavily in embedding the web form in a Visual Studio application that can apparently no longer support this for 2005.

I've been told by MS that we need to use there new controls, but your assuming that our clients are willing and able to deploy the .net framework 2.0 to the desktop and that requires XP SP2 - which in the case of one of our clients is also not on the desktop.

Is there any work around to this issue?

|||We've yet to find a work around...sorry. At this point, we've decided to spend some time testing and estimating effort required to upgrade to VS.NET 2005 (.NET fx 2.0). Provided that doesn't take too long, we'll upgrade. I'm really disappointed to hear that it is not supported and MSFT's only solution is to use new controls.|||

This is a known issue and will be fixed in SP1 for RS 2005. If you cannot wait for SP1, you can contact Microsoft PSS. There is a fix in development to address this issue and should be available soon.

The workaround for now is to use the ReportViewer controls in a 2.0 .Net application instead of the Web control.

|||

Thanks Brad. Do you have a bug # / code that I can reference as I deal with support people on the Microsoft side? Much appreciated.

-Dan

|||

Sure

SQL Hotfix 319. This is the code I know it by, but PSS should be able to figure it out with a little bit of looking.

|||

Thanks so much Brad - really appreciate the help.

Jon

|||

Brad -

In speaking with product support, they are unable to provide the hotfix unless I am able to provide the actual article number associated with the hotfix - they are saying that SQL Hotfix 319 is not enough for them to go by. Do you happen to have the article number?

Thanks,

Jon

|||

I've also spoken to my contacts at MS and they are unable to help without having the Knowledge base article associatied with this issue. Problem is, i've looked on the KB and can't find a one. Brad, any assistance you can provide would be helpful - in a time crunch with our client to get a resolution on this issue.

Thanks
-Dan

|||

Dan - not sure if you've done this yet...but SQL Server 2005 Service Pack 1 appears to have fixed this issue in our environment.

Jon

|||It does indeed! Thanks for your note Jon!