CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.vs_2005_web_application_projects Tags:
Item Type: NewsGroup Date Entered: 12/29/2006 1:54:17 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 55 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
Trr
Asp.Net User
Client found response content type of '', but expected 'text/xml'12/29/2006 1:54:17 PM

0/0

Hi !

                           I got the following error as alert, when i opened Visual Studio Team System (VSTS). No where iam using Webservice.When i click OK, it is alert box closed.I can proceed with my work space version.But when i interact with TFS(Team Foundation Server) again it is giving same alert.Iam not able to connect TFS server to get latest version / to check out/ to check in..etc.

                          Can anybody suggest what can be the problem ? It is urgent for me....

                          Thanks in advance.

The error msg in the alert box is as follows....

---------------------------
Microsoft Visual Studio
---------------------------
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>Runtime 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 '/services' Application.<hr width=100% size=1 color=silver></H1>

 

            <h2> <i>Runtime Error</i> </h2></span>

 

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

 

            <b> Description: </b>An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

            <br><br>

 

            <b>Details:</b> To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".<br><br>

 

            <table width=100% bgcolor="#ffffcc">

               <tr>

                  <td>

                      <code><pre>

 

<!-- Web.Config Configuration File -->

 

<configuration>

    <system.web>

        <customErrors mode="Off"/>

    </system.web>

</configuration></pre></code>

 

                  </td>

               </tr>

            </table>

 

            <br>

 

            <b>Notes:</b> The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.<br><br>

 

            <table width=100% bgcolor="#ffffcc">

               <tr>

                  <td>

                      <code><pre>

 

<!-- Web.Config Configuration File -->

 

<configuration>

    <system.web>

        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>

    </system.web>

</configuration></pre></code>

 

                  </td>

               </tr>

            </table>

 

            <br>

 

    </body>

</html>

 

--.
---------------------------
OK  
---------------------------


It is always right time for innovation :)
1 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Java Network Programming Authors: Elliotte Rusty Harold, Pages: 735, Published: 2004
Professional Web APIs with PHP: EBay, Google, PayPal, Amazon, FedEx, Plus Web Feeds Authors: Paul Michael Reinheimer, Pages: 356, Published: 2006
The Handbook of Mobile Middleware Authors: Paolo Bellavista, Antonio Corradi, Pages: 1377, Published: 2007

Web:
Client found response content type of '', but expected 'text/xml ... Client found response content type of '', but expected 'text/xml'. Last post 10- 30-2007 4:32 PM by jjjiiimmm. 6 replies. Sort Posts: ...
Client found response content type of '', but expected 'text/xml ... Jun 9, 2006 ... Hello I am trying to render a report with the webservice and Igot that error. Hello, I have this problem trying to render to PDF ddlFormats.
Re: Client found response content type of '', but expected 'text/xml' Client found response content type of 'text/html; ... > application may be because the browser uses HTTP POST and the client ... might solve someones ...
Client found response content type of text/html - Topic Powered by ... I was trying to send an XML message in a string. "Client found response content type of 'text/html', but expected 'text/xml'. ...
Client found response content type of '', but expected 'text/xml Server returns this error, "Client found response content type of '', but expected 'text/xml'" after a undetermined period of time, and it cannot be fixed ...
MSDN Windows Live Search: Development Client found response ... Client found response content of type '', but expected 'text/xml'. After getting and compiling the new interface that corresponds to the latest SDK (0.6), ...
Client found response content type of '', but expected 'text/xml'. Client found response content type of '', but expected 'text/xml'. I have a simple web service which operates correctly. But when I try to ...
microsoft.public.dotnet.framework.webservices: Re: Client found ... Re: Client found response content type of , but expected text/xml ... did you update your web reference after changeing the webservice namespace? ...
Web services "expected 'text/xml" error I am having the follwowing error "Additional information: Client found response content type of ', but expected 'text/xml" from ...
Client found response content type of '', but expected 'text/xml ... Jun 1, 2007 ... Client found response content type of '', but expected 'text/xml'.. Get answers to your questions in our .NET Web Services forum.




Search This Site:










any comments or suggestions for this code?

i can not get outlining work in aspx file?

general dotnetnuke questions

testing dnn2.0 alpha >> ms access >> add table

portalstore 6.5

usercontrol in webpart

about treeview

how use template to create new website?

media library starter kit

impersonation during asynchronous web service calls from web parts

how to set the registry key

preventing xss - why prefer double quotes rather than single quotes

2 same web parts on same page

uploading skins - 3.08

expert help needed

dynamically loading user controls

core team chat highlights [feb 09]

no control after button click

help needed with backing up outlook email folders and settings

connection to sql express from vs2005

delegating to a custom profile provider

newbie help with structuring web application project

need to contact someone who can help with intranet

sqldatasource and membership id

3.0 best practices: when joining tables, do i create separate info and controller classes?

website project vs. web application project in visual studio.net 2005

convert createuserwizard handler from c# to vb

gridview adapter skips colum style

tabstrip control in asp.net v2

'nt authority\network service' vs 'machine name\aspnet'

 
All Times Are GMT