Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

MS Report Viewer Print Error
hossamnew
#1 Posted : Wednesday, January 22, 2014 4:27:01 AM(UTC)
Groups: Member
Joined: 1/22/2014(UTC)
Posts: 7
Location: Egypt

when i try to print my report from MS report Viewer 10, This message shown to me and i can't print
in ie console i found this error:

Error Line: 1012
Error Code: 0
Error Message: The system cannot find the path specified.

Error Url: http://xxxxxxxxx/xxxxx/Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=10.0.30319.1&Name=ViewerScript

and when i set my project to iis it works (Print without errors)
hossamnew attached the following image(s):
hossamnew attached the following image(s): 22-01-2014 .png
hossamnew
#2 Posted : Wednesday, January 22, 2014 4:31:18 AM(UTC)
Groups: Member
Joined: 1/22/2014(UTC)
Posts: 7
Location: Egypt

when i google that error i found some people talk about add new handler
with that values

Request path: Reserved.ReportViewerWebControl.axd
Type: Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
Name: Reserved-ReportViewerWebControl-axd


in IIS in Managed Handler

where can i add Managed Handler in UltiDev v 2.0.20

Note i didn't add this line in IIS but it works on it
hossamnew
#3 Posted : Wednesday, January 22, 2014 4:39:38 AM(UTC)
Groups: Member
Joined: 1/22/2014(UTC)
Posts: 7
Location: Egypt

This's my Web.config file
File Attachment(s):
Web.txt (2kb) downloaded 119 time(s).
Ultidev Team
#4 Posted : Wednesday, January 22, 2014 9:15:33 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi there!

system.webServer part of the web.config is specific to IIS7/8. It does not apply to other web servers. In order to make your application work under UWS and IIS6, and other servers, changes to system.web section need to be made.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#5 Posted : Wednesday, January 22, 2014 10:54:08 AM(UTC)
Groups:
Joined: 11/1/2005(UTC)
Posts: 278

what kind of changes to made on system.web section

here's my new web.config file - i set every config under system.web only but no changes :(
hossamnew
#6 Posted : Wednesday, January 22, 2014 10:55:47 AM(UTC)
Groups: Member
Joined: 1/22/2014(UTC)
Posts: 7
Location: Egypt

sorry i answerd as a Guest :)

what kind of changes to made on system.web section

here's my new web.config file - i set every config under system.web only but no changes :(
File Attachment(s):
Web.txt (2kb) downloaded 104 time(s).
hossamnew
#7 Posted : Wednesday, January 22, 2014 11:08:41 AM(UTC)
Groups: Member
Joined: 1/22/2014(UTC)
Posts: 7
Location: Egypt

when i google that error i found some people talk about change validate="false" to "True"

i try that solution but nothing changes too
Ultidev Team
#8 Posted : Wednesday, January 22, 2014 11:43:00 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi!

Please take a look at this article which explains differences in how to register HttpHandler on IIS6 and IIS7. To make your app compatible with UWS, please follow the IIS6 route. In reality "IIS6" way is actually server-independent.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
hossamnew
#9 Posted : Wednesday, January 22, 2014 1:19:38 PM(UTC)
Groups: Member
Joined: 1/22/2014(UTC)
Posts: 7
Location: Egypt

i'm sorry this link not help

i just start new web application with sample MS report .rdlc

and try to register it in UltiDev v2.0.20

and i get the same error in printing

I NEED YOU JUST TO TRY TO MAKE IT (TO SEE IF YOU HAVE THE SAME ERROR IN PRINTING) TO FIX IT IN NEW VERSIONS

NOTE: MY ATTACHED WEB.CONFIG FILE HAVE THE HttpHandler IN system.web SECTION (THIS HttpHandler ADDED AUTOMATICALLY WHEN ADD MS REPORT VIEWER TO ANY PROJECT)
hossamnew attached the following image(s):
hossamnew attached the following image(s): screen.png
Ultidev Team
#10 Posted : Wednesday, January 22, 2014 1:49:12 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi,

We apologize, but we are unable to help troubleshooting individual applications' problems unless we strongly suspect that the problem is caused by a bug in UWS. Although we are not intimately familiar with all requirements and limitations of the report viewer component, we do know that many of our customers are using report viewer successfully, so we are reasonably confident that the problem is not caused by UWS. If you a software developer, you should be able to host the application in UWS and put a breakpoint in the Visual Studio debugger to see what exactly is not working. If this application is made by a third party, please contact them asking how to configure it for IIS6.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
hossamnew
#11 Posted : Thursday, January 23, 2014 4:17:59 AM(UTC)
Groups: Member
Joined: 1/22/2014(UTC)
Posts: 7
Location: Egypt

Sorry but, there's no way to put breakpoint when print in MS report viewer

Rally i can't now why this message shown :(

Print Error

An error occurred during printing. (0x80070003)


here's my ultidev trace (when select printer and click print):

10:56:30.8748 am Received GET request of size 0 for: "/Reserved.ReportViewerWebControl.axd?Culture=3073&CultureOverrides=True&UICulture=3073&UICultureOverrides=True&ReportStack=1&ControlID=7db31bfeafc14253878285bd63a55c5f&Mode=true&OpType=PrintRequest&rs:Command=Render&rs:format=IMAGE&rc:OutputFormat=emfplus&rc:PageWidth=210.0mm&rc:PageHeight=297.0mm&rc:MarginTop=5.080mm&rc:MarginBottom=5.080mm&rc:MarginLeft=5.080mm&rc:MarginRight=5.080mm&rc:StartPage=1&rc:EndPage=1".
10:56:30.8748 am Handling request for "/Reserved.ReportViewerWebControl.axd" mapped to "E:\XXXXXXXXXXXXXXXXXXXXXXXXXX\Reserved.ReportViewerWebControl.axd".
10:56:30.9059 am SendResponseFromMemory(): Starting serving "/Reserved.ReportViewerWebControl.axd" as chunked, uncompressed (or compressed by application) text/html. HTTP result 200. Data length: 3
10:56:30.9069 am Written 5734 bytes (before compression, if any) in responding to "http://localhost:5989/Reserved.ReportViewerWebControl.axd?Culture=3073&CultureOverrides=True&UICulture=3073&UICultureOverrides=True&ReportStack=1&ControlID=7db31bfeafc14253878285bd63a55c5f&Mode=true&OpType=PrintRequest&rs:Command=Render&rs:format=IMAGE&rc:OutputFormat=emfplus&rc:PageWidth=210.0mm&rc:PageHeight=297.0mm&rc:MarginTop=5.080mm&rc:MarginBottom=5.080mm&rc:MarginLeft=5.080mm&rc:MarginRight=5.080mm&rc:StartPage=1&rc:EndPage=1".


then the message shown :(
Ultidev Team
#12 Posted : Thursday, January 23, 2014 9:28:42 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi!

We are truly sorry, but we don't know report viewer well enough to help troubleshoot its settings. Please consider finding an example of how this component is supposed to be set up for IIS 6 - that should be all that needed to make it work under UWS.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#13 Posted : Friday, March 30, 2018 8:38:03 PM(UTC)
Groups:
Joined: 11/1/2005(UTC)
Posts: 278

Message was deleted by a Moderator.
Rss Feed  Atom Feed
Users browsing this topic
Guest (11)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.