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 Website is not configured to accept GET/POST/PUT/DELETE Http Verbs (.ashx)

ms-outlook
add-ons

After installing the Outlook Add-In I am getting the following error message when I try to connect:

Gemini Website is not configured to accept GET/POST/PUT/DELETE Http Verbs (.ashx)?

I have enabled all verbs for the .ashx handler at the site level (per section 9.5 in the Installation Guide) AND server level (per http://support.countersoft.com/forums/thread/16078.aspx) but I am still getting the error.  I have also checked and WebDav is NOT enabled for the site.  This is on a Windows 2008RS IIS7.5 server.

Can anyone help?

Spence

wshackne
· 1
wshackne
Replies (14)
helpful
0
not helpful

Spence,

Try this out in the first instance:  www.countersoft.com/downloads/v37/countersoft.gemini.api.test.zip

What are the results?


Harvey Kandola
· 212
Harvey Kandola
helpful
0
not helpful

Thanks!  I just ran the test harness.  It logged in just fine and got my full name.  When I clicked the "Run" button I got the error "Object reference not set to an instance of an object."  I clicked "OK" to close the error box and HTTP GET and HTTP POST both reported "Pass."  HTTP PUT and HTTP DELETE reported nothing.


wshackne
· 1
wshackne
helpful
0
not helpful

Spence,

Still looks like some the Handlers are not set to receive PUT/DELETE.

How about a GotoMeeting some time today so we can sort this for you?


Harvey Kandola
· 212
Harvey Kandola
helpful
0
not helpful

That would be stellar.  Just name the time.  Other than lunch from noon-1:30 EST, I am in all day.  Just let me know when!


wshackne
· 1
wshackne
helpful
0
not helpful

Spence,

We can do now if you want...send an email to Support when you are ready!


Harvey Kandola
· 212
Harvey Kandola
helpful
0
not helpful

Just sent you an email!


wshackne
· 1
wshackne
helpful
0
not helpful

Like most everyone here, we deal with a ton of outside vendors.  These guys at CounterSoft are just about the best!  I just got off a GoToMeeting session with Harvey and he had us fixed up in 10 minutes.  The problem was that WebDav was interfering with the PUT and GET requests that are used in REST.  The quick answer would be to turn off WebDav for the server, but we have a document management application that uses it.  Harvey didn't say "oh well" but stuck with the issues and advised removing the WebDav module from just the site.  This did the trick!  Even though I had already disabled WebDav for the site, just having the module there was enough to grab the verbs from REST.

THANK YOU HARVEY!


wshackne
· 1
wshackne
helpful
0
not helpful

Hi,

I'm facing the same problem with connecting through any application (desktop, VS add-in, outlook add-in) How do you turn off that WebDav? I've actually never heard of that.


santo2
· 1
santo2
helpful
0
not helpful

Which version of IIS? and which version of Gemini are you running?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

I basically have the same issue.

I am running IIS 6 and Gemini 3.7.2. I have disabled Webdav globally (don't know how to disable it locally).

I suspect the problem in my case is that we have installed sharepoint on the same machine, and as I understand it, the sharepoint webservices extension implemnts its own instance of webdav.

Any suggestions?


esben
· 1
esben
helpful
0
not helpful

Did you enable "All verbs" for the ASHX file handler in IIS for the Gemini site?

Also, please try and use Fiddler (http://www.fiddler2.com/fiddler2/) and check the response from the server when trying to login.
It will show the exact error coming from the server.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Afaik all verbs are always enabled in IIS6 when you haven't installed UrlScan (or have it disabled).

If that is not the case could you explain/link to info, how to enable verbs for a specific handler (ashx in this case).

According to fiddler i get a 200 OK followed by a 403 forbidden.

Going to the url /api/admin.ashx/test manually gives xml response <string>OK</string>


esben
· 1
esben
helpful
0
not helpful

Sorry didnt see there was a "TextView" i get a 403 error with a message saying:

You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed.



Scripts and executables are allowed on both "web site" level and "api" directory level.


esben
· 1
esben
helpful
0
not helpful

[quote user="MarkWing"]Did you enable "All verbs" for the ASHX file handler in IIS for the Gemini site?

Also, please try and use Fiddler (http://www.fiddler2.com/fiddler2/) and check the response from the server when trying to login.
It will show the exact error coming from the server.
[/quote]

I fixed it.
The all verbs thing did it.

For others: To Enable all verbs in IIS 6 go to the website properties -> Home Directory -> Configuration: Scroll down to .ashx press Edit and enable "All Verbs"


esben
· 1
esben