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.




API: Edit Not Working

web-app

We're trying to edit an issue through the API and get the following exception. The same exception happens when we try to edit an issue through Gemini Desktop as well.

We have added PUT/DELETE to the three ASHX extensions (Wnidows Server 2008) and I gave FULL CONTROL to all users in the API directory on the disk. We have also set up ASHX to use All Verbs but that doesn't work either. The site uses FORMS authentication.

The remote server returned an error: (405) Method Not Allowed.

System.Net.WebException

Stack Trace: at System.Net.HttpWebRequest.GetResponse() at CounterSoft.Gemini.WebServices.BaseService.ProcessResponse[T](String url, Object obj, RequestType requestType) at CounterSoft.Gemini.WebServices.IssuesService.UpdateIssue(IssueEN issue) at CounterSoft.Gemini.Client.Commons.Helpers.ServiceHelper.UpdateFullIssue(GeminiModel model, IssueEN ieIssue, Int32 userID, Int32 projectID) at CounterSoft.Gemini.Client.UI.Presenters.IssueDetailPresenter.MySaveClick() at CounterSoft.Gemini.Client.UI.Forms.IssueDetailForm.btnSaveCloseClick(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at Telerik.WinControls.RadControl.OnClick(EventArgs e) at Telerik.WinControls.UI.RadButton.ButtonElementClick(Object sender, EventArgs e) at Telerik.WinControls.RadItem.OnClick(EventArgs e) at Telerik.WinControls.UI.RadButtonItem.OnClick(EventArgs e) at Telerik.WinControls.RadItem.DoClick(EventArgs e) at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args) at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args) at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args) at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args) at Telerik.WinControls.RadElement.DoMouseUp(MouseEventArgs e) at Telerik.WinControls.ComponentInputBehavior.OnMouseUp(MouseEventArgs e) at Telerik.WinControls.RadControl.OnMouseUp(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at Telerik.WinControls.RadControl.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

gsilvano
· 1
gsilvano
Replies (7)
helpful
0
not helpful

Which version of IIS are you running? Basically it is IIS who is rejecting the "PUT" verb.
Note that in IIS7 there are more than 1 ASHX handlers.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

IIS 7. I have added "All Verbs" to:

ASPNET-ISAI-1.1-SimpleHandlerFactory SimpleHandlerFactory-Integrated SimpleHandlerFactory-ISAPI-2.0 SimpleHanlderFactory-ISAI-2.0-64

I did this on the root of the Gemini site in IIS 7. I have also recycled the App Pool for this site and restarted IIS itself when that didn't work.

I am more than happy to give a GoToMeeting session so you can play with the settings. :)


gsilvano
· 1
gsilvano
helpful
0
not helpful

Does create issue work? If so, does delete work?

We have not come across this before and are looking for a solution.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Create Issue works like a champ. Everything does, actually - except Edit Issue. Although we don't have Delete Issue in the app so I can't confirm if that's working or not.

If you contact me offline I'd be more than happy to set you up with an account and even access to the server to debug/reproduce the problem. Gemini is the only thing on that server so it's not a problem for me to let you take a peek.


gsilvano
· 1
gsilvano
helpful
0
not helpful

Please send an emaill to support at countersoft dot com. It will be good if you can set us up with an account and instructions of what you are trying to do.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Done, thanks.


gsilvano
· 1
gsilvano
helpful
0
not helpful
ANSWER

Issue resolved. It was WebDAV module that was blocking the verbs.
Once we removed it all was ok.


Mark Wing
· 9108
Mark Wing