473,396 Members | 2,092 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Unexpected WSE 2.0 errors in Event Log

Hello,

We run a very stable and well functioning ASP.Net 1.1 webservice using WSE
2.0 sp 3.

Every now and then the following error appears in the system event log:

HTTP/ASMX Message Receive Failure: System.Xml.XmlException: This is an
unexpected token. The expected token is 'EndElement'. Line 1, position 4387.
at System.Xml.XmlTextReader.Read()
at Microsoft.Web.Services2.Xml.XmlSkipDTDReader.Read( )
at System.Xml.XmlLoader.LoadCurrentNode()
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean
preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at Microsoft.Web.Services2.SoapEnvelope.Load(Stream stream)
at
Microsoft.Web.Services2.Messaging.SoapPlainFormatt er.Microsoft.Web.Services2.Messaging.ISoapFormatte r.Deserialize(Stream stream)
at
Microsoft.Web.Services2.WebServicesExtension.Befor eDeserializeServer(SoapServerMessage message)
What can I do about this?

--
rvangeldrop
Apr 7 '06 #1
5 3201
Hello,

It seems it receive the incorrect soap message which is not well formatted.
Unfortunately, we cannot tell more details with current information. You
may need to catch the exception in code and check what message/object cause
such a problem, and test if the problem is reproduable.

Luke Zhang
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 10 '06 #2
Hello Luke,

Debugging this will be hard, since so far we did not see an exception
attached to this logging behaviour, since it is not our own application that
logs this but WSE.

Is it possible to stop WSE from logging this error to the event log?

Regards,

--
rvangeldrop
"Luke Zhang [MSFT]" wrote:
Hello,

It seems it receive the incorrect soap message which is not well formatted.
Unfortunately, we cannot tell more details with current information. You
may need to catch the exception in code and check what message/object cause
such a problem, and test if the problem is reproduable.

Luke Zhang
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 25 '06 #3
WSE only will raise an exception to your web service. The Eventlog part
should be in your web service. You may check if your web service project
have any exception handling part and try block the exception there.

Luke Zhang
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 26 '06 #4
Hello Luke,

We have some more progression on this issue. The problem is caused by the
WebProxy on a client, that is not threadsafe. If the proxy is accessed by two
threads for signing and sending a SOAP Request the WSE interface has trouble
decoding the SOAP:XML on the server side. The WSE dll logs an entry to the
EventLog in that case. The SOAP-request never resolves and this means we were
unable to debug it, since nothing happened in our code.

It means that WSE 2.0 dll logs errors to the EventLog by itself. We do not
log anything at all.

I expect that you look into this to see if the logging of these errors to
the EventLog can be disabled (or redirected to a different log group). Can
you please look to this?

Kind regards,

--
rvangeldrop
"Luke Zhang [MSFT]" wrote:
WSE only will raise an exception to your web service. The Eventlog part
should be in your web service. You may check if your web service project
have any exception handling part and try block the exception there.

Luke Zhang
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Jun 8 '06 #5
Hello,

After searching more documents, I found a event og source "Microsoft WSE
2.0" will be created when WSE 2.0 is installed on a server. But I didn't
finda way to disable it. The only way I think is not to grant the
application the permission to write event log.

Regards,

Luke Zhang
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Jun 9 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Fred Nelson | last post by:
Hi: I'm a VB.NET web programmer who is writing my first C# web application! I'm having a problem trapping and logging unexpected errors. In my VB.NET applications I have a routine called by...
2
by: Stephen Miller | last post by:
Can the CustomValidator be used to simply report unexpected errors, without requiring Client/Server validation? To explain, say you had a simple text box and button that did a Full-text Search of a...
5
by: r.nikhilk | last post by:
Hi, Currently, we are porting C++ applications from 32 bit to 64 bit on AIX platform. (The current version of AIX is 5.3 and xlC verison is 8.0). We are able to compile the applications by...
32
by: Rene Pijlman | last post by:
One of the things I dislike about Java is the need to declare exceptions as part of an interface or class definition. But perhaps Java got this right... I've writen an application that uses...
1
by: =?Utf-8?B?VmFxdWFy?= | last post by:
Hi, Past few days I see following errors in Event Log after which few ASP scripts stopped working (or part of it's functionality - not very sure which one). "Error: File /trxweb/trxweb.asp ...
20
by: Jim Michaels | last post by:
I have a 638 line glob of PHP code & HTML that won't run. I get "PHP Parse error: syntax error, unexpected '}' in quiz\\quiz.php on line 594". I wrote a brace checker that checks perens, square...
8
by: illuzion | last post by:
ok I keep getting this error: Parse error: syntax error, unexpected T_VARIABLE in /home/illuzion/public_html/BAMF/contactus.php on line 38 and this error is possibly on other lines could...
3
by: swethak | last post by:
hi, i create the one file.At time of creation i insert below contents into the file <?php include("ClassName.class"); $myclass = &new ClassName; echo $myclass->myfunction1(); ?>
3
by: broll911 | last post by:
I am gettin a error message on this script can someone help me. I am a complete newbie on this stuff. Thanks in advance for any help you can give me. here is the error. Parse error: syntax error,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.