Try Catch in Windows Work Flows 4.0
-
Friday, May 11, 2012 7:20 AM
Hi All,
I have developed the Windows work flow service 4.0. The client using this service is ordinary ASP.NET application.
I want to send back the errors (in the form of error message) occurred while running the work service to client.
PLZ suggest the feasible solution for this.
Note: For this I have used TRY CATCH Block in work flow service and trying to add a send activity in the catch block. i am able to build the service successfully. I have given below code in the service intentionally to check the return message to the client.
stringstr = null; stringstr1 = str.ToString();
Getting below error in the browser
"System.ServiceModel.FaultException`1 was unhandled by user code
Message=Endpoint with Name='<not specified>' and ServiceContract '<not specified>' has a null or empty Uri property. A Uri for this Endpoint must be provided."Thx, Vinay
- Edited by Vinay Angajala Friday, May 11, 2012 7:29 AM
- Changed Type William Zhou CHNModerator Wednesday, May 23, 2012 8:13 AM Off-topic
All Replies
-
Friday, May 11, 2012 10:41 AM
You need to ask in a different forum, probably Visual Studio.
Please tell us why you chose this forum. This forum now gets so many Visual Studio questions.
-- Paul Herber, Sandrila Ltd. Engineering and software shapes for Visio - http://www.sandrila.co.uk/
-
Friday, May 11, 2012 8:05 PM
Paul,
Probably because of the Group name: "Visio General Questions and Answers for IT Professionals" Someone reads "Visio" as "Visual" and tacks on the "IT" association.
Maybe truncate the name to just "Visio General Questions and Answers"? Especially because the Q&A content extends beyond just IT apps.
Or even "MS Office Visio General Questions and Answers"for greater discrimination.
Who wields that administrative hammer?
Steve Mack
-
Friday, May 11, 2012 8:12 PM
Bingo!
-- Paul Herber, Sandrila Ltd. Engineering and software shapes for Visio - http://www.sandrila.co.uk/

