Willy,
>I am using a Remote Data Access with web services for a small resources scheduling windows applications.
>
>When the user change a schedule assignment (my Enity) he/she should press a Save button where I have the following code:
>
>private void btnSave_Click(object sender, EventArgs e)
> {
> this.oPlannedWork.SaveEntity();
> }
>This code works fine when I am working locally but when I switch to ‘webservice” remote mode everything works fine until I hit Save. I get this message:
>
>Server was unable to process request. ---> Specified cast is not valid.
>
>I understand that shouldn't be any difference at the Biz Layer level how I am accessing the Data Access Layer. Any advice?
Can you post the full stack trace you're getting with this error?
Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com