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.




Visual Studio 2005 Addin: Cant login to Gemini

web-app

Hi.

I've just upgraded our Gemini to 3.0.4 and am trying to get the Visual Studio 2005 add-in to work.

It seems to have installed ok, but when I click on the little lock icon on the Gemini panel and enter the server details, it just keeps telling me I've entered the incorrect username and password, even though I haven't.

My question is: how can I tell that it's actually finding my gemini web server? Does it handle the fact that we're using a Host Header in IIS?

Please let me know if there is anything I can try to see if there's a config issue.

Thanks

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

Please send us debug output from DebugView, which can be downloaded and installed from http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx


Bikram
· 1
Bikram
helpful
0
not helpful

DebugView! What an awesome tool!

First it told me:

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.

So I downloaded and installed the WSE 3.0 runtime from Microsoft from here:

http://www.microsoft.com/downloads/details.aspx?familyid=018A09FD-3A74-43C5-8EC1-8D789091255D&displaylang=en

After restarting IIS on the Gemini server, I got this message:

Creation time of the timestamp is in the future. This typically indicates lack of synchronization between sender and receiver clocks. Make sure the clocks are synchronized or use the timeToleranceInSeconds element in the microsoft.web.services3 configuration section to adjust tolerance for lack of clock synchronization.

So I fixed the time on the server, as it was out by 20 mins.

Finally it said:

The security token could not be authenticated or authorized ---> System.InvalidOperationException: WSE563: The computed password digest doesn't match that of the incoming username token.  

So I typed my password in correctly, and, HEY PRESTO, it works beautifully!

Thanks for putting me onto that tool!

Cheers

Adam


evolve
· 1
evolve
helpful
0
not helpful

I'm having exact same issue.  Hope someone can answer this issue


kha
· 1
kha
helpful
0
not helpful

here is from my debugview, i don't have the same WSE error as Evolve

[504] CounterSoft Gemini: Start DoLogin
[504] CounterSoft Gemini: Checking Model.Authenticated
[504] CounterSoft Gemini: Checking offline setting
[504] CounterSoft Gemini: Checking webservices URL suffix
[504] CounterSoft Gemini: Starting logon process
[504] CounterSoft Gemini: Calling ServiceHelper.AuthorisationServicesLogIn
[504] CounterSoft Gemini: Exception caught during logon!
[504] CounterSoft Gemini: Logon Exception. This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms. :: mscorlib ::    at System.Security.Cryptography.MD5CryptoServiceProvider..ctor()
[504]    at CounterSoft.Gemini.Services.ServiceManager.SetAuthenticationTokenOnService(String sUserName, String sPassword, Services ws)
[504]    at CounterSoft.Gemini.Services.ServiceManager.SetAuthenticationTokenOnAllServices(String sUserName, String sPassword)
[504]    at CounterSoft.Gemini.Client.Commons.Helpers.ServiceHelper.AuthorisationServicesLogIn(GeminiModel model, String sUserName, String sPassword)
[504]    at CounterSoft.Gemini.Client.UI.Presenters.LoginPresenter.DoLogin()
[504] CounterSoft Gemini: DoLogin End


Any help, please?


kha
· 1
kha
helpful
0
not helpful

Disable the following Local Security Setting: System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing.


Harvey Kandola
· 212
Harvey Kandola
helpful
0
not helpful

I still cannot login after disable the Local Security Setting: System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing.

Here is the debugview log:

[5592] CounterSoft Gemini: Start DoLogin
[5592] CounterSoft Gemini: Checking Model.Authenticated
[5592] CounterSoft Gemini: Checking offline setting
[5592] CounterSoft Gemini: Checking webservices URL suffix
[5592] CounterSoft Gemini: Starting logon process
[5592] CounterSoft Gemini: DoLogin End
[5592] CounterSoft Gemini: Start DoLogin
[5592] CounterSoft Gemini: Checking Model.Authenticated
[5592] CounterSoft Gemini: Checking offline setting
[5592] CounterSoft Gemini: Checking webservices URL suffix
[5592] CounterSoft Gemini: Starting logon process
[5592] CounterSoft Gemini: Calling ServiceHelper.AuthorisationServicesLogIn
[5592] CounterSoft Gemini: Exception caught during logon!
[5592] CounterSoft Gemini: Logon Exception. The request failed with the error message:
[5592] --
[5592] <html><head><title>Object moved</title></head><body>
[5592] <h2>Object moved to <a href="/gemini/Error.aspx?aspxerrorpath=/Gemini/webservices/AuthWS.asmx">here</a>.</h2>
[5592] </body></html>
[5592] 
[5592] --. :: System.Web.Services ::    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
[5592]    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
[5592]    at AuthorisationServices.LogIn(String userName, String password)
[5592]    at CounterSoft.Gemini.Client.Commons.Helpers.ServiceHelper.AuthorisationServicesLogIn(GeminiModel model, String sUserName, String sPassword)
[5592]    at CounterSoft.Gemini.Client.UI.Presenters.LoginPresenter.DoLogin()
[5592] CounterSoft Gemini: DoLogin End


kha
· 1
kha
helpful
0
not helpful

Do you have WSE 3.0 installed on machine? If not, please do so and reboot.

http://www.microsoft.com/downloads/details.aspx?familyid=018A09FD-3A74-43C5-8EC1-8D789091255D&displaylang=en



Bikram
· 1
Bikram
helpful
0
not helpful

Yes, i have WSE 3.0 installed and rebooted the machine just now. I choose VS developer option when installing WSE 3.0. Still the same problem:

[296] CounterSoft Gemini: Start DoLogin
[296] CounterSoft Gemini: Checking Model.Authenticated
[296] CounterSoft Gemini: Checking offline setting
[296] CounterSoft Gemini: Checking webservices URL suffix
[296] CounterSoft Gemini: Starting logon process
[296] CounterSoft Gemini: DoLogin End
[296] CounterSoft Gemini: Start DoLogin
[296] CounterSoft Gemini: Checking Model.Authenticated
[296] CounterSoft Gemini: Checking offline setting
[296] CounterSoft Gemini: Checking webservices URL suffix
[296] CounterSoft Gemini: Starting logon process
[296] CounterSoft Gemini: Calling ServiceHelper.AuthorisationServicesLogIn
[296] CounterSoft Gemini: Exception caught during logon!
[296] CounterSoft Gemini: Logon Exception. The request failed with the error message:
[296] --
[296] <html><head><title>Object moved</title></head><body>
[296] <h2>Object moved to <a href="/gemini/Error.aspx?aspxerrorpath=/gemini/webservices/AuthWS.asmx">here</a>.</h2>
[296] </body></html>
[296] 
[296] --. :: System.Web.Services ::    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
[296]    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
[296]    at AuthorisationServices.LogIn(String userName, String password)
[296]    at CounterSoft.Gemini.Client.Commons.Helpers.ServiceHelper.AuthorisationServicesLogIn(GeminiModel model, String sUserName, String sPassword)
[296]    at CounterSoft.Gemini.Client.UI.Presenters.LoginPresenter.DoLogin()
[296] CounterSoft Gemini: DoLogin End


kha
· 1
kha
helpful
0
not helpful

Please run aspnet_regiis -i" from VS Command Prompt[:)]


Bikram
· 1
Bikram
helpful
0
not helpful

I'm still having the same problem after running aspnet_regiis.exe -i

[2080] ReportingServicesService!library!f!12/4/2008-08:53:49:: i INFO: Cleaned 0 batch records, 0 policies, 0 sessions, 0 cache entries, 0 snapshots, 0 chunks, 0 running jobs, 0 persisted streams
[296] CounterSoft Gemini: Folder: VS2005AddIn
[296] CounterSoft Gemini: Start DoLogin
[296] CounterSoft Gemini: Checking Model.Authenticated
[296] CounterSoft Gemini: Checking offline setting
[296] CounterSoft Gemini: Checking webservices URL suffix
[296] CounterSoft Gemini: Starting logon process
[296] CounterSoft Gemini: Calling ServiceHelper.AuthorisationServicesLogIn
[296] CounterSoft Gemini: Exception caught during logon!
[296] CounterSoft Gemini: Logon Exception. The request failed with the error message:
[296] --
[296] <html><head><title>Object moved</title></head><body>
[296] <h2>Object moved to <a href="/gemini/Error.aspx?aspxerrorpath=/gemini/webservices/AuthWS.asmx">here</a>.</h2>
[296] </body></html>
[296] 
[296] --. :: System.Web.Services ::    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
[296]    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
[296]    at AuthorisationServices.LogIn(String userName, String password)
[296]    at CounterSoft.Gemini.Client.Commons.Helpers.ServiceHelper.AuthorisationServicesLogIn(GeminiModel model, String sUserName, String sPassword)
[296]    at CounterSoft.Gemini.Client.UI.Presenters.LoginPresenter.DoLogin()
[296] CounterSoft Gemini: DoLogin End


kha
· 1
kha
helpful
0
not helpful

Please check that the URL you are using is correct.

Also, try to nevigate to http://your server/gemini/webservices/AuthWS.asmx

what do you get?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

i'm seeing Gemini Application error:

An application error has occured - please advise the Gemini administrator within your organisation.

How do you set the time for Gemini?  I want to put MM/DD/YYYY

FromSystem Log

Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %>in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation. 04/12/2008 10:56:52 SOURCE: System.Web TARGETSITE: Void ValidateEvent(System.String, System.String) STACKTRACE: at System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument) at System.Web.UI.Control.ValidateEvent(String uniqueID, String eventArgument) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


kha
· 1
kha
helpful
0
not helpful

I'm seeing this on the server which hosts gemini web application by running this on IE: http://localhost/gemini/webservices/AuthWS.asmx

Configuration Error body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: 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.

Source Error:

Line 156:         <soapServerProtocolFactory type="Microsoft.Web.Services3.WseProtocolFactory, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Line 157:           <soapExtensionImporterTypes>
Line 158:             <add type="Microsoft.Web.Services3.Description.WseExtensionImporter, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Line 159:            </soapExtensionImporterTypes>
Line 160:       </webServices>

Source File: C:\Program Files\CounterSoft\Gemini Project Issue Tracking\Gemini Web Application\web.config    Line: 158

Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433


kha
· 1
kha
helpful
0
not helpful

I got the problem solved!!

1) I didn't have WSE3.0 installed on the gemini server.  I installed it on the server where I used VS2005 only.  That is why i got the last posted error.

I think that was the main cause of my problem.  Thanks so much for helping me :)


kha
· 1
kha