IIS authentication issue & REST api
I am trying to configure the gemama mail add-on. I disabled IIS anonymous authentication but now I cannot access Gemini website at all. I receive this error: "
401 - Unauthorized: Access is denied due to invalid credentials."
When I enable anonymous authentication again. Gemini works as expected. But then I have issues using .net client API to access gemama
any help is appreciated..thanks
I am using :
gemini 3.6.5
IIS 7.5
windows server 2008
forms authentication
xcarter
· 1 |
|
Monday, April 19, 2010, 6:50:31 PM |
![]() 0
![]() |
If you are using forms authentication then you must enable anonymous access in IIS. What is the error you are getting from the API? |
||||
|
![]() 0
![]() |
here is the stack trace. I am trying use the Gemini mail machine add-on
[XmlException: '100' is an unexpected token. The expected token is '"' or '''. Line 20, position 71.] |
||||
|
![]() 0
![]() |
Can you please run Fiddler2 (http://www.fiddler2.com/fiddler2/) and inspect the response that you are getting back from the server. |
||||
|
![]() 0
![]() |
OK here is the fiddler output. I still don't have any clues from it. |
||||
|
![]() 0
![]() |
CounterSoft.Gemini.WebServices.AdminService.GetIssueRisk() +84 the above indicates that your calling gemama with the help-parameter. This will trigger a call to WebServices.AdminService.GetIssueRisk() - which seems to fail. This indicates that there an issue with the service-usage of your installation - either because of an misconfiguration in web.config or an restricition imposed by the authentifications configured on the site. I would recommend download of Gemini API Test Harness in order to verify the REST api functionallity of the installation. kind regards Morten |
||||
|
![]() 0
![]() |
Also, Gemini's system log for errors. |
||||
|
![]() 0
![]() |
I finally got it to work. The test harness pointed to an authentication problem api folder. I had to enable anonymous authentication on the Gemini api folder and then it worked. Now I am modifying the gemama add-on code to support SSL smtp. thanks for your help |
||||
|