title: No HTTP resource was found that matches the request URI 'http://localhost:xxx:
body: <p>I am working on .net web api.....</p>
  
  <blockquote>
    <p>Web Api Config :</p>
  </blockquote>
  
  <pre><code>public static void Register(HttpConfiguration config)
          {
              // Verb Routing 
              RouteTable.Routes.MapHttpRoute(
                   name: "SmallBizApi",
                   routeTemplate: "api/{controller}/{action}/{id}",
                   defaults: new
                   {
                       id = RouteParameter.Optional,
                       action = RouteParameter.Optional
                   }
               );
  
              config.Formatters.Clear();
              config.Formatters.Insert(0, new SmallBiz.WebAPI.Common.JsonpFormatter());
          }
  </code></pre>
  
  <p>I am using jsonp format to load data in kendo-ui Gantt chart as can be seen...</p>
  
  <pre><code>&lt;div id="grid"&gt;&lt;/div&gt;
  &lt;script src="http://code.jquery.com/jquery-1.9.1.min.js"&gt;&lt;/script&gt;
  &lt;script&gt;
      $(document).ready(function () {
          var projectdata = "http://localhost:1799/api",
              dataSource = new kendo.data.DataSource({
                  transport: {
                      read: {
                          url: projectdata + "/project",
                          dataType: "jsonp"
                      },
                      update: {
                          url: projectdata + "/project/put",
                          dataType: "jsonp"
                      },
                      destroy: {
                          url: projectdata + "/project/delete",
                          dataType: "jsonp"
                      },
                      create: {
                          url: projectdata + "/project/post",
                          dataType: "jsonp"
                      },
                      parameterMap: function (options, operation) {
                          if (operation !== "read" &amp;&amp; options.models) {
                              return { models: kendo.stringify(options.models) };
                          }
                      }
                  },
                  batch: true,
                  pageSize: 20,
                  schema: {
                      model: {
                          id: "ProjectId",
                          fields: {
                              ProjectId: { editable: false, nullable: false },
                              Name: { validation: { required: true } },
                              Status: { validation: { required: true } },
                              IsActive: { type: "boolean" }
                          }
                      }
                  }
              });
  
          $("#grid").kendoGrid({
              dataSource: dataSource,
              pageable: true,
              toolbar: ["create"],
              scrollable: false,
              sortable: true,
              groupable: true,
              columns: [
                  { field: "Name", title: "Project Name", width: "170px" },
                  { field: "Status", title: "Status", width: "110px" },
                  { field: "IsActive", title: "Active", width: "50px" },
                  { command: ["edit", "delete", "Setting","Task"], title: "&amp;nbsp;", width: "150px" }
              ],
              editable: "popup"
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>Controller code :</p>
  
  <pre><code>public IQueryable&lt;ProjectsDM&gt; GetProject()
          {
              return db.Project;
          }
   [HttpPut]
          public IHttpActionResult PutProjectsDM(int id, ProjectsDM projectsdm)
          {
              if (!ModelState.IsValid)
              {
                  return BadRequest(ModelState);
              }
  
              if (id != projectsdm.ProjectId)
              {
                  return BadRequest();
              }
  
              db.Entry(projectsdm).State = EntityState.Modified;
  
              try
              {
                  projectsdm.ModifiedBy = "adnan";
                  projectsdm.ModifiedDate = DateTime.Now;
                  db.SaveChanges();
              }
              catch (DbUpdateConcurrencyException)
              {
                  if (!ProjectsDMExists(id))
                  {
                      return NotFound();
                  }
                  else
                  {
                      throw;
                  }
              }
  
              return StatusCode(HttpStatusCode.NoContent);
          }
  </code></pre>
  
  <blockquote>
    <p>Get method/action is working fine in kendo grid but i face problem
    with put method/action(when we try to edit some record in grid)....</p>
  </blockquote>
  
  <p>The errors in firebug .net tab</p>
  
  <blockquote>
    <p><strong>Response</strong> :   "Message": "No HTTP resource was found that matches the
    request URI '<a href="http://localhost:1799/api/project" rel="nofollow">http://localhost:1799/api/project</a>
    /put?callback=jQuery191012879030621062526_1433486934717&amp;models=[{\"ProjectId\":2%2C\"ClientId\":1%2C
    \"FirmId\":1%2C\"Status\":\"Started\"%2C\"Name\":\"Flexi77\"%2C\"IsActive\":true%2C\"CreatedDate\":\"2015-06-03T00
    :00:00\"%2C\"ModifiedDate\":\"2015-06-03T00:00:00\"%2C\"CreatedBy\":\"adnan\"%2C\"ModifiedBy\":\"adnan
    \"}]&amp;_=1433486934719'.", 
    <strong>>  "MessageDetail": "No action was found on the controller 'Project'
    that matches the name 'put'."</strong></p>
    
    <p>json : "No action was found on the controller 'Project' that matches
    the name 'put'."</p>
  </blockquote>
  
  <p>Is there some route error or stupid mistake, please do help....
  any kind of hint/help is much appreciated....
  thanks for your time</p>