Rolodex - Preview CompanyEditor.xaml exception

Rolodex - Preview CompanyEditor.xaml exception

Old forum URL: forums.lhotka.net/forums/t/5763.aspx


Michael Hildner posted on Friday, November 07, 2008

I'm getting an error trying to preview CompanyEditor.xaml. When I try to open it, I get the error dialog in the preview pane with the below message. This is happening in both the CS and VB samples. In addition, when I try to open with Expression Blend, it tells me "Invalid XAML" with a whole slew of errors in the results pane.

Anyone else see this/know how to fix?

Thanks,

Mike

Cannot find 'ServiceReferences.ClientConfig' in the .xap application package. This file is used to configure client proxies for web services, and allows the application to locate the services it needs. Either include this file in the application package, or modify your code to use a client proxy constructor that specifies the service address and binding explicitly. Please see inner exception for details.

sergeyb replied on Friday, November 07, 2008

Are you running VS 2008 SP 1 and Blend 2.0 SP1 with the latest SL tools installed?

 

Sergey Barskiy

Principal Consultant

office: 678.405.0687 | mobile: 404.388.1899

cid:_2_0648EA840648E85C001BBCB886257279
Microsoft Worldwide Partner of the Year | Custom Development Solutions, Technical Innovation

 

From: Michael Hildner [mailto:cslanet@lhotka.net]
Sent: Friday, November 07, 2008 11:34 AM
To: Sergey Barskiy
Subject: [CSLA .NET] Rolodex - Preview CompanyEditor.xaml exception

 

I'm getting an error trying to preview CompanyEditor.xaml. When I try to open it, I get the error dialog in the preview pane with the below message. This is happening in both the CS and VB samples. In addition, when I try to open with Expression Blend, it tells me "Invalid XAML" with a whole slew of errors in the results pane.

Anyone else see this/know how to fix?

Thanks,

Mike

Cannot find 'ServiceReferences.ClientConfig' in the .xap application package. This file is used to configure client proxies for web services, and allows the application to locate the services it needs. Either include this file in the application package, or modify your code to use a client proxy constructor that specifies the service address and binding explicitly. Please see inner exception for details.



Michael Hildner replied on Tuesday, November 11, 2008

I didn't have Blend 2 SP1 - that takes care of most of the errors, but still have one - The element "CancelButton" could not be displayed because of a problem with system.String: DP_NotValidValueForProperty. It doesn't like line 58 of that xaml -

csla:InvokeMethod.ManualEnableControl="False"

Not sure if that's why the design won't display in VS.

I do have VS 2008 SP1, Blend 2.0 SP1 and Silverlight Tools for Visual Studio 2008 SP1.

Thanks,

Mike

sergeyb replied on Tuesday, November 11, 2008

When we worked on design time support, the effort was concentrated on Blend, not VS designer.  VS designer in SL does not have a whole lot to offer to you to start with.  The checks put in to detect design time apparently are failing in VS, and it is trying to call actual data portal L.  This should probably be added to issues list, although I am not sure what priority.  As far as ManualEnable control goes, I do not quite know what is going on there.   Sounds like a Blend design time bug because the setting does work properly at run time.

 

Sergey Barskiy

Principal Consultant

office: 678.405.0687 | mobile: 404.388.1899

cid:_2_0648EA840648E85C001BBCB886257279
Microsoft Worldwide Partner of the Year | Custom Development Solutions, Technical Innovation

 

From: Michael Hildner [mailto:cslanet@lhotka.net]
Sent: Tuesday, November 11, 2008 10:30 AM
To: Sergey Barskiy
Subject: Re: [CSLA .NET] RE: Rolodex - Preview CompanyEditor.xaml exception

 

I didn't have Blend 2 SP1 - that takes care of most of the errors, but still have one - The element "CancelButton" could not be displayed because of a problem with system.String: DP_NotValidValueForProperty. It doesn't like line 58 of that xaml -

csla:InvokeMethod.ManualEnableControl="False"

Not sure if that's why the design won't display in VS.

I do have VS 2008 SP1, Blend 2.0 SP1 and Silverlight Tools for Visual Studio 2008 SP1.

Thanks,

Mike



Michael Hildner replied on Tuesday, November 11, 2008

Ok, thanks for the information. I'm not worried about this so much, just thought I'd point it out. At least I have Rolodex running - thanks for the samples.

Copyright (c) Marimer LLC