title: how to resolve HTTP 500 error in uploadify in asp.net
body: <p>when i am using uploadify without hosting in iis ,it's working but in IIS it's not working
  i am getting below error message 
  <strong>http 500 error</strong></p>
  
  <p>my uplodify contain likw</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(document).ready(function () {
              $("#&lt;%=file_upload.ClientID %&gt;").uploadify({
              'swf': 'uploadify.swf',
              'uploader': 'Handler.ashx',
              'cancelImg': 'cancel.png',
              'buttonText': 'Select Files',
              'fileDesc': 'Image Files',
              'fileExt': '*.jpg;*.jpeg;*.gif;*.png',
              'multi': true,
              'auto': true,
  
  
              'onError': function (event, ID, fileObj, errorObj) {
  
                  alert(errorObj.type + ' Error: ' + errorObj.info);
  
              },
  
              'onUploadSuccess': function (file, data, response) {
  
                  $.ajax(
                  {
                      type: "POST",
                      contentType: "application/json; charset=utf-8",
                      url: "Upload.aspx/ServerSideMethod",
                      data: "{ sendData: 'ok' }",
                      success: function (result) {
  
                         alert(result.d);
  
                      }
                  })
              }
          });
      })
  
  
  //    $("#&lt;%=ddlPageName.ClientID %&gt;").change(function () {
  //        alert("hi");
  //        var Pnamespace = $('#&lt;%=ddlCustomerName.ClientID %&gt; option:selected').attr('value');
  //        $("#&lt;%=hnpagenamespace.ClientID %&gt;").attr('value', Pnamespace);
  //    });
      &lt;/script&gt; 
  </code></pre>
  
  <p>below ServerSideMethod method in upload.aspx page</p>
  
  <pre><code>[WebMethod(EnableSession=true)]
  
        public static string ServerSideMethod()
      {
          string strSend = string.Empty;
  
         strsend="hi";
  
  
          }
          return strSend;
        }
  </code></pre>