Malformed server response


    Sponsored Links


  • 1. Trouble running Pocket PC 2003 emulator on my lap top
    Hi all, I have VS.NET installed on my lap top, and I'm trying to run the Pocket PC 2003 Emulator on it. I looked up on the microsoft website, and found this syntex to run it. "C:\Program Files\Microsoft Visual Studio .NET 2003\CompactFrameworkSDK\ConnectionManager\Bin\Emulator.exe" /ceimage "c:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Emulation\PPC_2003_WWE.bin" /video 240x320x16 /ethernet true /skin "c:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Emulation\Pocket_PC_Emulator_Skin.xml" However, when I ran the command above on the command line, I got this error. One or more files from the emulator for Windows CE installation is missing. Please reinstall Emulator for Windows CE and try again. Does anyone know the fix for this? Thanks, Bruce
  • 2. SIP disable from asp
    Is there to disable sip from a web page? Or at least turn it off from the device, not permanatly though. Thanks

Malformed server response

Postby phoebe » Wed, 26 Apr 2006 19:28:52 GMT

hi, good day

I'm working on a ASP.NET mobile application. When i click on a button 
component with openwave, I received an error message "malformed server 

It works fine if i run it in IE.

Can anyone help. thanks in advanced.


Re: Malformed server response

Postby Tom » Fri, 28 Apr 2006 21:27:08 GMT

Hi Phoebe,

I had a similar problem. Can you post some code? Are you using Device
Specific Filters?
In my case I got this error when I was using code in a WML device
filter that wasn't supported by the browser i was viewing it on. in my
case, I was using tables to format my data but tables were not
supported by my emulator.



Similar Threads:

1."Error : MalFormed Server Response"

any luck w/ this i am having the same problem...?

2."Malformed Response" error on W2K

3."malformed response" error on win2k

4.ADO-DS malformed uri

5.Getting malformed XML from a web service interface

I am seeing a quite intermittent problem in a system where calls to a .NET 
web service throws the exception below:

System.Xml.XmlException: Data at the root level is invalid. Line 1, position 

The call is never logged anywhere on the server and the next call goes 
through without any problems. Not all of our environmenst see this, just 

I have two questions in regards to this:

1. How can I simulate this behaviour on the server side so that the web 
service returns malformed xml? So that I can on the client side take care of 
the exception i a good way and test this.

2. How can I in the client, when the exception is caught, see what the 
response is? I'd like to log it and see what is in there? I suspect it's an 
error message from a router or from the IIS.

See stack trace below:
System.InvalidOperationException: Response is not well-formed XML. ---> 
System.Xml.XmlException: Data at the root level is invalid. Line 1, position 
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlTextReader.Read()
   at Microsoft.Web.Services.XmlSkipDTDReader.Read()
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean 
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at Microsoft.Web.Services.SoapEnvelope.Load(Stream stream)
   at Microsoft.Web.Services.InputStream.GetRawContent()
   at Microsoft.Web.Services.InputStream.Read(Byte[] buffer, Int32 offset, 
Int32 count)
   at System.IO.StreamReader.ReadBuffer(Char[] userBuffer, Int32 userOffset, 
Int32 desiredChars, Boolean& readToUserBuffer)
   at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)
   at System.Xml.XmlTextReaderImpl.ReadData()
   at System.Xml.XmlTextReaderImpl.InitTextReaderInput(String baseUriStr, 
TextReader input)
   at System.Xml.XmlTextReaderImpl..ctor(String url, TextReader input, 
XmlNameTable nt)
   at System.Xml.XmlTextReader..ctor(TextReader input)
message, Int32 bufferSize)
message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String 
methodName, Object[] parameters)
   --- End of inner exception stack trace ---
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String 
methodName, Object[] parameters)


6. what is malformed about this url?

7. DataSet.ReadXml() - Malformed Xml?

8. Malformed HTML from UserControl

Return to ASP.NET


Who is online

Users browsing this forum: No registered users and 50 guest