I am getting the following error when I attempt to start my BOS server. I have included my configuration information for both client and server. The EntityService starts up but not the server. Not sure where to where to look for a solution to this.
Caught exception: IdeaBlade.EntityModel.EntityServerException: Unable to start EntityServer.svc service: The virtual path '/LEAF%20BOS/EntityServer.svc/sl' points outside of the virtual application '/LEAF BOS'. Parameter name: virtualPath ---> System.ArgumentException: The virtual path '/LEAF%20BOS/EntityServer.svc/sl' points outside of the virtual application '/LEAF BOS'. Parameter name: virtualPath at System.ServiceModel.ServiceHostingEnvironment.NormalizeVirtualPath(String virtualPath) at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailable(String virtualPath) at IdeaBlade.EntityModel.Server.RemoteEntityService.GetHostedEntityServer(String pServiceName) --- End of inner exception stack trace --- at IdeaBlade.EntityModel.Server.RemoteEntityService.GetHostedEntityServer(String pServiceName) at IdeaBlade.EntityModel.Server.RemoteEntityService.GetEntityServerName(String dataSourceExtension, String compositionContextName) at SyncInvokeGetEntityServerName(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.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
this is my ServiceReferences.ClientConfig section from my Silverlight Application
<configuration>
<system.serviceModel>
<client>
<endpoint name="EntityService"
address="
http://dataservices.leafdev.lbmx.com/LEAF BOS/EntityService.svc/sl"
binding="customBinding" bindingConfiguration="customBinaryBinding"
contract="IdeaBlade.EntityModel.IEntityServiceContractAsync"
/>
<!-- EntityServer endpoint -->
<endpoint name="EntityServer"
address="
http://dataservices.leafdev.lbmx.com/LEAF BOS/EntityServer.svc/sl"
binding="customBinding" bindingConfiguration="customBinaryBinding"
contract="IdeaBlade.EntityModel.IEntityServerContractAsync"
/>
</client>
and here is my web config for my BOS server
<serviceHostingEnvironment aspNetCompatibilityEnabled="false" multipleSiteBindingsEnabled="true" />
<services>
<service name="EntityService">
<endpoint address="" binding="customBinding" bindingConfiguration="compressedBinaryBinding" contract="IdeaBlade.EntityModel.IEntityServiceContract" />
<endpoint address="sl" binding="customBinding" bindingConfiguration="customBinaryBindingSL" contract="IdeaBlade.EntityModel.IEntityServiceContract" />
</service>
<service name="IdeaBlade.EntityModel.Server.EntityServer">
<endpoint address="" binding="customBinding" bindingConfiguration="compressedBinaryBinding" contract="IdeaBlade.EntityModel.IEntityServerContract" />
<endpoint address="sl" binding="customBinding" bindingConfiguration="customBinaryBindingSL" contract="IdeaBlade.EntityModel.IEntityServerContract" />
</service>
</services>