Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Gemini 5 Item Update - MethodNotAllowed

items
api

Using the example code provided with the Gemini 5 API, I seem to be unable to update an existing issue. I'm using the Manager account, I'm able to create the issue using the sample app but when updating the same issue I get a 405 (MethodNotAllowed).

I've explicitely allowed every HTTP verb at the IIS level, and I double checked Gemini's web.config to make sure they're all explicitely allowed there as well.

Here's the code (downloaded from here) for the sample project that I'm using.

    private void btnUpdateItem_Click(object sender, EventArgs e)
    {
        IssueDto data = login.Item.Get((int)numID.Value);

        if (data.Entity.Id > 0)
        {
            data.Entity.Title = txtTitle.Text;
            data.Entity.Description = txtDesc.Text;
            data.Entity.ReportedBy = Convert.ToInt32(numUserID.Value);
            data.Entity.ProjectId = Convert.ToInt32(numProjectID.Value);

            data.Entity.Id = (int)numID.Value;

            login.Item.Update(data.Entity);

            BindGrid();
        }
    }

Has anyone had any experience with similar issues?

Thanks!

Jon Waters
· 1
Jon Waters
Replies (6)
helpful
1
not helpful

Which version of IIS and Gemini 5 are you running?

··· I'm using IIS 7 and Gemini 5.1.3Jon WatersTuesday, January 08, 2013, 5:14:16 PM

Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I'm using IIS 7 and Gemini 5.1.3


Jon Waters
· 1
Jon Waters
helpful
1
not helpful

Can you please check in fiddler there response from the server, if it is IIS that is causing the issue?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Absolutely, here's a screenshot of Fiddler: http://imgur.com/rWtxo


Jon Waters
· 1
Jon Waters
helpful
1
not helpful

Are you using a proxy server?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

No proxy server, but now that you mention it we're going through a load balancer. Maybe it's interfering somehow. I'll try directly connecting to see if that changes anything and get back to you.


Jon Waters
· 1
Jon Waters