Cannot get Silverlight4 app in DPF4 to work

 
50   50
Nov 30, 2010
 
When I run the app, I get the following message

System.ServiceModel.FaultException`1 crossed a native/managed boundary
  Message=The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid.
  StackTrace:
       at System.ServiceModel.Channels.Remoting.RealProxy.Invoke(Object[] args)
       at proxy_2.EndGetCategories(IAsyncResult )
  InnerException:

Cannot view the shopping page as the Category combobox is not populated.
I am new to Silverlight and want to know how can I fix this error?

I should mention I have changed the connection string in the web.config to point to my local SQL2005 database.
Silverlight Patterns in Action.Web.csproj
    <add name="ActionEntities"
     connectionString="Data Source=MyLocalSQL2005;Initial Catalog=ActionDPF;Integrated Security=True;MultipleActiveResultSets=True"
    providerName="System.Data.SqlClient" />

Did I break something?
Or what am I missing to fix this error?



630   99.9
Dec 03, 2010
Sheir:

Quick question: You mentioned that you changed the web.config connectionstring.
Did the application run before you made any changes?

Dan.