v3.1.0: can't login to Gemini with Gemini Desktop
I'm using latest version of Gemini Desktop and tried to login to Gemini server, on Gemini server i kept getting this error from WSE3.0, and apparently I can't never login to Gemini with Gemini Desktop:
Event Type: Error
Event Source: Microsoft WSE 3.0
Event Category: None
Event ID: 0
Date: 1/29/2009
Time: 2:37:15 PM
User: N/A
Computer: SERV-SOURCECTRL
Description:
System.ApplicationException: WSE842: The service pipeline could not be created. ---> System.Configuration.ConfigurationErrorsException: WSE032: There was an error loading the microsoft.web.services3 configuration section. ---> System.Configuration.ConfigurationErrorsException: The entry 'UsernameToken' has already been added.
at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)
at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey, Boolean getLkg, Boolean checkPermission)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
at System.Web.HttpContext.GetSection(String sectionName)
at Microsoft.Web.Services3.Configuration.WebServicesConfiguration.getCurrent()
--- End of inner exception stack trace ---
at Microsoft.Web.Services3.Configuration.WebServicesConfiguration.getCurrent()
at Microsoft.Web.Services3.Configuration.WebServicesConfiguration.get_MessagingConfiguration()
at Microsoft.Web.Services3.WseProtocol.ModifyInitializedExtensions(PriorityGroup group, SoapExtension[] extensions)
at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
--- End of inner exception stack trace ---
kha
· 1 |
|
Thursday, January 29, 2009, 8:39:20 PM |
0
|
Is Gemini running under another app? It seems like you have another web.config file a level up from Gemini that defines the token. |
||||
|
0
|
Yes, I happened to create Gemini under IIS/Websites and installed Gemini under that Gemini. |
||||
|
0
|
Please try. However, I think you should recreate it as one site, not sure why you have done it this way. |
||||
|
0
|
I've got almost the exact same error message |
||||
|
0
|
Figured out from another post how to read the debug messages from the svn connector. It says pretty much the same thing the log says, but does help me see that the pre-commit works fine. |
||||
|
0
|
Still trying to track this down, getting kind of frustrated. The Windows "Search" utility is completely useless when it comes to searching for files containing strings, so I had to go find something third party to do the job. The result is that there are two "web.config" files containing the phrase "UsernameToken": |
||||
|
0
|
Is it possible for you to install Gemini on another webserver? We want to see if this is server specific. |
||||
|
0
|
The only other real IIS server I have access to is already running an old version (2.x) of Gemini and I cannot risk blowing that away because it is our production system. |
||||
|
0
|
The XP pro box looks like a no-go. IIS was already installed with something in it, and while I can get a single static page (iisstart.htm) working fine, when I point the browser at any Gemini page, it just says 404, which is stupid because I put the Gemini files into the same directory where iisstart.htm is being served from (confirmed by modifying iisstart.htm). |
||||
|
0
|
What services are enabled in IIS? Are you sure that there are no WSE or other config files in the WWWRoot? |
||||
|
0
|
What services are enabled in IIS?All Unknown CGI Extensions: Allowed All Unknown ISAPI Extensions: Prohibited Active Server Pages: Allowed ASP.Net v1.1.4322: Allowed ASP.Net v2.0.50727: Allowed Internet Data Connector: Prohibited Server Side Includes: Prohibited WebDAV: Prohibited Windows SharePoint Services: Allowed Are you sure that there are no WSE or other config files in the WWWRoot?There is a web.config in "Default Web Site" but it is in a Stopped state, and I renamed that config file to "web.config" just to make sure it stays out of the way. I searched the entire drive for web.config files containing the phrase "UsernameToken" (using a third party tool, because windows search doesn't actually search most file contents, wtf?) and only found two - one was the Gemini installed version and the other was a copy of the Gemini files in a folder on the desktop. As for the wwwroot Directory of C:\Inetpub\wwwroot 02/20/2009 04:27 PM <DIR> . 02/20/2009 04:27 PM <DIR> .. 03/03/2006 07:03 PM <DIR> aspnetclient 02/21/2003 06:48 PM 1,433 iisstart.htm 02/21/2003 06:48 PM 2,806 pagerror.gif 04/06/2006 08:05 AM 6,102 web.config_ 03/06/2006 03:03 PM <DIR> wpresources One thing that might be going on (again, I apologize, I'm a nix admin, so I'm just trying to understand IIS) is that when the Gemini installer runs, it fails to fill in at least one value in the IIS config it sets up. I've confirmed that this is the case when I tried running the installer in XP. It misses the Properties>Home Directory>Local Path setting. This setting does not appear to be optional, because as soon as you click on the Gemini server in IIS, it says something like "The specified path cannot be found" - but never tells you wth it is talking about(!). I figured it out because if you go to the Home Directory tab and hit 'Ok' the dialog won't let you leave and tells you that the Local Path setting cannot be left empty. Let me repeat that for emphasis. You cannot leave that panel without hitting 'Cancel' - meaning any changes are lost, so you must fill in something. After I filled that in and told it where the Gemini files were (C:\Program Files\CounterSoft\Gemini Project Issue Tracking\Gemini Web Application) then things *started working - prior to that I could only get 403/404 errors. However, it was at that point in IIS where the Gemini globe went from having just a gear under it to having a gear and the list of directories. The gear has the same set of directories under it - the globe and the gear point at the same thing, because if you rename a file like web.config, it changes in both places. So is it possible that IIS is being stupid and seeing the same file twice? If so, any thoughts on how to fix it? |
||||
|
0
|
Seems very odd. Is it possible for you to do the IIS install manually? ie. delete the current test Gemini site(s) and create a new one point it to a directory and set asp.net 2.0. Also, what is the web.config file? |
||||
|
0
|
Sorry, was out sick for a couple of days. |
||||
|
0
|
Thanks for the update. |
||||
|