Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / December 2004

Tip: Looking for answers? Try searching our database.

...Root Element is missing Error!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Balasubramanian Ramanathan - 22 Dec 2004 19:53 GMT
Hi,

I am using webservice.htc to call a asp.net web service. The web service
works find for the first...when i call it second time i am gettting an Error
." root element is missing"..this is happening only in remote...when i test
the same application locally it works find... the remote server has windows
2003 with .net frame work 1.1 sp1 installed..

Any help???

Thanks & Regards
Dan Rogers - 22 Dec 2004 22:52 GMT
Hi,

Try tracing the message that is received at the server side.  Also, it
isn't clear which side is throwing your "root missing" error message.  
Since there are two messages and two senders involved (you send message
that represents your request, the server receives it.  The error could
happen right here.  The server sends a message back, and this message also
could be poorly formed.

Also, this problem can happen if you are reusing the envelope and adding a
second body child.  The trace will let you see this.

Install a trace extension (available from gotdotnet.com) on your service
via a web.config change.  Then run the trace.axd utility at the vroot of
your service in a browser, and send the message from your client.  Then
send it again.  Then refresh the trace.axd page.  There should be two
requests logged, and you can compare what you expect to see to what you do
see to help you determine what the probable causes are.

Be sure to have trace="on" in your web.config as well.

Best regards

Dan Rogers
Microsoft Corporation
--------------------
>From: "Balasubramanian Ramanathan" <rbmanian@eth.net>
>Subject: ...Root Element is missing Error!
[quoted text clipped - 9 lines]
>NNTP-Posting-Host: a81-84-62-179.netcabo.pt 81.84.62.179
>Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09
phx.gbl
>Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:27353
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
>
[quoted text clipped - 9 lines]
>
>Thanks & Regards

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.