473,790 Members | 2,534 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.XmlE xception: This is an
unexpected token. The expected token is 'EndElement'. Line 1, position 4387.
at System.Xml.XmlT extReader.Read( )
at Microsoft.Web.S ervices2.Xml.Xm lSkipDTDReader. Read()
at System.Xml.XmlL oader.LoadCurre ntNode()
at System.Xml.XmlL oader.LoadDocSe quence(XmlDocum ent parentDoc)
at System.Xml.XmlL oader.Load(XmlD ocument doc, XmlReader reader, Boolean
preserveWhitesp ace)
at System.Xml.XmlD ocument.Load(Xm lReader reader)
at Microsoft.Web.S ervices2.SoapEn velope.Load(Str eam stream)
at
Microsoft.Web.S ervices2.Messag ing.SoapPlainFo rmatter.Microso ft.Web.Services 2.Messaging.ISo apFormatter.Des erialize(Stream stream)
at
Microsoft.Web.S ervices2.WebSer vicesExtension. BeforeDeseriali zeServer(SoapSe rverMessage message)
What can I do about this?

--
rvangeldrop
Apr 7 '06 #1
5 3215
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
1752
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 global.asax that will trap the error and write it to a text file. I've tried to convert that code and I'm totally confused! (This is not about try/catch)
2
2412
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 Catalogue in SQL. Malformed search requests can generate a variety of errors, which I simply want to catch, set the CustomValidator's IsValid method to false and assign the ErrorMessage to the CustomValidator's Message property. For example: ...
5
4518
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 including the -q64 option in xlC compiler. And we are able to link all these libraries to one of the main applications and generate an executable. SKLoader. But, when we try to run this main executable, we are getting the following errors:
32
4421
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 urllib2, urlparse, robotparser and some other modules in the battery pack. One day my app failed with an urllib2.HTTPError. So I catch that. But then I get a urllib2.URLError, so I catch that too. The next day, it encounters a urllib2.HTTPError, then...
1
3586
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 Unexpected error. A trappable error (E06D7363) occurred in an external object. The script cannot continue running.." Source : Active Server Pages
20
3169
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 brackets, and curly braces for mismatches & opens and it checks out perfect. so I don't know what it is about the curly brace error. it's false. anybody have a clue as to what the real error might be? the code looks pristine to me. ...
8
5865
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 someone please help me out with this it is for a contact form for a webpage that I am making for a class project but I decided to add in this contact form.... <?php
3
5298
by: swethak | last post by:
hi, i create the one file.At time of creation i insert below contents into the file &lt;?php include("ClassName.class"); $myclass = &new ClassName; echo $myclass->myfunction1(); ?&gt;
3
5068
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, unexpected T_VARIABLE in /home/content/m/i/x/mixxsalon/html/FormToEmail.php on line 1 here is the code. <?php $my_email = "user@example.com"; /*
0
9666
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9511
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10200
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9986
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7529
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4093
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3703
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2909
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.