Home Home
  login

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.




Windows Auth - 403 Forbidden

visual-studio
add-ons

I have a new install of Gemini that I'm trying to get fully up & running. The install is running on Server 2008 R2 on a server also running Microsoft TFS 2010. I installed the Gemini website as a website (not a virtual directory) on port 80.

I started out using Forms Auth and all was well. I installed the VS 2010 add-on. After realizing I had to run VS 2010 As Admin the first time to get Gemini to load, I was able to run it and connect to the server.

After some time I discovered in the manual that Windows Auth is supported, and I have turned that on. To be clear, the manual I found only had directions for turning on Windows Auth in IIS 6; on IIS 7 all I did was go into "Authentication" and disable forms auth (windows auth was already enabled by the installer, apparently).

This works fine from a browser (Chrome and IE both autologon nicely). However, the VS 2010 add-on keeps showing the error "Unknown error during logon." I checked the log file for the add-on, and it just shows this over and over:

[2010-10-07 07:50:30,350] [ERROR] - LogMeIn System.Net.WebException: The remote server returned an error: (403) Forbidden. at System.Net.HttpWebRequest.GetResponse() at CounterSoft.Gemini.WebServices.BaseService.ProcessResponse[T](String url, Object obj, RequestType requestType) at CounterSoft.Gemini.WebServices.BaseService.WhoAmI() at CounterSoft.Gemini.Client.Commons.Model.GeminiModel.LogMeIn(Connection connection)

On the server, the logs are slightly muddy but I believe the only lines being produced by the add-on are just this line over and over:

2010-10-07 13:08:34 172.16.48.193 GET /api/admin.ashx/test - 80 - 172.16.48.200 - 200 0 0 8

Can someone offer some help?

Also, I thought of removing and re-adding the VS 2010 add-on, but it's not listed in the VS "Add-in Manager" window nor in my machine's Control Panel -> Programs & Features window. How do I remove it if I want to?

Thanks, Patrick

pbarranis
· 1
pbarranis
Replies (6)
helpful
0
not helpful

Which version of Gemini (web) are you running?
Try giving full permissions to the api folder of Gemini in windows file explorer.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

v3.7.2 Build 2784 I should have included that; sorry.

Also, client is running Windows 7 x64 Ent. Edition.


pbarranis
· 1
pbarranis
helpful
0
not helpful

Did you disable anonymous authentication in IIS? If not please do so.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Hi. I didn't see the 2nd line of your post. It literally didn't appear in the email notification, and I didn't re-read your post when I clicked the link the first time.

Anyways, I tried given my user account Full Control to the whole website (not just API folder), and it didn't help.

Other suggestions? Thanks in advance.


pbarranis
· 1
pbarranis
helpful
0
not helpful
ANSWER

Not sure I follow, did you disable anonymous authentication in IIS? If not please do so.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Saar, you nailed it, thank you.

Thanks, Patrick


pbarranis
· 1
pbarranis