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.




content type Error with 'text/html; charset=utf-8'

desktop
add-ons

I try to connect with Desktop V1.0 and receive the following error message:

Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'

Did anybody now how I can configure this? As I could not find such entry in the web.config file or in the local application config file.

Thanks for your help

dide

dide
· 1
dide
Replies (4)
helpful
0
not helpful

What url did you use? It should match the FullGeminiURL setting in the web.config file.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Sorry, I was allready to deep inside and forgot to write some information.

After I had logged on it looks not bad. But if I try to synchronize (Upload Modified issue or Download Issue. I receive the following error:

If I'm online then I have the same message even if I try to switch my projects.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

*** Exception Text ***
System.InvalidOperationException: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message:
--
<html>
    <head>
        <title>Configuration Error</title>
        <style>
         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; }
        </style>
    </head>

    <body bgcolor="white">

            <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>

            <h2> <i>Configuration Error</i> </h2></span>

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

            <b> Description: </b>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.
            <br><br>

            <b> Parser Error Message: </b>The value of the property 'type' cannot be parsed. The error is: Could not load file or assembly 'Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)<br><br>

            <b>Source Error:</b> <br><br>

            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
                      <code><pre>

Line 294:  &lt;webServices&gt;
Line 295:   &lt;soapExtensionTypes&gt;
<font color=red>Line 296:    &lt;add type=&quot;Microsoft.Web.Services2.WebServicesExtension, Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&quot; priority=&quot;1&quot; group=&quot;0&quot; /&gt;
</font>Line 297:   &lt;/soapExtensionTypes&gt;
Line 298:  &lt;/webServices&gt;</pre></code>

                  </td>
               </tr>
            </table>

            <br>

            <b> Source File: </b> D:\WebRoot\bugs.{company}.ch\web.config<b> &nbsp;&nbsp; Line: </b> 296
            <br><br>

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

            <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

            </font>

    </body>
</html>
<!--
[ConfigurationErrorsException]: The value of the property 'type' cannot be parsed. The error is: Could not load file or assembly 'Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) (D:\WebRoot\bugs.{company}.ch\web.config line 296)
   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 System.Web.Services.Configuration.WebServicesSection.GetConfigFromHttpContext()
   at System.Web.Services.Configuration.WebServicesSection.getCurrent()
   at System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response)
   at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath)
   at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
   at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
--><!--
This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using &lt;customErrors mode="Off"/&gt;. Consider using &lt;customErrors mode="On"/&gt; or &lt;customErrors mode="RemoteOnly"/&gt; in production environments.-->
--.
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at IssuesWSProxy.GetFilteredIssuesEN(IssuesFilterEN filter, Int32 userID, Int32 includeCommentAttachment)
   at CounterSoftGemini.Desktop.GeminiWinDA.ConnectedIssueDA.GetFilteredIssuesEN(IssuesFilterEN filter, Int32 userID, Int32 includeCommentAttachment)
   at CounterSoft.Gemini.Desktop.GeminiWinBiz.IssueWinBiz.GetFilteredIssuesEN(IssuesFilterEN filter, Int32 includeCommentAttachment)
   at CounterSoftGemini.Desktop.GeminiWinControls.FiltersPanel.ShowIssues(IssuesFilterEN filter, Boolean bSetIssues, Boolean bDownload)
   at CounterSoftGemini.Desktop.GeminiWinControls.FiltersPanel.ShowIssues(IssuesFilterEN filter, Boolean bSetIssues, Boolean bDownload)
   at CounterSoftGemini.Desktop.GeminiWinControls.FiltersPanel.Dofilter(Boolean bDownload)
   at CounterSoft.Gemini.Desktop.FormMain.menuSyncDownloadIssues
Click(Object sender, EventArgs e)
   at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.MenuItemData.Execute()
   at System.Windows.Forms.Command.Invoke()
   at System.Windows.Forms.Control.WmCommand(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


*** Loaded Assemblies ***
mscorlib
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
CounterSoft.Gemini.Desktop
    Assembly Version: 0.1.0.0
    Win32 Version: 0.1.0.0
    CodeBase: file:///D:/Programs/CounterSoft/GeminiDesktop/CounterSoft.Gemini.Desktop.exe
----------------------------------------
CounterSoft.Gemini.Desktop.Biz
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/Programs/CounterSoft/GeminiDesktop/CounterSoft.Gemini.Desktop.Biz.DLL
----------------------------------------
CounterSoft.Gemini.Desktop.Lib
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/Programs/CounterSoft/GeminiDesktop/CounterSoft.Gemini.Desktop.Lib.DLL
----------------------------------------
CounterSoft.GeminiLib
    Assembly Version: 2.0.4.1111
    Win32 Version: 2.0.4.1111
    CodeBase: file:///D:/Programs/CounterSoft/GeminiDesktop/CounterSoft.GeminiLib.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0
b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
System.Xml
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0
b77a5c561934e089/system.xml.dll
----------------------------------------
Microsoft.Web.Services2
    Assembly Version: 2.0.3.0
    Win32 Version: 2.0.5050.0
    CodeBase: file:///D:/Programs/CounterSoft/GeminiDesktop/Microsoft.Web.Services2.DLL
----------------------------------------
System.Web.Services
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system.web.services/1.0.5000.0b03f5f7f11d50a3a/system.web.services.dll
----------------------------------------
System.Web
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2037
    CodeBase: file:///c:/windows/assembly/gac/system.web/1.0.5000.0
b03f5f7f11d50a3a/system.web.dll
----------------------------------------
njtsbk-s
    Assembly Version: 0.0.0.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0b77a5c561934e089/system.dll
----------------------------------------
System.Security
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system.security/1.0.5000.0
b03f5f7f11d50a3a/system.security.dll
----------------------------------------
stbylkvk
    Assembly Version: 0.0.0.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0b77a5c561934e089/system.dll
----------------------------------------
3ekfrzgg
    Assembly Version: 0.0.0.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0
b77a5c561934e089/system.dll
----------------------------------------
uwhevurx
    Assembly Version: 0.0.0.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0b77a5c561934e089/system.dll
----------------------------------------
96mgq5yo
    Assembly Version: 0.0.0.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0
b77a5c561934e089/system.dll
----------------------------------------
uatkctco
    Assembly Version: 0.0.0.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0b77a5c561934e089/system.dll
----------------------------------------
wwwbzi3w
    Assembly Version: 0.0.0.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0
b77a5c561934e089/system.dll
----------------------------------------
CounterSoft.Gemini.Desktop.Controls
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/Programs/CounterSoft/GeminiDesktop/CounterSoft.Gemini.Desktop.Controls.DLL
----------------------------------------
CounterSoft.Gemini.Desktop.DA
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/Programs/CounterSoft/GeminiDesktop/CounterSoft.Gemini.Desktop.DA.DLL
----------------------------------------

*** JIT Debugging ***
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.


dide
· 1
dide
helpful
0
not helpful

Very odd, please try and delete all cached data: C:\Documents and Settings\Your User Name\Local Settings\Application Data\CounterSoft\Gemini Desktop


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Shame on me.

After a lot of checks... I found the solution.

I had changed the server locatin of the installation and on the new server I had not installed the WSE 2.0 SP3 ;-( that's all.

So after I check this all on my server it was running now.

Again, great software

Dide


dide
· 1
dide