<?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 : Push Notification Configuration</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Push Notification Configuration</description>
  <pubDate>Wed, 13 May 2026 18:19:02 -700</pubDate>
  <lastBuildDate>Fri, 30 Sep 2011 07:21:48 -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=2984</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>Push Notification Configuration : Thank you for your response, one...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2984&amp;PID=11747#11747</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1284" rel="nofollow">JamesM</a><br /><strong>Subject:</strong> 2984<br /><strong>Posted:</strong> 30-Sep-2011 at 7:21am<br /><br />Thank you for your response, one of the developers here came up with the idea of manually setting the bindings, apparantly thats the right route because it is your suggested solution as well.<div><br></div><div>making a change to the BOS's web.config to set the bindings manually:</div><div>---------------------------------------</div><div><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; color: blue; ">&lt;</span><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; color: rgb163, 21, 21; ">system.serviceModel</span><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; color: blue; ">&gt;</span></div><div><pre style="font-family: C&#111;nsolas; font-size: 13px; -: initial; -attachment: initial; -origin: initial; -clip: initial; : white; -: initial initial; -repeat: initial initial; "><span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color:#a31515;">serviceHostingEnvironment</span><span style="color:blue;">&nbsp;</span><span style="color:red;">aspNetCompatibilityEnabled</span><span style="color:blue;">=</span>"<span style="color:blue;">false</span>"<span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:red;">multipleSiteBindingsEnabled</span><span style="color:blue;">=</span>"<span style="color:blue;">true</span>"<span style="color:blue;">&nbsp;/&gt;</span><span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color:#a31515;">services</span><span style="color:blue;">&gt;</span><span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color:#a31515;">service</span><span style="color:blue;">&nbsp;</span><span style="color:red;">name</span><span style="color:blue;">=</span>"<span style="color:blue;">EntityService</span>"<span style="color:blue;">&gt;</span></pre><pre style="font-family: C&#111;nsolas; font-size: 13px; -: initial; -attachment: initial; -origin: initial; -clip: initial; : white; -: initial initial; -repeat: initial initial; "><span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color:#a31515;">endpoint</span><span style="color:blue;">&nbsp;</span><span style="color:red;">address</span><span style="color:blue;">=</span>""<span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:red;">binding</span><span style="color:blue;">=</span>"<span style="color:blue;">customBinding</span>"<span style="color:blue;">&nbsp;</span><span style="color:red;">bindingConfiguration</span><span style="color:blue;">=</span>"<span style="color:blue;">compressedBinaryBinding</span>"<span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:red;">contract</span><span style="color:blue;">=</span>"<span style="color:blue;">IdeaBlade.EntityModel.IEntityServiceContract</span>"<span style="color:blue;">&nbsp;/&gt;</span><span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color:#a31515;">service</span><span style="color:blue;">&gt;</span> <span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color:#a31515;">service</span><span style="color:blue;">&nbsp;</span><span style="color:red;">name</span><span style="color:blue;">=</span>"<span style="color:blue;">IdeaBlade.EntityModel.Server.EntityServer</span>"<span style="color:blue;">&gt;</span><span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color:#a31515;">endpoint</span><span style="color:blue;">&nbsp;</span><span style="color:red;">address</span><span style="color:blue;">=</span>""<span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:red;">binding</span><span style="color:blue;">=</span>"<span style="color:blue;">customBinding</span>"<span style="color:blue;">&nbsp;</span><span style="color:red;">bindingConfiguration</span><span style="color:blue;">=</span>"<span style="color:blue;">compressedBinaryBinding</span>"<span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:red;">contract</span><span style="color:blue;">=</span>"<span style="color:blue;">IdeaBlade.EntityModel.IEntityServerContract</span>"<span style="color:blue;">&nbsp;/&gt;</span></pre><pre style="font-family: C&#111;nsolas; font-size: 13px; -: initial; -attachment: initial; -origin: initial; -clip: initial; : white; -: initial initial; -repeat: initial initial; "><span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color:#a31515;">endpoint</span><span style="color:blue;">&nbsp;</span><span style="color:red;">address</span><span style="color:blue;">=</span>"<span style="color:blue;">NotificationService</span>"<span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:red;">binding</span><span style="color:blue;">=</span>"<span style="color:blue;">wsDualHttpBinding</span>"<span style="color:blue;">&nbsp;</span><span style="color:red;">bindingConfiguration</span><span style="color:blue;">=</span>"<span style="color:blue;">dualBinding</span>"<span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:red;">contract</span><span style="color:blue;">=</span>"<span style="color:blue;">IdeaBlade.EntityModel.INotificationService</span>"<span style="color:blue;">&nbsp;/&gt;</span> <span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color:#a31515;">service</span><span style="color:blue;">&gt;</span><span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color:#a31515;">services</span><span style="color:blue;">&gt;</span><span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color:#a31515;">bindings</span><span style="color:blue;">&gt;</span> <span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color:#a31515;">customBinding</span><span style="color:blue;">&gt;</span> <span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color:#a31515;">binding</span><span style="color:blue;">&nbsp;</span><span style="color:red;">name</span><span style="color:blue;">=</span>"<span style="color:blue;">compressedBinaryBinding</span>"<span style="color:blue;">&gt;</span><span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color:#a31515;">gzipMessageEncoding</span><span style="color:blue;">&gt;</span><span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color:#a31515;">readerQuotas</span><span style="color:blue;">&nbsp;</span><span style="color:red;">maxDepth</span><span style="color:blue;">=</span>"<span style="color:blue;">2147483647</span>"<span style="color:blue;">&nbsp;</span><span style="color:red;">maxStringContentLength</span><span style="color:blue;">=</span>"<span style="color:blue;">2147483647</span>"<span style="color:blue;">&nbsp;</span><span style="color:red;">maxArrayLength</span><span style="color:blue;">=</span>"<span style="color:blue;">2147483647</span>"<span style="color:blue;">&nbsp;/&gt;</span><span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color:#a31515;">gzipMessageEncoding</span><span style="color:blue;">&gt;</span><span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color:#a31515;">httpTransport</span><span style="color:blue;">&nbsp;</span><span style="color:red;">maxReceivedMessageSize</span><span style="color:blue;">=</span>"<span style="color:blue;">2147483647</span>"<span style="color:blue;">&nbsp;/&gt;</span><span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color:#a31515;">binding</span><span style="color:blue;">&gt;</span> <span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color:#a31515;">customBinding</span><span style="color:blue;">&gt;</span> <span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color:#a31515;">wsDualHttpBinding</span><span style="color:blue;">&gt;</span><span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color:#a31515;">binding</span><span style="color:blue;">&nbsp;</span><span style="color:red;">name</span><span style="color:blue;">=</span>"<span style="color:blue;">dualBinding</span>"<span style="color:blue;">&nbsp;</span><span style="color:red;">messageEncoding</span><span style="color:blue;">=</span>"<span style="color:blue;">Mtom</span>"<span style="color:blue;">&nbsp;&nbsp;</span><span style="color:red;">maxReceivedMessageSize</span><span style="color:blue;">=</span>"<span style="color:blue;">2147483647</span>"<span style="color:blue;">&nbsp;&nbsp;&gt;</span><span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color:#a31515;">security</span><span style="color:blue;">&nbsp;</span><span style="color:red;">mode</span><span style="color:blue;">=</span>"<span style="color:blue;">None</span>"<span style="color:blue;">&nbsp;&nbsp;/&gt;</span><span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color:#a31515;">binding</span><span style="color:blue;">&gt;</span><span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color:#a31515;">wsDualHttpBinding</span><span style="color:blue;">&gt;</span> <span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color:#a31515;">bindings</span><span style="color:blue;">&gt;</span> <span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color:#a31515;">extensions</span><span style="color:blue;">&gt;</span><span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color:#a31515;">bindingElementExtensions</span><span style="color:blue;">&gt;</span><span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color:#a31515;">add</span><span style="color:blue;">&nbsp;</span><span style="color:red;">name</span><span style="color:blue;">=</span>"<span style="color:blue;">gzipMessageEncoding</span>"<span style="color:blue;">&nbsp;</span><span style="color:red;">type</span><span style="color:blue;">=</span>"<span style="color:blue;">IdeaBlade.Core.Wcf.Extensions.GZipMessageEncodingElement,&nbsp;IdeaBlade.Core</span>"<span style="color:blue;">/&gt;</span><span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color:#a31515;">bindingElementExtensions</span><span style="color:blue;">&gt;</span> <span style="color:blue;">&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color:#a31515;">extensions</span><span style="color:blue;">&gt;</span><span style="color:blue;">&nbsp;&nbsp;&lt;/</span><span style="color:#a31515;">system.serviceModel</span><span style="color:blue;">&gt;</span></pre></div><div>---------------------------------------</div><div><br></div><div>as well as commenting out "<span style=": rgb251, 251, 253; text-align: left; font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; ">System.Web.Hosting.</span><span style=": rgb251, 251, 253; text-align: left; font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; ">HostingEnvironment</span><span style=": rgb251, 251, 253; text-align: left; font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; ">.RegisterVirtualPathProvider(</span><span style=": rgb251, 251, 253; text-align: left; font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; color: blue; ">new</span><span style=": rgb251, 251, 253; text-align: left; font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; ">&nbsp;IdeaBlade.EntityModel.Web.</span><span style=": rgb251, 251, 253; text-align: left; font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; ">ServiceVirtualPathProvider</span><span style=": rgb251, 251, 253; text-align: left; font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; ">());</span>" in the global.asax file<br><br>we are currently testing this setup but it seems to be working, &nbsp;however I am curious on the need to manually set up the bindings when switching the BOS over to port 80 from the demo 9009 port. &nbsp;I may go as far as agree with your suspicious that it is a bug.</div>]]>
   </description>
   <pubDate>Fri, 30 Sep 2011 07:21:48 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2984&amp;PID=11747#11747</guid>
  </item> 
  <item>
   <title>Push Notification Configuration :  Hi James,Do you actually intend...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2984&amp;PID=11744#11744</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 2984<br /><strong>Posted:</strong> 29-Sep-2011 at 5:50pm<br /><br />Hi James,<div><br></div><div>Do you actually intend to use the Push Service over https?</div><div>If not, you could try creating a new web site on IIS only binding http to it, and deploy your app there.</div><div><br></div><div>Or, if you intend to use https or just don't want to create a new web site on IIS, then you could try setting the endpoint bindings manually. You will find sample N-Tier config files in the <a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/code-sample-c&#111;nfigurati&#111;n-files" target="_blank">DevForce Resource Center</a>.</div><div><br></div><div>I am investigating the problem you stated and suspect it might be a bug with the default config.&nbsp;</div><div>I will keep you updated.</div><div><br></div><div>Regards,</div><div>&nbsp; &nbsp;Silvio.</div><span style="font-size:10px"><br /><br />Edited by sbelini - 29-Sep-2011 at 5:54pm</span>]]>
   </description>
   <pubDate>Thu, 29 Sep 2011 17:50:03 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2984&amp;PID=11744#11744</guid>
  </item> 
  <item>
   <title>Push Notification Configuration :  Update:I used the demo application...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2984&amp;PID=11741#11741</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1284" rel="nofollow">JamesM</a><br /><strong>Subject:</strong> 2984<br /><strong>Posted:</strong> 29-Sep-2011 at 10:16am<br /><br />Update:<div><br></div><div>I used the demo application and got it working on port 9009 (using 9012 as notification port) and from the debug.log on the server it spits back these messages:</div><div>-----------------</div><div>IdeaBlade.EntityModel.ServerEntityServerHostFactory::CreateServiceHostEntityServer listening on http://MyDomain:9009/WpfApplication1Web_deploy/EntityServer.svc</div><div><br></div><div>&nbsp;IdeaBlade.EntityModel.ServerEntityServerHostFactory::CreateServiceHostEntityServer listening on http://MyDomain:9009/WpfApplication1Web_deploy/EntityServer.svc/sl</div><div>------------------</div><div><br></div><div>and then once i make a subscription call it posts</div><div><br></div><div>---------</div><div><div>&nbsp;IdeaBlade.EntityModel.Server EntityServerHostFactory::CreateServiceHost EntityServer listening on http://MyDomain:9009/WpfApplication1Web_deploy/EntityServer.svc/NotificationService</div><div>------------------</div></div><div><br></div><div>and send notifications just fine.</div><div><br></div><div>but when I switch the boss over to port 80 (still using 9012 as notification port) the debug.log spits back:</div><div>-----------------</div><div>IdeaBlade.EntityModel.ServerEntityServerHostFactory::CreateServiceHostEntityServer listening on http://MyDomain/WpfApplication1Web_deploy/EntityServer.svc&nbsp;</div><div><br></div><div>IdeaBlade.EntityModel.ServerEntityServerHostFactory::CreateServiceHostEntityServer listening on http://MyDomain/WpfApplication1Web_deploy/EntityServer.svc/sl&nbsp;</div><div><br></div><div>IdeaBlade.EntityModel.ServerEntityServerHostFactory::CreateServiceHostEntityServer listening on https://MyDomain/WpfApplication1Web_deploy/EntityServer.svc&nbsp;</div><div><br></div><div>IdeaBlade.EntityModel.ServerEntityServerHostFactory::CreateServiceHostEntityServer listening on https://MyDomain/WpfApplication1Web_deploy/EntityServer.svc/sl&nbsp;</div><div><br></div><div>IdeaBlade.EntityModel.ServerEntityServerHostFactory::CreateServiceHostEntityServer listening on http://MyDomain/WpfApplication1Web_deploy/EntityServer.svc/NotificationService&nbsp;</div><div><br></div><div>IdeaBlade.EntityModel.ServerEntityServerHostFactory::CreateServiceHostEntityServer listening on http://MyDomain/WpfApplication1Web_deploy/EntityServer.svc/NotificationService</div><div>-----------------</div><div><br></div><div>And then throws the exception from my first post. &nbsp;both in the demo and in my actually application I am using the default Global.asax:</div><div><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; ">System.Web.Hosting.</span><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; color: rgb43, 145, 175; ">HostingEnvironment</span><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; ">.RegisterVirtualPathProvider(</span><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; color: blue; ">new</span><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; ">&nbsp;IdeaBlade.EntityModel.Web.</span><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; color: rgb43, 145, 175; ">ServiceVirtualPathProvider</span><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; ">());&nbsp;</span></div><span style="font-size:10px"><br /><br />Edited by JamesM - 29-Sep-2011 at 10:17am</span>]]>
   </description>
   <pubDate>Thu, 29 Sep 2011 10:16:46 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2984&amp;PID=11741#11741</guid>
  </item> 
  <item>
   <title>Push Notification Configuration : I am using 6.0.6.0While attempting...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2984&amp;PID=11730#11730</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1284" rel="nofollow">JamesM</a><br /><strong>Subject:</strong> 2984<br /><strong>Posted:</strong> 28-Sep-2011 at 2:52pm<br /><br /><div style="margin-left: 1px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; line-height: 1.4; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-: initial; -: n&#111;ne; ">I am using 6.0.6.0<div><br></div><div>While attempting to set up Push notifications on our existing BOS I recieve the following error message when trying to connect my entitymanger to the BOS. &nbsp;Specific details such and namespaces/connection strings redacted.</div><div><br></div><div>------------------------</div><div><div>IdeaBlade.EntityModel.EntityServerConnectionException: Unable to start EntityServer.svc service: The service '/MyDomain.BOS.Internal/EntityServer.svc' cannot be activated due to an exception during compilation. &nbsp;The exception message is: A binding instance has already been associated to listen URI 'http://Localhost/MyDomain.BOS.Internal/EntityServer.svc/NotificationService'. If two endpoints want to share the same ListenUri, they must also share the same binding object instance. The two conflicting endpoints were either specified in AddServiceEndpoint() calls, in a config file, or a combination of AddServiceEndpoint() and config. . ---&gt; System.ServiceModel.FaultException`1&#091;IdeaBlade.EntityModel.EntityServerFault&#093;: Unable to start EntityServer.svc service: The service '/MyDomain.BOS.Internal/EntityServer.svc' cannot be activated due to an exception during compilation. &nbsp;The exception message is: A binding instance has already been associated to listen URI 'http://Localhost/MyDomain.BOS.Internal/EntityServer.svc/NotificationService'. If two endpoints want to share the same ListenUri, they must also share the same binding object instance. The two conflicting endpoints were either specified in AddServiceEndpoint() calls, in a config file, or a combination of AddServiceEndpoint() and config. .</div><div><br></div><div>Server stack trace:&nbsp;</div><div>&nbsp; &nbsp;at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc&amp; rpc)</div><div>&nbsp; &nbsp;at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object&#091;&#093; ins, Object&#091;&#093; outs, TimeSpan timeout)</div><div>&nbsp; &nbsp;at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object&#091;&#093; ins, Object&#091;&#093; outs)</div><div>&nbsp; &nbsp;at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)</div><div>&nbsp; &nbsp;at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)</div><div><br></div><div>Exception rethrown at &#091;0&#093;:&nbsp;</div><div>&nbsp; &nbsp;at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)</div><div>&nbsp; &nbsp;at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)</div><div>&nbsp; &nbsp;at IdeaBlade.EntityModel.IEntityServiceContract.GetEntityServerName(String dataSourceExtension, String compositionContextName)</div><div>&nbsp; &nbsp;at IdeaBlade.EntityModel.RemoteEntityServiceProxy.GetEntityServerName(String dataSourceExtension, String compositionContextName)</div><div>&nbsp; &nbsp;at IdeaBlade.EntityModel.RemoteEntityServerProxyBase.Connect(ConnectAction action)</div><div>&nbsp; &nbsp;--- End of inner exception stack trace ---</div><div>&nbsp; &nbsp;at IdeaBlade.EntityModel.EntityManager.HandleEntityServerException(Exception ex, Boolean tryToHandle, PersistenceOperation operation, Boolean throwOnError)</div><div>&nbsp; &nbsp;at IdeaBlade.EntityModel.EntityManager.Connect()</div><div>&nbsp; &nbsp;at IdeaBlade.EntityModel.EntityManager.ConnectImplicit()</div><div>&nbsp; &nbsp;at IdeaBlade.EntityModel.EntityManager..ctor(EntityManagerContext context)</div><div>&nbsp; &nbsp;at IdeaBlade.EntityModel.EntityManager..ctor(Boolean shouldConnect, String dataSourceExtension, EntityServiceOption entityServiceOption, String compositionContextName)</div><div>&nbsp; &nbsp;at MyNameSpace.DomainModel.MyNameSpaceEntities..ctor(Boolean shouldConnect, String dataSourceExtension, EntityServiceOption entityServiceOption, String compositionContextName) in E:\MyNameSpace\Working\Projects\MyNameSpace.DomainModel\MyNameSpaceEntities.IB.Designer.cs:line 34</div><div>&nbsp; &nbsp;at MyNameSpace.DomainModel.Helper_Objects.ManagerSingleton.Nested..ctor(EventHandler`1 LookupInfoCompleted, Boolean loadsLookups) in E:\MyNameSpace\Working\Projects\MyNameSpace.DomainModel\Helper Objects\ManagerSingleton.cs:line 47</div><div>&nbsp; &nbsp;at MyNameSpace.Client.WPF.Module.ViewModels.DashboardViewModel.MakeSingleton() in E:\MyNameSpace\Working\Projects\MyNameSpace.Client.WPF.Module\ViewModels\DashboardVMLogic.cs:line 67</div></div><div>------------------------</div><div><br></div><div>my configuration for my client is as follows:</div><div>-----------------------------</div><div><div><pre style="font-family: C&#111;nsolas; font-size: 13px; -: initial; -attachment: initial; -origin: initial; -clip: initial; : white; "><span style="color: blue; ">&lt;</span><span style="color: rgb163, 21, 21; ">configuration</span><span style="color: blue; ">&gt;</span><span style="color: blue; ">&nbsp;&nbsp;</span><span style="color: blue; ">&nbsp;&nbsp;&lt;</span><span style="color: rgb163, 21, 21; ">configSections</span><span style="color: blue; ">&gt;</span><span style="color: blue; ">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: rgb163, 21, 21; ">section</span><span style="color: blue; ">&nbsp;</span><span style="color: red; ">name</span><span style="color: blue; ">=</span>"<span style="color: blue; ">ideablade.configuration</span>"<span style="color: blue; ">&nbsp;</span><span style="color: red; ">type</span><span style="color: blue; ">=</span>"<span style="color: blue; ">IdeaBlade.Core.Configuration.IdeaBladeSection,&nbsp;IdeaBlade.Core,&nbsp;Version=6.0.4.0,&nbsp;Culture=neutral,&nbsp;PublicKeyToken=287b5094865421c0</span>"<span style="color: blue; ">/&gt;</span> <span style="color: blue; ">&nbsp;&nbsp;&lt;/</span><span style="color: rgb163, 21, 21; ">configSections</span><span style="color: blue; ">&gt;</span><span style="color: blue; ">&nbsp;&nbsp;&lt;</span><span style="color: rgb163, 21, 21; ">connectionStrings</span><span style="color: blue; ">&gt;</span><span style="color: blue; ">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: rgb163, 21, 21; ">add</span><span style="color: blue; ">&nbsp;</span><span style="color: red; ">name</span><span style="color: blue; ">=</span>"<span style="color: blue; ">CS_InstanceStore</span>"<span style="color: blue; ">&nbsp;</span><span style="color: red; ">connectionString</span><span style="color: blue; ">=</span>"<span style="color: blue; ">.....</span>"<span style="color: blue; ">/&gt;</span><span style="color: blue; ">&nbsp;&nbsp;&lt;/</span><span style="color: rgb163, 21, 21; ">connectionStrings</span><span style="color: blue; ">&gt;</span> <span style="color: blue; ">&nbsp;&nbsp;&lt;</span><span style="color: rgb163, 21, 21; ">ideablade.configuration</span><span style="color: blue; ">&nbsp;</span><span style="color: red; ">version</span><span style="color: blue; ">=</span>"<span style="color: blue; ">6.00</span>"<span style="color: blue; ">&nbsp;</span><span style="color: red; ">xmlns</span><span style="color: blue; ">=</span>"<span style="color: blue; ">http://schemas.ideablade.com/2010/IdeaBladeConfig</span>"<span style="color: blue; ">&gt;</span> <span style="color: blue; ">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: rgb163, 21, 21; ">logging</span><span style="color: blue; ">&nbsp;</span><span style="color: red; ">logFile</span><span style="color: blue; ">=</span>"<span style="color: blue; ">DebugLog.xml</span>"<span style="color: blue; ">/&gt;</span> <span style="color: blue; ">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: blue; ">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: rgb163, 21, 21; ">objectServer</span><span style="color: blue; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: red; ">remoteBaseURL</span><span style="color: blue; ">=</span>"<span style="color: blue; ">http://localhost</span>"<span style="color: blue; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: red; ">serverPort</span><span style="color: blue; ">=</span>"<span style="color: blue; ">80</span>"<span style="color: blue; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: red; ">serviceName</span><span style="color: blue; ">=</span>"<span style="color: blue; ">MyDomain.BOS.Internal\EntityService.svc</span>"<span style="color: blue; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;</span><span style="color: blue; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: rgb163, 21, 21; ">clientSettings</span><span style="color: blue; ">&nbsp;</span><span style="color: red; ">isDistributed</span><span style="color: blue; ">=</span>"<span style="color: blue; ">true</span>"<span style="color: blue; ">&nbsp;/&gt;</span><span style="color: blue; ">&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: rgb163, 21, 21; ">objectServer</span><span style="color: blue; ">&gt;</span> <span style="color: blue; ">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: rgb163, 21, 21; ">notificationService</span><span style="color: blue; ">&nbsp;</span><span style="color: red; ">clientPort</span><span style="color: blue; ">=</span>"<span style="color: blue; ">9012</span>"<span style="color: blue; ">/&gt;</span> <span style="color: blue; ">&nbsp;&nbsp;&lt;/</span><span style="color: rgb163, 21, 21; ">ideablade.configuration</span><span style="color: blue; ">&gt;</span> <span style="color: blue; ">&nbsp;&nbsp;&lt;</span><span style="color: rgb163, 21, 21; ">startup</span><span style="color: blue; ">&gt;</span><span style="color: blue; ">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: rgb163, 21, 21; ">supportedRuntime</span><span style="color: blue; ">&nbsp;</span><span style="color: red; ">version</span><span style="color: blue; ">=</span>"<span style="color: blue; ">v4.0</span>"<span style="color: blue; ">&nbsp;</span><span style="color: red; ">sku</span><span style="color: blue; ">=</span>"<span style="color: blue; ">.NETFramework,Version=v4.0</span>"<span style="color: blue; ">/&gt;</span><span style="color: blue; ">&nbsp;&nbsp;&lt;/</span><span style="color: rgb163, 21, 21; ">startup</span><span style="color: blue; ">&gt;</span><span style="color: blue; ">&lt;/</span><span style="color: rgb163, 21, 21; ">configuration</span><span style="color: blue; ">&gt;</span></pre></div></div><div>---------------------------------</div><div><br></div><div>my configuration for my bos is as follows</div><div>------------------------------------------------</div><div><pre style="-: initial; -attachment: initial; -origin: initial; -clip: initial; : white; "><pre style="font-family: C&#111;nsolas; font-size: 13px; -: initial; -attachment: initial; -origin: initial; -clip: initial; : white; "><span style="color: blue; ">&lt;?</span><span style="color: rgb163, 21, 21; ">xml</span><span style="color: blue; ">&nbsp;</span><span style="color: red; ">version</span><span style="color: blue; ">=</span>"<span style="color: blue; ">1.0</span>"<span style="color: blue; ">?&gt;</span><span style="color: blue; ">&lt;</span><span style="color: rgb163, 21, 21; ">configuration</span><span style="color: blue; ">&gt;</span><span style="color: blue; ">&nbsp;&nbsp;&lt;</span><span style="color: rgb163, 21, 21; ">configSections</span><span style="color: blue; ">&gt;</span><span style="color: blue; ">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: rgb163, 21, 21; ">section</span><span style="color: blue; ">&nbsp;</span><span style="color: red; ">name</span><span style="color: blue; ">=</span>"<span style="color: blue; ">ideablade.configuration</span>"<span style="color: blue; ">&nbsp;</span><span style="color: red; ">type</span><span style="color: blue; ">=</span>"<span style="color: blue; ">IdeaBlade.Core.Configuration.IdeaBladeSection,&nbsp;IdeaBlade.Core</span>"<span style="color: blue; ">/&gt;</span><span style="color: blue; ">&nbsp;&nbsp;&lt;/</span><span style="color: rgb163, 21, 21; ">configSections</span><span style="color: blue; ">&gt;</span> <span style="color: blue; ">&nbsp;&nbsp;&lt;</span><span style="color: rgb163, 21, 21; ">connectionStrings</span><span style="color: blue; ">&gt;</span> <span style="color: blue; ">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: rgb163, 21, 21; ">add</span><span style="color: blue; ">&nbsp;</span><span style="color: red; ">name</span><span style="color: blue; ">=</span>"<span style="color: blue; ">MyDomainEntities</span>"<span style="color: blue; ">&nbsp;</span><span style="color: red; ">connectionString</span><span style="color: blue; ">=</span>"<span style="color: blue; ">...</span>"<span style="color: blue; ">&nbsp;/&gt;</span> <span style="color: blue; ">&nbsp;&nbsp;&lt;/</span><span style="color: rgb163, 21, 21; ">connectionStrings</span><span style="color: blue; ">&gt;</span> <span style="color: blue; ">&nbsp;&nbsp;&lt;</span><span style="color: rgb163, 21, 21; ">ideablade.configuration</span><span style="color: blue; ">&nbsp;</span><span style="color: red; ">version</span><span style="color: blue; ">=</span>"<span style="color: blue; ">6.00</span>"<span style="color: blue; ">&nbsp;</span><span style="color: red; ">xmlns</span><span style="color: blue; ">=</span>"<span style="color: blue; ">http://schemas.ideablade.com/2010/IdeaBladeConfig</span>"<span style="color: blue; ">&nbsp;&gt;</span> <span style="color: blue; ">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: rgb163, 21, 21; ">logging</span><span style="color: blue; ">&nbsp;</span><span style="color: red; ">logFile</span><span style="color: blue; ">=</span>"<span style="color: blue; ">log\DebugLog.xml</span>"<span style="color: blue; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: red; ">archiveLogs</span><span style="color: blue; ">=</span>"<span style="color: blue; ">true</span>"<span style="color: blue; ">/&gt;</span> <span style="color: blue; ">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: rgb163, 21, 21; ">notificationService</span><span style="color: blue; ">&nbsp;</span><span style="color: red; ">enabled</span><span style="color: blue; ">=</span>"<span style="color: blue; ">false</span>"<span style="color: blue; ">/&gt;</span> <span style="color: blue; ">&nbsp;&nbsp;&lt;/</span><span style="color: rgb163, 21, 21; ">ideablade.configuration</span><span style="color: blue; ">&gt;</span> <span style="color: blue; ">&nbsp;&nbsp;&lt;</span><span style="color: rgb163, 21, 21; ">system.serviceModel</span><span style="color: blue; ">&gt;</span> <span style="color: blue; ">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: rgb163, 21, 21; ">serviceHostingEnvironment</span><span style="color: blue; ">&nbsp;</span><span style="color: red; ">aspNetCompatibilityEnabled</span><span style="color: blue; ">=</span>"<span style="color: blue; ">false</span>"<span style="color: blue; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: red; ">multipleSiteBindingsEnabled</span><span style="color: blue; ">=</span>"<span style="color: blue; ">true</span>"<span style="color: blue; ">&nbsp;/&gt;</span><span style="color: blue; ">&nbsp;&nbsp;&lt;/</span><span style="color: rgb163, 21, 21; ">system.serviceModel</span><span style="color: blue; ">&gt;</span> <span style="color: blue; ">&nbsp;&nbsp;&lt;</span><span style="color: rgb163, 21, 21; ">system.web</span><span style="color: blue; ">&gt;</span><span style="color: blue; ">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: rgb163, 21, 21; ">compilation</span><span style="color: blue; ">&nbsp;</span><span style="color: red; ">debug</span><span style="color: blue; ">=</span>"<span style="color: blue; ">true</span>"<span style="color: blue; ">&nbsp;</span><span style="color: red; ">targetFramework</span><span style="color: blue; ">=</span>"<span style="color: blue; ">4.0</span>"<span style="color: blue; ">&nbsp;/&gt;</span><span style="color: blue; ">&nbsp;&nbsp;&lt;/</span><span style="color: rgb163, 21, 21; ">system.web</span><span style="color: blue; ">&gt;</span> <span style="color: blue; ">&lt;/</span><span style="color: rgb163, 21, 21; ">configuration</span><span style="color: blue; ">&gt;</span></pre><pre style="font-family: C&#111;nsolas; font-size: 13px; -: initial; -attachment: initial; -origin: initial; -clip: initial; : white; "><span style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px; white-space: normal; ">------------------------------------------------</span></pre></pre></div><div><br></div><div><br></div><div>The app builds runs and im able to do normal operations, until I switch&nbsp;<span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; color: blue; ">&lt;</span><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; color: rgb163, 21, 21; ">notificationService</span><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; color: blue; ">&nbsp;</span><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; color: red; ">enabled</span><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; color: blue; ">=</span><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; ">"</span><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; color: blue; ">false</span><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; ">"</span><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; color: blue; ">/&gt;</span>&nbsp;to&nbsp;<span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; color: blue; ">&lt;</span><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; color: rgb163, 21, 21; ">notificationService</span><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; color: blue; ">&nbsp;</span><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; color: red; ">enabled</span><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; color: blue; ">=</span><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; ">"</span><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; color: blue; ">True</span><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; ">"</span><span style="font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; color: blue; ">/&gt; </span>then I get the above error message and stacktrace.&nbsp;</div><div><br>I'm sure I have just missed a small piece of configuration somewhere.</div><div><br></div><div>Thankyou in advance.</div></div>]]>
   </description>
   <pubDate>Wed, 28 Sep 2011 14:52:32 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2984&amp;PID=11730#11730</guid>
  </item> 
 </channel>
</rss>