The reports work great in vs2005 but when i uploaded this change to my webstie and add all necessary references to the bin directory the report viewer doesn display reports
the viewer is there but all the buttons show up as missing images
anyhelp with this would be great. I am using Q2 2007 reporting and i have added
- Telerik.Reporting.dll
- Telerik.Reporting.Processing.dll
- Telerik.Reporting.Interfaces.dll
- Telerik.ReportViewer.WebForms.dll
and the charting dll to the bin folder
regards
Brad
13 Answers, 1 is accepted
There can be various reasons for this problem. To see exactly what is happening you have to check with an http debugging tool (such as Fiddler) what is the response when requesting the images. The request for the toolbar images matches the pattern bellow.
.../Telerik.ReportViewer.axd?name=Skins.Default.FirstPage.gif&optype=Resource
The name parameter may vary.
If it is possible you can send us a working url for your web site so that we can check this issue ourselves.
Thank you.
Regards,
Chavdar
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Fiddler produced these results for all images
Skins.Office2007.xxxxx.gif
xxxxx being the name of the image
regards
Brad
http://172.16.1.6/Telerik.ReportViewer.axd?name=Skins.Office2007.FirstPage.gif&version=1.5.1.0&optype=Resource
regards
Brad
Unfortunately, we cannot access the specified url. Maybe you are using a local IP address or the IP address is not visible in our domain.
With Fiddler you have to check for the following information:
In the Web Sessions grid check the Result code for the specified urls. If it is different from 200 (request has succeeded) then select one of these urls, click on the Sessions Inspector tab on the right and select TextView tab. This will represent the response in text format. Please, copy it and send it to us so that we can see what exactly is the problem.
Thank you in advance.
Best wishes,
Chavdar
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Yes this is correct the link i sent you was a inernal IP address to site on the server. the results from you question are as follows.
From My Server where the viewer doesnt work
Web Sessions
GET http://172.16.1.6/Telerik.ReportViewer.axd?name=Resources.ReportViewer.js&version=1.5.1.0&optype=Resource
404 Not Found
Text View
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>The page cannot be found</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
<STYLE type="text/css">
BODY { font: 8pt/12pt verdana }
H1 { font: 13pt/15pt verdana }
H2 { font: 8pt/12pt verdana }
A:link { color: red }
A:visited { color: maroon }
</STYLE>
</HEAD><BODY><TABLE width=500 border=0 cellspacing=10><TR><TD>
<h1>The page cannot be found</h1>
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
<hr>
<p>Please try the following:</p>
<ul>
<li>Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.</li>
<li>If you reached this page by clicking a link, contact
the Web site administrator to alert them that the link is incorrectly formatted.
</li>
<li>Click the <a href="javascript:history.back(1)">Back</a> button to try another link.</li>
</ul>
<h2>HTTP Error 404 - File or directory not found.<br>Internet Information Services (IIS)</h2>
<hr>
<p>Technical Information (for support personnel)</p>
<ul>
<li>Go to <a href="http://go.microsoft.com/fwlink/?linkid=8180">Microsoft Product Support Services</a> and perform a title search for the words <b>HTTP</b> and <b>404</b>.</li>
<li>Open <b>IIS Help</b>, which is accessible in IIS Manager (inetmgr),
and search for topics titled <b>Web Site Setup</b>, <b>Common Administrative Tasks</b>, and <b>About Custom Error Messages</b>.</li>
</ul>
</TD></TR></TABLE></BODY></HTML>
From My development Computer where the report viewer works
From Web Sessions
GET http://byeadonlaptop/Alcaeus/Telerik.ReportViewer.axd?name=Skins.Office2007.Background.gif&version=1.5.1.0&optype=Resource
200 OK
Text View
GIF89a
Regards
Brad
This seems to be a problem with the configuration of the web application on the web server. The following url
http://172.16.1.6/Telerik.ReportViewer.axd?name=Resources.ReportViewer.js&version=1.5.1.0&optype=Resource
is not valid for a web application. It should contain also the name of the application between the IP address and the request to the Telerik.ReportViewer.axd. For example:
http://172.16.1.6/MyWebApplication/Telerik.ReportViewer.axd?name=Resources.ReportViewer.js&version=1.5.1.0&optype=Resource
The application is either placed in the root of the web site instead of in a virtual folder you may have some sort of url rewriter which changes the request. Please, check the configuration and let us know whether everything is ok.
All the best,
Chavdar
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Yes you were correct. The Telerik.ReportViewer.axd needed to be added to the route of the website as the IIS configuration for my server is wwwroot\website\ not wwwroot.
Thank you very much for your help with this
regards
Brad
Result = 400
URL: /Rod/Telerik.ReportViewer.axd?name=Skins.Default.ReportViewer.css&version=2.5.8.51&optype=Resource
I'm using Telerik Q1 2008.
Again, this works using Visual Studio 2008, but not my local IIS. Error when I use my IIS is: 'ReportViewer' is undefined
Seems simple enough to fix, but this is day 2 and not fixed. Any help would be greatly appreciated.
Thanks!
Take a look at the following KB article for more information on the matter: 'ReportViewer' is undefined javascript error.
Best wishes,
Steve
the Telerik team
I've actually ran through this link 3 times before this point, to no avail. But, #2 and #3 I don't know how to do. Any further clarification on this would be greatly appreciated. This is simply my development machine, using my local IIS so I hope to get this up and running ASAP as this is holding up the last details of this project.
Thanks again for the quick reply, and I'll be awaiting any other details you may have.
Check out the HTTP Error 400 Bad request article. It explains the reasons for the error and offers some solutions. To find out more information on how to change the application pool check out the following google query that finds some pages that elaborate on the topic.
Greetings,Peter
the Telerik team
I simply re-created my IIS instance and ta-da... it works. It must have been a path issue, but I'm still not 100% sure what specifically. This is working great now. Thanks again for all of your replies.
Hi Chavdar,
My issue is little different from this thread but you mention fiddler so I am asking here. I have checked in fiddler and i found that 'Telerik.ReportViewer.axd' URL is taking long time to download response from server(it was showing download icon in front of this URL for long time and after response come it convert into some other icon).
so how can I check whats going on server for this request or else is there any way that will help me to reduce this time.?
my application is running on IIS and I am fetching data from sqlserver. sqlserver load data in 2sec only but after that it is taking time to render those data into report.
Thanks
Regards,
Rahul