Results 1 to 6 of 6

Thread: Web Service Error

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2000
    Location
    Tennessee
    Posts
    279

    Web Service Error

    When trying to run a windows application on one machine that accesses a web service on another I get the following error message:

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

    What might this mean?

    It's written in visual basic .net.
    A cynic knows the price of everything but the value of nothing.

  2. #2
    Member
    Join Date
    Aug 2002
    Location
    Pakistan
    Posts
    32
    You faced this problem in 2002 i think you must have been over it by now ..... as am facing it badly and need its solution as sooon as possible ... Kindly help me out ... you are my last hope....

    [email protected]
    You'll get life just for once so don't waste it .......

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2000
    Location
    Tennessee
    Posts
    279
    Wow, that was a while ago. I've run into alot of things with web services since then so I'm not sure what my fix was. Describe to me how your system is set up and what you're doing to get that error. I may be able to help from there.
    A cynic knows the price of everything but the value of nothing.

  4. #4
    Member
    Join Date
    Aug 2002
    Location
    Pakistan
    Posts
    32
    Hmmm ...

    Actually i am using asp.net and visual c# in the first page am using popchart control which is working fine in the second page am using snowflake control there its giving me this problem.

    Client found response content type of 'text/html', but expected 'text/xml'

    On my machine where i have the whole vs.net installed its working fine. But am trying to run it on a machine where i have just installed vs.net framework 1.1 ,,,, with the other softwares i need .... everything seems to be working fine but at snowflake page it gives me this error.

    I have xml sdk,popcharts,snowflakes,iis, and a few more things installed on my system to run this application.

    Hope this info helps.
    You'll get life just for once so don't waste it .......

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2000
    Location
    Tennessee
    Posts
    279
    I actually just duplicated the error. I have an appSettings tag in my Web.Config file that contains a connection string that I use throughout my application. I was able to duplicate the error by removing a double quote from my connectionstring:

    <appSettings><add key="ConnectString" value="Server=MyServer;Uid=sa;pwd=;database=MyDatabase"/>

    </appSettings>

    In this case I removed the double quote after the word 'MyDatabase'. When I tried to run my app I got the same error you're getting. My first instinct without seeing your code is to say that you've got something wrong with your web.config file.


    I hope that helps a little.
    A cynic knows the price of everything but the value of nothing.

  6. #6
    Member
    Join Date
    Aug 2002
    Location
    Pakistan
    Posts
    32

    Angry

    still no luck
    You'll get life just for once so don't waste it .......

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width