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.




Login error encountered. Please check username and password.

desktop
add-ons

When the desktop app display this message, please check the following:

  • The version of Gemini web app is 2.0.2 or higher.
  • WSE2.0 SP3 is installed on the web server. Please note that WSE3.0 will not work.
  • The URL you are using is correct and should match the FullGeminiURL setting, which is in the web.config file.

If all the above is true and the app still does not work then run the app with the -dc option (from the command line). This will display a detailed error message, send it to us please.

Saar Cohen
· 5000
Saar Cohen
Replies (69)
helpful
0
not helpful

[quote user="SaarCohen"]

  • WSE2.0 SP3 is installed on the web server. Please note that WSE3.0 will not work.
[/quote]

How do you check if the WSE2.0 SP3 is installed?


bb_nor
· 1
bb_nor
helpful
0
not helpful

You can check this via the control panel -> Add / Remove Programs. Check to see if you have an entry: Microsoft WSE 2.0 SP3.

 


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I have confirmed that everything is configured per your notes here and I recieve this error when attempting to login with the -dc option:

"The <hrml> tag from namespace is not expected. Line 1, Position 2."

Any assistance in getting this up and running would be appreciated. 

Also I have a suggestion: A simple way to remove bad URL entries on the login screen.  I have tried about 5 times and now I know I won't remember which one works. 

Thanks very much,

Tim


tdemeza
· 1
tdemeza
helpful
0
not helpful

Please try navigating to the web service using your browser. Open a new browser and navigate to http://yourserver/gemini/webservices/AuthWS.asmx

What do you get?

The delete function will be introduced with the next release of the desktop app.

 


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

I went to:

http://myserver/gemini/webservices/AuthWS.asmx

and the URL changed to:

http://myserver/Gemini/Default.aspx?ReturnUrl=%2fgemini%2fwebservices%2fAuthWS.asmx

and it took me to the standard Gemini login screen.


tdemeza
· 1
tdemeza
helpful
0
not helpful

If that is the case then you are not running 2.0.2 or your web.config file is not the one that is shipped with 2.0.2.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I just ran into this issue too, however I discovered my problem was that the web.config file that came with Gemini 2.0.2 was referencing Microsoft.Web.Services2, version 2.0.0.0 and not 2.0.3.0, which is installed on my machine. So, depending on what version of WSE is installed, the web.config entries need to be updated to reflect that version. If you are unsure, you can check the .NET 1.1 Configuration control panel and look for the WSE entry in the GAC list, and note the version number listed and update the web.config appropriately.

Hope this helps...

Tom


tmiller
· 1
tmiller
helpful
0
not helpful

"Microsoft.Web.Services2.Security.SecurityFault: The security token could not be authenticated or authorized ---> System.Exception: WSE563: The computed password digest doesn't match that of the incoming username token."

Any ideas? I've verified all three requirements in the original message in this thread. I'm using Windows authentication, which does work correctly when logging into the web interface.

I installed the WSE 2.0 SP3 runtime redistributable. Is this enough, or must I install the full package?


Joel
· 1
Joel
helpful
0
not helpful

The beta version of the desktop app does not support windows authentication.

If you want to use windoes aunthentication, enter your user name (Domain\user) and your Gemini password (you can set this via the my profile web page).


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

when i run with -dc parameter, i encounter the following error message:

"The given path's format is not supported".

WSE 2.0 SP3 is installed and correctly referenced from Web.config.
My FullGeminiURL points to a subdomain of our webserver: gemini.company.de.

Thanks in advance,
Viktor.


v.reinhold
· 1
v.reinhold
helpful
0
not helpful

Viktor,

Which version of the dektop app are you using?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

hello MarkWing,

i'm using the newest 1.0 beta 1.

thank you for reply.


v.reinhold
· 1
v.reinhold
helpful
0
not helpful

Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I fulfill all above mentioned points, but when trying to login I immediately get the err msg:

Login error encountered. Please check username and password.

But when I rename my login alias via web and try to login via GeminiDesktop it works. Also for a brand new account which I created via web the GeminiDesktop Login also works.

How does it come that my initial login alias (firstname.lastname) does not work.


deniz
· 1
deniz
helpful
0
not helpful

Which version of the desktop app are you using?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

deniz
· 1
deniz
helpful
0
not helpful

Please run the app with the -dc option and let us know the detialed error.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I did several times, but there does not come up any detailed err msg, except:

Login error encountered. Please check username and password.

When I try to login in Desktop with a new login alias, I'm asked:

Your username has not previously authenticated offline. Do you wish to authenticate online now?

This Dialog does not come up anymore for my initial login alias: firstname.lastname, even when I add new connection settings.

 


deniz
· 1
deniz
helpful
0
not helpful

So, does it work if you cahnge your user name but leave the password as is?

Does the dialog (authenticate online) comes up if you try to log in to a different url?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

[quote user="SaarCohen"]

So, does it work if you cahnge your user name but leave the password as is?

[/quote]

Yes, that works. (I changed my username from "firstname.lastname" to "firstnamee lastnamee" and did not any changes to the password. When I tried to login I was asked for authenticate online. So this works.

[quote user="SaarCohen"]

Does the dialog (authenticate online) comes up if you try to log in to a different url?

[/quote]

When I create a new "fantasy" url independent of the alias the authenticate online dialog comes up.

But when I put the URL of our Gemini to the Desktop tool and use firstname.lastname as alias, it does not come up. [:P]

I feel it is cached somewhere. I already uninstalled Deskotp cleand the registry entries related to Gemini Desktop and reinstalled. But still no authentication dialog anymore for my initial alias. [8-)]


deniz
· 1
deniz
helpful
0
not helpful

Yes, the app is caching data. That is expected.

Please try and delete the folder under C:\Documents and Settings\Your user name\Local Settings\Application Data\CounterSoft\Gemini Desktop


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

[quote user="SaarCohen"]

Yes, the app is caching data. That is expected.

Please try and delete the folder under C:\Documents and Settings\Your user name\Local Settings\Application Data\CounterSoft\Gemini Desktop

[/quote]

Deleting the cache folder solved my login problem, cause after that the authentication dialog came up again. [:D]


deniz
· 1
deniz
helpful
0
not helpful

Glad to hear that all is well now.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I also have this problem, the deleting of the folder does not solve the issue for me. When I run the application with the -dc option the error message is " an error was discovered processing the <Security> header"


Ralphh
· 1
Ralphh
helpful
0
not helpful

Is there a time difference between the client and the server?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

When I run with -dc option I have got the follwing message.

---------------------------
Gemini Error
---------------------------
System.Web.Services.Protocols.SoapHeaderException: Server unavailable, please try later ---> System.Configuration.ConfigurationException: WSE032: There was an error loading the microsoft.web.services2 configuration section. ---> System.Configuration.ConfigurationException: WSE041: Type CounterSoft.GeminiBiz.GeminiUsernameTokenManager does not implement Microsoft.Web.Services2.Security.Tokens.ISecurityTokenManager.
   at System.Web.Configuration.HttpConfigurationRecord.Evaluate(String configKey, SectionRecord section)
   at System.Web.Configuration.HttpConfigurationRecord.GetConfig(String configKey, Boolean cacheResult)
   at System.Web.Configuration.HttpConfigurationRecord.GetConfig(String configKey, Boolean cacheResult)
   at System.Web.Configuration.HttpConfigurationRecord.GetConfig(String configKey, Boolean cacheResult)
   at System.Web.HttpContext.GetConfig(String name)
   at System.Web.Configuration.HttpConfigurationSystemBase.System.Configuration.IConfigurationSystem.GetConfig(String configKey)
   at System.Configuration.ConfigurationSettings.GetConfig(String sectionName)
   at Microsoft.Web.Services2.Configuration.WebServicesConfiguration.Initialize()
   --- End of inner exception stack trace ---
   at Microsoft.Web.Services2.Configuration.WebServicesConfiguration.Initialize()
   at Microsoft.Web.Services2.WebServicesExtension.BeforeDeserializeServer(SoapServerMessage message)
   --- End of inner exception stack trace ---
---------------------------
OK  
---------------------------


bineeshthomas
· 1
bineeshthomas
helpful
0
not helpful

Are you sure that you have WSE2.0 SP3 installed? Note that WSE3.0 will not work!


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Yes I have installed WSE2.0 runtime and not WSE3.0.

 


bineeshthomas
· 1
bineeshthomas
helpful
0
not helpful

Is it SP3 of WSE2.0?

 


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Thats It!!!!

It was sp2. Now its working. Thank you verymuch.


bineeshthomas
· 1
bineeshthomas
helpful
0
not helpful

Sarah,

I am also getting this same error (see below).

I am able to navigate to the individual web services (ex ProjectsWS.asmx) using the browser link, but when I try to do the same using the desktop executable (not web app) of the Import Utility, and provide the URL for the webservices folder as well as my windows User / Pwd, I get this error.

How can I trouble shoot this ? Please help. !

thanks
-Shiva

An unhandled exception of type 'System.Web.Services.Protocols.SoapHeaderException' occurred in system.web.services.dll

Additional information: Microsoft.Web.Services2.Security.SecurityFault: The security token could not be authenticated or authorized ---> System.Exception: WSE563: The computed password digest doesn't match that of the incoming username token.    at Microsoft.Web.Services2.Security.Tokens.UsernameTokenManager.VerifyHashedPassword(UsernameToken token, String authenticatedPassword)
   at Microsoft.Web.Services2.Security.Tokens.UsernameTokenManager.VerifyPassword(UsernameToken token, String authenticatedPassword)
   at Microsoft.Web.Services2.Security.Tokens.UsernameTokenManager.VerifyToken(SecurityToken securityToken)
   at Microsoft.Web.Services2.Security.Tokens.SecurityTokenManager.LoadXmlSecurityToken(XmlElement element)
   --- End of inner exception stack trace ---
   at Microsoft.Web.Services2.Security.Tokens.SecurityTokenManager.LoadXmlSecurityToken(XmlElement element)
   at Microsoft.Web.Services2.Security.Tokens.SecurityTokenManager.GetTokenFromXml(XmlElement element)
   at Microsoft.Web.Services2.Security.Security.LoadToken(XmlElement element, SecurityConfiguration configuration, Int32& tokenCount)
   at Microsoft.Web.Services2.Security.Security.LoadXml(XmlElement element)
   at Microsoft.Web.Services2.Security.SecurityInputFilter.ProcessMessage(SoapEnvelope envelope)
   at Microsoft.Web.Services2.Pipeline.ProcessInputMessage(SoapEnvelope envelope)
   at Microsoft.Web.Services2.WebServicesExtension.BeforeDeserializeServer(SoapServerMessage message)


theShiva
· 1
theShiva
helpful
0
not helpful

According to the exception your password is incorrect.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Well, I am running the software on a hosted site so I have no idea what version of WES is running, etc.  The url is issues.mwpx.com.  Web version works great, but desktop and screen capture can't login.

If I try:
http://issues.mwpx.com/gemini/webservices/AuthWS.asmx

It returns:

Server Error in '/' Application.

        <h2> <i>The resource cannot be found.</i> </h2></span>

        <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

        <b> Description: </b>HTTP

404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

        <b> Requested Url: </b>/gemini/webservices/AuthWS.asmx<br><br>

        <hr color="silver" size="1" width="100%">

        <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300<br><br>Since this is a hosted environment, any suggestions ????<br></font>

astribli
· 1
astribli
helpful
0
not helpful

The URL you are typing is wrong, should be: http://issues.mwpx.com/webservices/AuthWS.asmx (without Gemini)

But it seems that you do not have WSE2.0 SP3 installed on your web servver.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I spoke with my hosting company, and now when you run:

http://issues.mwpx.com/webservices/AuthWS.asmx

You get a list of operations available.

So, looks like that is fixed, but I still can't login via desktop or screen capture.

Any other ideas ?

Thanks


astribli
· 1
astribli
helpful
0
not helpful

Try changing the version for WSE in the web.config file from version 2.0.0.0 to 2.0.3.0. Note that there are a couple of places to change.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Nope, still get the invalid username/password message

So, just to summarize:

1. Loading /webservices/AuthWS.asmx now works and shows a list of functions.

2. In Desktop, I am loading our main site url

3. I am using the same login id and password as I do when I access the site right?

Is it really not passing username and password test, or is something else going on in the background that we can't see?  Appears to be the later as before when running AuthWs.asmx was failing, the general login box just said invalid username/password. 

Is it possible to capture the actual error and display to the user (maybe a more information link) to help in troubleshooting?

A bit frustrating after reading all these posts, trying a few things, getting the AuthWS.asmx to work, but all the while just receiving a generic invalid login message.

Any other ideas???


astribli
· 1
astribli
helpful
0
not helpful

If you run the desktop app with the -dc option you will get the full exception.

Please make sure the WSE2.0 SP3 is installed and not WSE3.0.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Well here is an interesting twist.

If I run the program via a RUN line, with the -dc option, it works !

If I run the program using the Start, Program Files, Countersoft, etc..., it failed.

But then I did the RUN line (without -dc) again, and it worked.

Then did the Start, Program Files, Countersoft, ...., and it works !

That is very strange.  Does the -dc option clear or reset some cache or something????


astribli
· 1
astribli
helpful
0
not helpful

Well, I was excited thinking great, now it all works.  So went and tried the Screen Capture, as that is really what I want to work, but it failed with not authorised.[:(]


astribli
· 1
astribli
helpful
0
not helpful

Can't be right.

The desktop app's -dc option does not change anything. Are you sure you have connected to the correct site?

I have tried connected using the URL you have provided and it seems that you do not have WSE2.0 SP3 installed.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Well, as I mentioned it is a hosted site so I don't have control over what version of WSE is installed.

Does that mean it is unuseable then?

Also, I noticed my version says 2.0.5, should that match what is in web.config?


astribli
· 1
astribli
helpful
0
not helpful

There is nothing we can do if you can not install WSE2.0 SP3.

The version of Gemini is 2.0.5. You do not need to change this in the web.config file.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Hi,
I have installed WSE2.0 SP3. I am able to view all the web service functions. However, I still unable to login using Gemini Desktop.

Here is the error shown using -dc option

The underlying connection was closed. The server committed an HTTP protocol violation.

Please advice.

Thank you


chanmy8
· 1
chanmy8
helpful
0
not helpful

Is your Gemini URL correct and ends with '/'.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

hi,
It is correct, because I copy from address bar when test web service function. It does include "/" at the end also.


chanmy8
· 1
chanmy8
helpful
0
not helpful

Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

It works. Thank you


chanmy8
· 1
chanmy8
helpful
0
not helpful

I'm using  -dc option  I get the next message

Server was unable to process request.---> System.InvalidOperationException:

Unable to generate a temporary class (result=1). error CS2001: Source file c:\winodws\temp\zggpkcfx.0.cs could not be found

error CS2008: No inputs specified

 

Any idea?

Gerardo


Gerardo
· 1
Gerardo
helpful
0
not helpful

Hi there, despite the "webservices/AuthWS.asmx"
Url showed me websites with soap desciptions, I cannot connect.

what else might be wrong (firewall?)

thanks, Sebastian


Sebastian Dau
· 1
Sebastian Dau
helpful
0
not helpful

What error are you getting (run with -dc).


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

After reading through the post, I installed WSE 2.0 SP3, updated 2.0.0.0 reference to 2.0.3.0

Now I'm getting the following error:

Microsoft.Web.Services2.Security.SecurityFault: An invalid security token was provided --> System.SecurityException: The incoming Kerberos service ticket could not be validated.  The LsaLogonuser call failed with the following message: The trust relationship between this workstation and the primary domain failed.

Any ideas?


KilShon
· 1
KilShon
helpful
0
not helpful

What the URL you are using to connect via web services? Is it the same as the FullGeminiURL?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

yes,  I'm using the FullGeminiURL w/ "/" at the end.

I also checked it against the web config, and the URL I'm using for desktop matches the webconfig.

Could this problem be related to:

webservicesAccessCode or

WinWebServicesAccessCode

These are in web.config but I didn't find anywhere I update these values on the Gemini desktop.

 


KilShon
· 1
KilShon
helpful
0
not helpful

The access codes are not used by the desktop app.

Are you using the server name or an IP address?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

We purchased the license from Countersoft, so our BT is exposed on the internet.

https://tracker.OurCompanyName.com

Would this cause the problem?

 


KilShon
· 1
KilShon
helpful
0
not helpful

Shouldn't do, please make sure you have the trailing /

Also, if your https signed? Can you try using http?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

I have the trailing /

I tried to login with and without "Use Windows Authentication"

I also tried to go against http site, and same problem.

 


KilShon
· 1
KilShon
helpful
0
not helpful

Can you please try it against our site: http://gemini.countersoft.com?

 


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

I am unable to login with a Windows domain user with Gemini Desktop after upgrading from 2.1.1 to 3.0.4. 

This only happens with users on my Windows domain.  I have Gemini configured for Windows authentication and I am able to login with my Windows domain users through the web app using the same user and password.  I have tried 3 different domain users and get the same error with all of them.

If I change my installation to point to a database that I created directly with 3.0.4, this problem does not happen and i am able to login with all users.  The problem only happens with the upgraded database.

I have installed WSE 2.0 SP3.

The error I get in DebugView is:

"WSE563: The computed password digest doesn't match that of the incoming username token."

Any help would be greatly appreciated.  I need to get this working by the end of this week.

Thanks,

Pierre


pierre.boudreau
· 1
pierre.boudreau
helpful
0
not helpful

Which version of the desktop app are you using?

Gemini 3.0.4 requires WSE 3.0 installed. It might be that you are still connecting to the old 2.1.1 site?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

I am using desktop 3.0.0 (from the current downloads page release August 8th).

I stared with WSE 3.0.  I installed WSE 2.0 SP3 after reading some messages in this thread thinking it was a service pack for 3.0 and just realizing now that it is 2.0.  I removed WSE 2.0 SP3 and and WSE 3.0 and reinstalled only WSE 3.0.  I still get the same behavior.

Something new:  I created a new Gemini user for a Windows domain user that wasn't in Gemini yet and I am able to login with the desktop app with this user.  It looks like the problem is only with domain users that were in the database before I upgraded to 3.0.  Could the password hash be calculated differently?  I looked at the user table for the same user in the native 3.0 database and in the upgraded database and they are different.  Is the pwd field used when using Windows authentication? 


pierre.boudreau
· 1
pierre.boudreau
helpful
0
not helpful

Another Update:  I copied the value of the password field from the database that is working (the one I created with version 3.0) and pasted it into the pwd field for the same user in the upgraded version that isn't working.  Now that user can login.  Not sure how to proceed to get all the users working... but this is a pretty good indication of where the problem is...


pierre.boudreau
· 1
pierre.boudreau
helpful
0
not helpful

Yet another update:  I changed the password for my domain account.  After the change, I am able to use Gemini through the web application, but when I try to login with the desktop application, the login fails with my new password, but works with my old password.  It looks like the desktop app just isn't using Windows authentication, but authenticating with the password that is stored in the database.  Am I missing a setting to tell the desktop app to use Windows domain authentication?


pierre.boudreau
· 1
pierre.boudreau
helpful
0
not helpful

The current version of Desktop does not support Windows authentication. You will need to use a Gemini account with appropriate user rights to login to the Desktop application.


Bikram
· 1
Bikram
helpful
0
not helpful

Is Windows authentication support planned for a future version?


pierre.boudreau
· 1
pierre.boudreau
helpful
0
not helpful

I am unable to get Gemini Desktop working.  I have installed WSE 3.0 on our Windows 2003 server (the website and database host).  I put in the full URL in the block under the Administration page.  I have Windows authentication setup in the Web.Config along with the forms tab.  The website accepts anonymous users.

I put in the full url (http://myserver/gemini/) into the block under Gemini Desktop, user ID and password (even tried the Manager userid and password), all it does it flash the "required" exclamation marks and tell me i have the wrong user id and password.

 

Here is the error from the log:

The value of the property 'type' cannot be parsed. The error is: Could not load file or assembly 'Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (C:\Program Files\CounterSoft\Gemini Project Issue Tracking\Gemini Web Application\web.config line 162)


englea
· 1
englea
helpful
0
not helpful

The error suggests that WSE 3.0 was not installed. Did you try rebooting the server?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

That's a bit unacceptable in an Enterprise environment (but MS doesn't seem to fully understand that when they force a reboot on a 700k security patch).  I'll try it though.


englea
· 1
englea