by ebarcza
12/18/2012 11:47:00 AM
I had a requirement to find all buttons in a content page from a master page. Here's how it went down
616e878d-4157-4d9e-ba66-1d2aa2e99665|0|.0
Tags:
by ebarcza
12/17/2012 9:59:00 AM
Request.ServerVariables["REMOTE_ADDR"]
105d9665-0e6f-49ee-991e-fc0cf52619ff|0|.0
Tags:
.NET
by ebarcza
12/5/2012 5:53:00 PM
When deploying an app using SSRS to a new server, sometimes the Report Viewer Control does not like to work without a tweak or two. I sometimes get a 404 on the report viewer control. The parameters will show up and the header controls, but not the body of the report. The body of the report has a 404 error in it. If you user Fiddler to check out a little closer you'll see the 404 error originates from the reportviewer control itself
404 http http://test.url.net/Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=9.0.21022.227&Name=Microsoft.Reporting.WebForms.Icons.ChevronUp.gif
Well, here's the Fix.
- Open IIS Manager
- Click on the server in the tree on left
- In the options click on Handler Mappings
- Under Actions click on Add Managed Handler
- Fill out the following values
- 1.Request path: Reserved.ReportViewerWebControl.axd
- 2.Type: Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
- 3.Name: Reserved-ReportViewerWebControl-axd
- Click OK
- BOOM - works on my machine...