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.




Log in issues with Gemini Desktop and time tracker

desktop
add-ons

We have Gemini 6.2 and the associated desktop and time trackers (downloaded them last week).

on machine one, a windows 7 machine, they both work perfectly fine using windows login.

On machine two, a windows 7 machine, the user is unable to login using windows authentication or by entering user name and password.

The only setting difference is that on machine 2, they are set to run as administrator.

What else do you need from us for help on this?

jsieglaff
· 1
jsieglaff
Replies (21)
helpful
0
not helpful

Can you please download DebugView, run it and try to log in? Post the output from DebugView.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

here are the results:

00000000 0.00000000 [3016] CounterSoft Gemini: Start PageLoad 
00000001 0.00126872 [3016] CounterSoft Gemini: Start BindURLCombo 
00000002 0.02426119 [3016] CounterSoft Gemini: URL: http://localhost/gemini/ 
00000003 0.02461696 [3016] CounterSoft Gemini: End BindURLCombo 
00000004 0.03073524 [3016] CounterSoft Gemini: Read Registry: WinAuth. Object reference not set to an instance of an object. :: CounterSoft.Gemini.Client.Helpers ::    at CounterSoft.Gemini.Client.Helpers.RegistryHelper.ReadRegistryValue(String KeyName, RegistryFolders folder) 
00000005 0.03082966 [3016] CounterSoft Gemini: UserName: Manager 
00000006 0.03098202 [3016] CounterSoft Gemini: Folder: Desktop 
00000007 0.03239013 [3016] CounterSoft Gemini: Start ProxyServerSetting 
00000008 0.03260691 [3016] CounterSoft Gemini: Read Registry: ProxyServerName. Object reference not set to an instance of an object. :: CounterSoft.Gemini.Client.Helpers ::    at CounterSoft.Gemini.Client.Helpers.RegistryHelper.ReadRegistryValue(String KeyName, RegistryFolders folder) 
00000009 0.03795083 [3016] CounterSoft Gemini: Start SetControlLocation 
00000010 0.03818585 [3016] CounterSoft Gemini: End SetControlLocation 
00000011 0.03825636 [3016] CounterSoft Gemini: End ProxyServerSetting 
00000012 0.03843790 [3016] CounterSoft Gemini: Data loaded: 20 
00000013 0.03971836 [3016] CounterSoft Gemini: Start language Changed 
00000014 0.03981075 [3016] CounterSoft Gemini: End Language Changed:  
00000015 0.04854872 [3016] CounterSoft Gemini: Start language Changed 
00000016 0.05165507 [3016] CounterSoft Gemini: Start Localize 
00000017 0.06453023 [3016] CounterSoft Gemini: End Localize 
00000018 0.06460196 [3016] CounterSoft Gemini: End Language Changed: pt-BR 
00000019 0.06479646 [3016] CounterSoft Gemini: User Language: en-US 
00000020 0.06578153 [3016] CounterSoft Gemini: Start language Changed 
00000021 0.06586297 [3016] CounterSoft Gemini: Start Localize 
00000022 0.07429581 [3016] CounterSoft Gemini: End Localize 
00000023 0.07436794 [3016] CounterSoft Gemini: End Language Changed: en-US 
00000024 0.07447451 [3016] CounterSoft Gemini: Language Set:  
00000025 0.07454178 [3016] CounterSoft Gemini: End PageLoad 
00000026 12.96121502 [3016] CounterSoft Gemini: Start DoLogin 
00000027 12.96154308 [3016] CounterSoft Gemini: Checking Model.Authenticated 
00000028 12.96165085 [3016] CounterSoft Gemini: Checking offline setting 
00000029 12.96285725 [3016] CounterSoft Gemini: Checking webservices URL suffix: http://10.0.1.206:8081 
00000030 12.96303177 [3016] CounterSoft Gemini: Starting logon process 
00000031 12.96317291 [3016] CounterSoft Gemini: Calling ServiceHelper.AuthorisationServicesLogIn 
00000032 19.88496780 [3016] CounterSoft Gemini: Exception caught during logon! 
00000033 19.88756371 [3016] CounterSoft Gemini: Logon Exception. The remote server returned an error: (401) Unauthorized. :: System ::    at System.Net.HttpWebRequest.GetResponse()  
00000034 19.88756371 [3016]    at CounterSoft.Gemini.WebServices.BaseService.ProcessResponse[T](String url, Object obj, RequestType requestType)  
00000035 19.88756371 [3016]    at CounterSoft.Gemini.WebServices.BaseService.WhoAmI()  
00000036 19.88756371 [3016]    at CounterSoft.Gemini.Client.Commons.Helpers.ServiceHelper.AuthorisationServicesLogIn(GeminiModel model, String sUserName, String sPassword, String apiKey, Boolean winAuthentication)  
00000037 19.88756371 [3016]    at CounterSoft.Gemini.Client.UI.Presenters.LoginPresenter.DoLogin() 
00000038 19.89756012 [3016] CounterSoft Gemini: DoLogin End 


jsieglaff
· 1
jsieglaff
helpful
0
not helpful

It seems like the user (admin) in machine 2 is not allowed to connect to the Gemini site.
IIS sends back 401... If this ia a local admin then that will explain it.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

That's odd, because the user can get to the gemini site via the web...both in IE and Chrome...


jsieglaff
· 1
jsieglaff
helpful
0
not helpful

Yes, but you've said that the desktop is run as admin that changes the user context.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Turned off the run as administrator...and getting the same issue


jsieglaff
· 1
jsieglaff
helpful
0
not helpful

Can you please check the directory security in IIS for the Gemini site and make sure that anonymous access is turned off?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Anonymous access is and has been turned off.


jsieglaff
· 1
jsieglaff
helpful
0
not helpful

Very strange! Can you please try and run it under another user (say the one from machine A)?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Gave that a try, logged off user b and logged user A onto that computer...same issue. Even though user A can log on to Gemini Desktop etc on Computer A


jsieglaff
· 1
jsieglaff
helpful
0
not helpful

And just for fun, we had user B log onto computer A...and using windows authorization he can get into gemini desktop with no issues.


jsieglaff
· 1
jsieglaff
helpful
0
not helpful

Ok, so we established it's a machine issue. You've said that the user can use Gemini via a browser, is that on the same "problematic" machine?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

that is correct.


jsieglaff
· 1
jsieglaff
helpful
0
not helpful

Does the machine in question have Visual Studio 2008 installed? If so, can you please download the API test: http://www.countersoft.com/downloads/v36/CounterSoftGeminiAPITestHarnessv360.zip
change the login (lines 23 & 24) to use the windows authentication (false at the end should be true) and run it?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

ran it, and got the following message in a pop-up window:

 

‘—‘ is an unexpected token.  The expected token is ‘>’.Line 81, position 5.


jsieglaff
· 1
jsieglaff
helpful
0
not helpful

I presume that the URL is correct, can you please double check that?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Yes, the URL is correct. In fact, the user logged into Gemini via the web browser, and cut and pasted the URL.


jsieglaff
· 1
jsieglaff
helpful
0
not helpful

Can you please try and add the following line:
serviceManager.UsersService.Credentials = System.Net.CredentialCache.DefaultCredentials;
After  the creation of the serviceManager (before the call to WhoAMI())

If this still fails please change it to:
serviceManager.UsersService.Credentials = new System.Net.NetworkCredential("USER", "PASSWORD");

and replace USER with the username (including domain) and the password for the user (windows password).


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Both of those failed.

 

Just as an FYI, we installed Gemini desktop on another windows 7 machine, and are getting the same errors.

 

Is there some setting or permission that needs to be set that we are missing?


jsieglaff
· 1
jsieglaff
helpful
0
not helpful

No need for any setting changes (in theory...).
Please send an email to support at countersoft dot com and we will schedule a remote session to see if we can spot anything.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

We have done the email, and a couple of remote sessions, and still nothing. However, just to make things much more interesting, I have the following to report.

We have installed Gemini Desktop 3.6 on three other machines, 2 with Windows 7, one with Windows XP.

One of the Windows 7 machines is able to log into Gemini with no issues, the other Windows 7 and the XP machine can not log in at all except via the web.

The Windows 7 machine that can log in, is for a user who had been using Gemini Desktop with the previous version (3.5) prior to the upgrade, and then upgraded to 3.6 on her old machine.

None of the users who can't log in were using desktop or time tracker in the previous version.


jsieglaff
· 1
jsieglaff