Archive for the ‘Scripting’ Category

This.controller is null or not an object reportviewer / Report Viewer Control missing Header Icons

In order to fix the above issue open IIS manager , double click the website for which you are facing the issue , double click handler mappings , click Add managed Handler . In the dialog box which appears

Request path: Reserved.ReportViewerWebControl.axd
Type: Microsoft.Reporting.WebForms.HttpHandler
Name: Reserved-ReportViewerWebControl-axd

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a “web.config” configuration file located in the root directory of the current web application. This tag should then have its “mode” attribute set to “Off”.

The above error actually means the custom error settings in the web.config file is preventing the actual application error being displayed in the browser . It is showing a custom error page “mycustompage.htm” set in the IIS settings of the website.

To see the actual error your website is showing you need to browse the website on the server locally on which it is running .

To see the  actual error on the remote browser edit the web.config file find <system.web> and just below it add <customErrors mode=”Off”/> so that it  looks like

<system.web>
<customErrors mode=”Off”/>

Note that the O of Off is capital O .

Thats it now you can proceed with solving the actual error .

Active Server Pages error ‘ASP 0113′

You will usually get the error

Script timed out

The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout or by changing the value in the IIS administration tools.

 

In order to solve the issue do the following =>  goto IIS manager , right Click on the website for which you are getting the error , goto Home  directory Tab , click configuration , click the options tab and Increase the ASP script timout value to a value much higer that 90 seconds which is default value .

 

(adsbygoogle = window.adsbygoogle || []).push({}); //--> Feedjit Flag Counter