Click here to Skip to main content
15,917,953 members
Home / Discussions / WPF
   

WPF

 
QuestionCommunication Exception while calling a Windows Workflow service from Silverlight Pin
cydd6-Mar-12 21:43
cydd6-Mar-12 21:43 
Hi,
I have a silverlight 3 application, which calls Workflow service to send mails to students (say 10 students).
Calling the workflow service to send mail to 10 students works fine for the first time. And this fails when I hit the service for the second time.

The exception which I get is the "CommunicationException() was unhandled by user code: The remote server returned an error: NotFound."

The exception occurs in the generated Reference.cs file :

C#
public bool EndMailingDetails(System.IAsyncResult result)
 {
    object[] _args = new object[0];
    bool _result = ((bool)(base.EndInvoke  
               ("MailingDetails", _args, result)));
    return _result;
 }


I have doubt that the workflow instance which got intiated when I called the workflow service for the first time still exists which blocks me from calling the the same workflow service for the second time.
However I am not able to figure out where this workflow instanace gets created and how to destroy the already existing instance, to call the service without exceptions for the next time.

Any help would be of great help.

Thanks
QuestionAllow user customizing styles of WPF controls and retaining them Pin
Mahesha9996-Mar-12 1:28
Mahesha9996-Mar-12 1:28 
AnswerRe: Allow user customizing styles of WPF controls and retaining them Pin
Abhinav S6-Mar-12 2:18
Abhinav S6-Mar-12 2:18 
AnswerRe: Allow user customizing styles of WPF controls and retaining them Pin
Mycroft Holmes6-Mar-12 11:57
professionalMycroft Holmes6-Mar-12 11:57 
AnswerRe: Allow user customizing styles of WPF controls and retaining them Pin
Pete O'Hanlon6-Mar-12 12:05
mvePete O'Hanlon6-Mar-12 12:05 
GeneralRe: Allow user customizing styles of WPF controls and retaining them Pin
Mahesha9997-Mar-12 4:22
Mahesha9997-Mar-12 4:22 
GeneralRe: Allow user customizing styles of WPF controls and retaining them Pin
Pete O'Hanlon7-Mar-12 4:38
mvePete O'Hanlon7-Mar-12 4:38 
GeneralRe: Allow user customizing styles of WPF controls and retaining them Pin
Mahesha9997-Mar-12 8:19
Mahesha9997-Mar-12 8:19 
GeneralRe: Allow user customizing styles of WPF controls and retaining them Pin
Pete O'Hanlon7-Mar-12 8:42
mvePete O'Hanlon7-Mar-12 8:42 
GeneralRe: Allow user customizing styles of WPF controls and retaining them Pin
Mahesha99911-Mar-12 5:06
Mahesha99911-Mar-12 5:06 
QuestionLinux Hosting Pin
sayantanpaik@yahoo.com5-Mar-12 22:46
sayantanpaik@yahoo.com5-Mar-12 22:46 
AnswerRe: Linux Hosting Pin
Pete O'Hanlon5-Mar-12 22:53
mvePete O'Hanlon5-Mar-12 22:53 
GeneralRe: Linux Hosting Pin
Mycroft Holmes6-Mar-12 0:10
professionalMycroft Holmes6-Mar-12 0:10 
GeneralRe: Linux Hosting Pin
Pete O'Hanlon6-Mar-12 0:43
mvePete O'Hanlon6-Mar-12 0:43 
QuestionDrag-and-Drop out of Silverlight 5 application Pin
roni-in4-Mar-12 21:50
roni-in4-Mar-12 21:50 
AnswerRe: Drag-and-Drop out of Silverlight 5 application Pin
Abhinav S4-Mar-12 22:04
Abhinav S4-Mar-12 22:04 
GeneralRe: Drag-and-Drop out of Silverlight 5 application Pin
roni-in4-Mar-12 22:14
roni-in4-Mar-12 22:14 
GeneralRe: Drag-and-Drop out of Silverlight 5 application Pin
Mycroft Holmes5-Mar-12 21:35
professionalMycroft Holmes5-Mar-12 21:35 
Questionpicbox Pin
MemberDotNetting4-Mar-12 12:43
MemberDotNetting4-Mar-12 12:43 
Questionintegrate solution Pin
MemberDotNetting4-Mar-12 12:17
MemberDotNetting4-Mar-12 12:17 
AnswerRe: integrate solution Pin
Richard Andrew x644-Mar-12 13:31
professionalRichard Andrew x644-Mar-12 13:31 
AnswerRe: integrate solution Pin
Pete O'Hanlon4-Mar-12 20:35
mvePete O'Hanlon4-Mar-12 20:35 
AnswerRe: integrate solution Pin
Abhinav S4-Mar-12 21:10
Abhinav S4-Mar-12 21:10 
QuestionWPF Calendar (C#) Pin
Cazaceanu Andrei4-Mar-12 7:22
Cazaceanu Andrei4-Mar-12 7:22 
Questionlooking for binding properties dynamicly in wpf Pin
Aymane Farissi4-Mar-12 5:01
Aymane Farissi4-Mar-12 5:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.