By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,758 Members | 1,223 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,758 IT Pros & Developers. It's quick & easy.

Quiestion about async calls to wcf services

P: n/a
I am calling wcf service asynchronously, It works fine most of the time.
Sometimes i get exceptions. When i see the event log there are few event
logs related to the async calls. Could some one explain what this about and
how to correct it.?

Here is the event details:

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 10/24/2006 2:30:19 PM
Event time (UTC): 10/24/2006 9:30:19 PM
Event ID: a8354ce8635347e1a467cac69922ac9e
Event sequence: 74
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/2/Root-1-128061983222921200
Trust level: Full
Application Virtual Path: /
Application Path: C:\trunk\\dev\src\
Machine name: machine1

Process information:
Process ID: 5420
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: HttpException
Exception message: Exception of type 'System.Web.HttpException' was
thrown.

Request information:
Request URL:
https://localhost/Patients/PHR/Provi...fo.aspx?ptid=2
Request path: /Patients/PHR/ProviderViewMedicalInfo.aspx
User host address: 127.0.0.1
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 15
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Web.HttpAsyncResult.End()
at System.Web.UI.PageAsyncTaskManager.EndExecuteAsync Tasks(IAsyncResult ar)
at System.Web.UI.Page.PageAsyncInfo.OnAsyncHandlerCom pletion(IAsyncResult
ar)
Custom event details:

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

Thanks

Oct 24 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"ksen" <ks**@discussions.microsoft.comwrote in message
news:AF**********************************@microsof t.com...
>I am calling wcf service asynchronously, It works fine most of the time.
Sometimes i get exceptions. When i see the event log there are few event
logs related to the async calls. Could some one explain what this about
and
how to correct it.?
Is there an InnerException in the exception being thrown? HttpException
usually means that an unhandled exception occurred. That exception is
usually set as the InnerException of the HttpException.

Do you have try/catch blocks around your operations? In particular, I bet
your async completion is throwing an exception, possibly an exception
encountered during the time your operation was working in the background.

John
Oct 25 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.