I finally have it installed on Windows XP (32 bit). I followed the example that's on Mr. Forte's blog. When I tried to run the service in the browser (not even linking it up to Silverlight) I get the following error:
The server encountered an error processing the request. The exception message is 'On data context type 'ImportManagementService', there is a top IQueryable property 'Batchs' whose element type is not an entity type. Make sure that the IQueryable property is of entity type or specify the IgnoreProperties attribute on the data context type to ignore this property.'. See server logs for more details. The exception stack trace is:
at System.Data.Services.Providers.ReflectionServiceProvider.PopulateMetadata(IDictionary`2 knownTypes, IDictionary`2 entitySets) at System.Data.Services.Providers.BaseServiceProvider.PopulateMetadata() at System.Data.Services.DataService`1.CreateProvider(Type dataServiceType, Object dataSourceInstance, DataServiceConfiguration& configuration) at System.Data.Services.DataService`1.EnsureProviderAndConfigForRequest() at System.Data.Services.DataService`1.ProcessRequestForMessage(Stream messageBody) at SyncInvokeProcessRequestForMessage(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
I can send the files to you but its basically Enable the Project for OA (Persist and DAL), Reverse Engineer Tables (simple ones), Create WebSite, Run DSW choose my DAL, Choose my type of service (ADO.NET DataService), Compile and then browse -- I get the above error...
Here is the generated code its complaining about:
/// <summary>
/// Gets an IQueryable of Batchs
/// </summary>
public IQueryable<DP.Import.Data.DAL.Batch> Batchs
{
get
{
return this.scope.Extent<DP.Import.Data.DAL.Batch>();
}
}
I'm running the 'updated OA' from december and the december DWS CTP...
Any help would be appreciated --
-Don