<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Exception in starting the EntityServer</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Exception in starting the EntityServer</description>
  <pubDate>Wed, 29 Jul 2026 16:58:54 -700</pubDate>
  <lastBuildDate>Mon, 07 Mar 2011 07:18:22 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2543</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Exception in starting the EntityServer : modifying the RemoteBaseURL and...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2543&amp;PID=10121#10121</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1090" rel="nofollow">rickadams</a><br /><strong>Subject:</strong> 2543<br /><strong>Posted:</strong> 07-Mar-2011 at 7:18am<br /><br />modifying the RemoteBaseURL and Servicename to the formats you suggested has resolved the problem. I am now able to connect using the IdeaBlade.Core.IdeaBladeConfig.Instance approach. This gives us a lot more flexibility in how we manage our connections and in supporting OOB.<DIV>&nbsp;</DIV><DIV>Thanks</DIV>]]>
   </description>
   <pubDate>Mon, 07 Mar 2011 07:18:22 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2543&amp;PID=10121#10121</guid>
  </item> 
  <item>
   <title>Exception in starting the EntityServer : A Silverlight application which...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2543&amp;PID=10109#10109</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2543<br /><strong>Posted:</strong> 04-Mar-2011 at 2:51pm<br /><br />A Silverlight application which does not have either an app.config or a ServiceReferences.ClientConfig will assume that the EntityService address is from the same host as the XAP was downloaded from.&nbsp; So, if the XAP was downloaded from <a href="http://dataservices.leafdev.lbmx.com/LEAFBOS/ClientBin/" target="_blank">http://dataservices.leafdev.lbmx.com/LEAFBOS/ClientBin/</A>, then the service address default would&nbsp;be <a href="http://dataservices.leafdev.lbmx/LEAFBOS/EntityService.svc/sl" target="_blank">http://dataservices.leafdev.lbmx/LEAFBOS/EntityService.svc/sl</A>.&nbsp;&nbsp; So if this is correct you don't need to manually specify the service information to SL at all.<DIV>&nbsp;</DIV><DIV>If you do find you need or want to pass the info in the appSettings, the RemoteBaseURL and service name&nbsp;here are actually incorrect.&nbsp; We don't document this very clearly, but the RemoteBaseUrl should just be the host name, in this case <a href="http://dataservices.lbmx.com" target="_blank">"http://dataservices.lbmx.com</A>", and the service name should be "LEAFBOS/EntityService.svc/sl".&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 04 Mar 2011 14:51:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2543&amp;PID=10109#10109</guid>
  </item> 
  <item>
   <title>Exception in starting the EntityServer : defining the serviceModel settings...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2543&amp;PID=10108#10108</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1090" rel="nofollow">rickadams</a><br /><strong>Subject:</strong> 2543<br /><strong>Posted:</strong> 04-Mar-2011 at 2:06pm<br /><br />defining the serviceModel settings on both Client and Server were a result of making changes to both sides in an attempt to resolve this problem as I was not sure what was happening. I have made the changes to the IIS application name and I <DIV>can connect but only using the Servicereferences.ClientConfig on the client side </DIV><DIV>&nbsp;</DIV><DIV>&nbsp; &lt;ideablade.configuration version="6.00" xmlns="<a href="http://schemas.ideablade.com/2010/IdeaBladeC&#111;nfig" target="_blank">http://schemas.ideablade.com/2010/IdeaBladeConfig</A>"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;logging logFile="log\DebugLog.xml" /&gt;<BR>&nbsp;&nbsp; &lt;/ideablade.configuration&gt;</DIV><DIV>&nbsp; &lt;system.serviceModel&gt;</DIV><DIV>&nbsp;&nbsp;&nbsp; &lt;!-- Set aspNetCompatibilityEnabled to true to allow use of ASP.NET security features. <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set multipleSiteBindingsEnabled to true for Azure or if your web site has multiple http bindings.<BR>&nbsp;&nbsp;&nbsp; --&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;serviceHostingEnvironment aspNetCompatibilityEnabled="false" multipleSiteBindingsEnabled="false" /&gt;</DIV><DIV>&nbsp;&nbsp;&nbsp; &lt;services&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;service name="EntityService"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;endpoint address="" binding="customBinding" bindingConfiguration="compressedBinaryBinding" contract="IdeaBlade.EntityModel.IEntityServiceContract" /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;endpoint address="sl" binding="customBinding" bindingConfiguration="customBinaryBindingSL" contract="IdeaBlade.EntityModel.IEntityServiceContract" /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/service&gt;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;service name="IdeaBlade.EntityModel.Server.EntityServer"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;endpoint address="" binding="customBinding" bindingConfiguration="compressedBinaryBinding" contract="IdeaBlade.EntityModel.IEntityServerContract" /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;endpoint address="sl" binding="customBinding" bindingConfiguration="customBinaryBindingSL" contract="IdeaBlade.EntityModel.IEntityServerContract" /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/service&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/services&gt;</DIV><DIV>&nbsp;</DIV><DIV>I am now using client side code in the Silverlight app and passing in the EntityService information via initParams. I am also setting values in IsolatedStorage as I&nbsp; need to support OOB mode. Here is that web.config</DIV><DIV>&nbsp;</DIV><DIV>&lt;?xml version="1.0"?&gt;</DIV><DIV>&lt;configuration&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;system.web&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;compilation debug="true" targetFramework="4.0" /&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/system.web&gt;<BR>&nbsp; &lt;appSettings&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;add key="RemoteBaseURL" value="<a href="http://dataservices.leafdev.lbmx.com/LEAFBOS/" target="_blank">http://dataservices.leafdev.lbmx.com/LEAFBOS"/</A>&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;add key="RemoteBasePort" value="80"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;add key="RemoteBaseServiceName" value="EntityService.svc/sl"/&gt;<BR>&nbsp; &lt;/appSettings&gt;</DIV><DIV>&lt;/configuration&gt;<BR></DIV><DIV>this approach does not work using the IdeaBlade.Core.IdeaBladeConfig.Instance and setting the values from the web.config. I have found that I need to use the Servicereferences.ClientConfig on the Silverlight client. I would like to be able to set my IdeaBlade server configuration in code. Any suggestions?</DIV>]]>
   </description>
   <pubDate>Fri, 04 Mar 2011 14:06:19 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2543&amp;PID=10108#10108</guid>
  </item> 
  <item>
   <title>Exception in starting the EntityServer : We call a WCF helper methodnamed...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2543&amp;PID=10105#10105</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2543<br /><strong>Posted:</strong> 04-Mar-2011 at 12:16pm<br /><br />We call a WCF helper method&nbsp;named ServiceHostingEnvironment.EnsureServiceAvailable to start up the EntityServer service.&nbsp; It looks like this call doesn't recognize a URI with the %20 as a valid URI and is therefore throwing.<DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>I'm afraid there's no way of working around this right now.&nbsp; In the next release we'll add a fix to translate the %20 back to a space, but until then the only thing you can do is change your IIS application name.</DIV><DIV>&nbsp;</DIV><DIV>P.S. I'm curious why you're defining the serviceModel settings on both client and server - do you need to override the defaults, or has our documentation led you to believe this was necessary?</DIV>]]>
   </description>
   <pubDate>Fri, 04 Mar 2011 12:16:23 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2543&amp;PID=10105#10105</guid>
  </item> 
  <item>
   <title>Exception in starting the EntityServer : I am getting the following error...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2543&amp;PID=10104#10104</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1090" rel="nofollow">rickadams</a><br /><strong>Subject:</strong> 2543<br /><strong>Posted:</strong> 04-Mar-2011 at 11:01am<br /><br />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.<DIV>&nbsp;</DIV><DIV>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 ---&gt; 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&#091;&#093; , Object&#091;&#093; ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object&#091;&#093; inputs, Object&#091;&#093;&amp; outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)</DIV><DIV>&nbsp;</DIV><DIV>this is my ServiceReferences.ClientConfig section from my Silverlight Application</DIV><DIV>&nbsp;</DIV><DIV>&lt;configuration&gt;</DIV><DIV>&nbsp;&nbsp; &lt;system.serviceModel&gt;</DIV><DIV>&nbsp;&nbsp;&nbsp; &lt;client&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;endpoint name="EntityService"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; address="<a href="http://dataservices.leafdev.lbmx.com/LEAF" target="_blank">http://dataservices.leafdev.lbmx.com/LEAF</A> BOS/EntityService.svc/sl"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; binding="customBinding" bindingConfiguration="customBinaryBinding"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; contract="IdeaBlade.EntityModel.IEntityServiceContractAsync"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /&gt;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- EntityServer endpoint&nbsp;&nbsp;&nbsp; --&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;endpoint name="EntityServer"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; address="<a href="http://dataservices.leafdev.lbmx.com/LEAF" target="_blank">http://dataservices.leafdev.lbmx.com/LEAF</A> BOS/EntityServer.svc/sl"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; binding="customBinding" bindingConfiguration="customBinaryBinding"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; contract="IdeaBlade.EntityModel.IEntityServerContractAsync"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /&gt;</DIV><DIV>&nbsp;&nbsp;&nbsp; &lt;/client&gt;</DIV><DIV>&nbsp;</DIV><DIV>and here is my web config for my BOS server</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; &lt;serviceHostingEnvironment aspNetCompatibilityEnabled="false" multipleSiteBindingsEnabled="true" /&gt;</DIV><DIV>&nbsp;&nbsp;&nbsp; &lt;services&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;service name="EntityService"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;endpoint address="" binding="customBinding" bindingConfiguration="compressedBinaryBinding" contract="IdeaBlade.EntityModel.IEntityServiceContract" /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;endpoint address="sl" binding="customBinding" bindingConfiguration="customBinaryBindingSL" contract="IdeaBlade.EntityModel.IEntityServiceContract" /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/service&gt;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;service name="IdeaBlade.EntityModel.Server.EntityServer"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;endpoint address="" binding="customBinding" bindingConfiguration="compressedBinaryBinding" contract="IdeaBlade.EntityModel.IEntityServerContract" /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;endpoint address="sl" binding="customBinding" bindingConfiguration="customBinaryBindingSL" contract="IdeaBlade.EntityModel.IEntityServerContract" /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/service&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/services&gt;<BR></DIV>]]>
   </description>
   <pubDate>Fri, 04 Mar 2011 11:01:46 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2543&amp;PID=10104#10104</guid>
  </item> 
 </channel>
</rss>