Note that there are some explanatory texts on larger screens.

plurals
  1. POCustom handler working on Asp.NET Development server but not on IIS 5.1?
    text
    copied!<h2>Hi guys, ive got a stupid problem.</h2> <p>My Custom handler is working 100% on Asp.NET Development server but when i publish the site to IIS 5.1 whenever i try to run Comment/Find (which finds a user via an AJAX call) (i know the naming of my handler sux!!! :) </p> <h2>I get this error:</h2> <p>The page cannot be displayed The page you are looking for cannot be displayed because the page address is incorrect.</p> <p>Please try the following:</p> <pre><code>* If you typed the page address in the Address bar, check that it is entered correctly. * Open the home page and then look for links to the information you want. </code></pre> <p>HTTP 405 - Resource not allowed Internet Information Services</p> <p>Technical Information (for support personnel)</p> <pre><code>* More information: Microsoft Support </code></pre> <h2>My code for the AJAX call is:</h2> <pre><code> function findUser(skip, take) { http.open("post", 'Comment/FindUser', true); //make a connection to the server ... specifying that you intend to make a GET request //to the server. Specifiy the page name and the URL parameters to send http.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); http.setRequestHeader('Criteria', document.getElementById('SearchCriteria').value); http.setRequestHeader("Skip", skip); http.setRequestHeader("Take", take); http.setRequestHeader("Connection", "close"); //display loading gif document.getElementById('ctl00_ContentPlaceHolder1_DivUsers').innerHTML = 'Loading, Please Wait...&lt;br /&gt;&lt;img src="Images/loading.gif" /&gt;&lt;br /&gt;&lt;br /&gt;'; //assign a handler for the response http.onreadystatechange = function() { findUserAction(); }; //actually send the request to the server http.send(null); } </code></pre> <p>Please can anyone help me??</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload