anyone succed in excuting James Conard's Expense Reporting Example Application ?

i follow the instruction in the Readme.mht,first i start the  ExpenseHost.exe ,
then i excute ExpenseApplication.exe,there is a failure on the line,
// Submit the Expense Report for approval
   Guid expenseReportId = expenseService.SubmitExpenseReport(report);

ChanelIOException was unhandled
The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error.

 anyone can help me



Answer this question

anyone succed in excuting James Conard's Expense Reporting Example Application ?

  • raju44u

    Hi !

    Even though I have already built the project, i still received the specified exception.
    The problem was the DateTime field in the ExpenseReport.
    The serialization process couldn't use the DateTime type.
    After I changed it to String type everything worked like charmed.

    Hope this helps.



  • dwee

    Sorry i forgget to build the project :=)
  • Dan Amiga

    WinFx Runtime Components has already been installed ,and the service has been already prepared,still the problem



  • CRNaik

    Hmm... I'm not sure what this could be.  It could be a problem at the Indigo layer.   Can you get any of the Windows Communication Foundation (aka "Indigo") samples to work   

    You can download the WCF samples as part of the WinFx SDK available here.


    James Conard
    Architect Evangelist - Windows Workflow Foundation
    http://www.WindowsWorkflow.net
    http://blogs.msdn.com/jamescon

     



  • Rodrigo Vieira

    Do you have the WinFx Runtime Components (September CTP version) installed  

    Also, I have noticed that sometimes it takes a while for the WCF service to start up in the console.  Wait until you see the message "The Service is Ready" in the console window before submitting an expense report. 

    Let me know if this helps. 


    James Conard
    Architect Evangelist - Windows Workflow Foundation
    http://www.WindowsWorkflow.net
    http://blogs.msdn.com/jamescon

     



  • anyone succed in excuting James Conard's Expense Reporting Example Application ?