<?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 : Remote Persistence</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Remote Persistence</description>
  <pubDate>Wed, 10 Jun 2026 12:53:25 -700</pubDate>
  <lastBuildDate>Tue, 28 Jul 2009 12:58:57 -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=1393</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>Remote Persistence : Works! Thanks :)  </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1393&amp;PID=5048#5048</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=449" rel="nofollow">smi-mark</a><br /><strong>Subject:</strong> 1393<br /><strong>Posted:</strong> 28-Jul-2009 at 12:58pm<br /><br />Works! Thanks :)]]>
   </description>
   <pubDate>Tue, 28 Jul 2009 12:58:57 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1393&amp;PID=5048#5048</guid>
  </item> 
  <item>
   <title>Remote Persistence : Perfect! I will try it out soon...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1393&amp;PID=5047#5047</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=449" rel="nofollow">smi-mark</a><br /><strong>Subject:</strong> 1393<br /><strong>Posted:</strong> 28-Jul-2009 at 11:59am<br /><br />Perfect! I will try it out soon and let you know.<br><br>Thanks for the help Kim!<br>]]>
   </description>
   <pubDate>Tue, 28 Jul 2009 11:59:07 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1393&amp;PID=5047#5047</guid>
  </item> 
  <item>
   <title>Remote Persistence : Thanks, that cleared things up.  The...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1393&amp;PID=5044#5044</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> 1393<br /><strong>Posted:</strong> 28-Jul-2009 at 10:14am<br /><br />Thanks, that cleared things up.<DIV>&nbsp;</DIV><DIV>The problem is due to changes in how the ILoginCredential serializes.&nbsp; If you mark your custom LoginManagerCredential class as Serializable this will fix the problem.</DIV><DIV>&nbsp;</DIV><DIV>In 3.6.7, to fix other problems, we now serialize the ILoginCredential when storing it in the SessionBundle,&nbsp;so the ILoginCredential implementation must now be serializable.&nbsp; The standard LoginCredential is decorated with the Serializable attribute, and we should be documenting somewhere - although a quick check isn't finding where - that this is always required for a credential, not just when using a BOS.</DIV><DIV>&nbsp;</DIV><DIV>(The reason you see a remote connection attempt is because error handling for serialization exceptions thrown during certain calls, like Login, assumes that this occurred while communicating with the BOS,&nbsp;so reconnect logic is tried.)&nbsp; </DIV>]]>
   </description>
   <pubDate>Tue, 28 Jul 2009 10:14:58 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1393&amp;PID=5044#5044</guid>
  </item> 
  <item>
   <title>Remote Persistence : Hi Kim,Sent to that email with...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1393&amp;PID=5043#5043</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=449" rel="nofollow">smi-mark</a><br /><strong>Subject:</strong> 1393<br /><strong>Posted:</strong> 27-Jul-2009 at 1:58pm<br /><br />Hi Kim,<br><br>Sent to that email with "3.7 LoginManager Issue" as subject<br><br>Thanks!<br>]]>
   </description>
   <pubDate>Mon, 27 Jul 2009 13:58:01 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1393&amp;PID=5043#5043</guid>
  </item> 
  <item>
   <title>Remote Persistence : Setting the CurrentPrincipal shouldn&amp;#039;t...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1393&amp;PID=5032#5032</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> 1393<br /><strong>Posted:</strong> 25-Jul-2009 at 5:15pm<br /><br />Setting the CurrentPrincipal shouldn't be an issue, but helps explain why the new&nbsp;username is showing in the log.&nbsp; <DIV>&nbsp;</DIV><DIV>How about your ILoginCredential - do you by any chance have a&nbsp;PersistenceManager field or property defined in it?</DIV><DIV>&nbsp;</DIV><DIV>I'd still really like to see your LoginManager ...</DIV>]]>
   </description>
   <pubDate>Sat, 25 Jul 2009 17:15:08 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1393&amp;PID=5032#5032</guid>
  </item> 
  <item>
   <title>Remote Persistence : Could it be because our login...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1393&amp;PID=5031#5031</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=449" rel="nofollow">smi-mark</a><br /><strong>Subject:</strong> 1393<br /><strong>Posted:</strong> 25-Jul-2009 at 5:09pm<br /><br />Could it be because our login manger is explicitly setting the Thread.CurrentPrincipal? All it is doing is setting the principal and returning a 'UserPrincipal' object (Which is just a basic implementation of IPrincipal) with the credentials contained inside. <br><br>If you think that could be the issue I could upgrade back to 3.7 again and try.<br>]]>
   </description>
   <pubDate>Sat, 25 Jul 2009 17:09:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1393&amp;PID=5031#5031</guid>
  </item> 
  <item>
   <title>Remote Persistence : Very curious.   For one, it&amp;#039;s...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1393&amp;PID=5030#5030</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> 1393<br /><strong>Posted:</strong> 25-Jul-2009 at 4:40pm<br /><br />Very curious.&nbsp; <DIV>&nbsp;</DIV><DIV>For one, it's odd to see the UI binders message right in the middle of all of this.&nbsp; Is this application multi-threaded?</DIV><DIV>&nbsp;</DIV><DIV>For another, DevForce doesn't set the Thread.CurrentPrincipal until after the Login completes, yet we see the new principal ("sa") here in the final trace messages apparently occuring during login.</DIV><DIV>&nbsp;</DIV><DIV>Can you post the LoginManager code here, or email to <a href="mailto:ideabladesupporttrack@ideablade.com" target="_blank">mailto:ideabladesupporttrack@ideablade.com</A>?</DIV>]]>
   </description>
   <pubDate>Sat, 25 Jul 2009 16:40:05 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1393&amp;PID=5030#5030</guid>
  </item> 
  <item>
   <title>Remote Persistence : Hi Kim,Thank&amp;#039;s for the reply...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1393&amp;PID=5027#5027</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=449" rel="nofollow">smi-mark</a><br /><strong>Subject:</strong> 1393<br /><strong>Posted:</strong> 24-Jul-2009 at 9:04pm<br /><br />Hi Kim,<br><br>Thank's for the reply I am using a custom credential yes, but as the login is all done client side (The login manager just builds the connection string based on users choice of windows/sql authentication). I'm simply calling login with the credential, and that doesn't return - it throw's that exception saying it cant connect to "//:443" (I don't have a host specified in the config file and remotepersistence is set to false). RIGHT before the login call I did an assert of the RemotePersitenceEnabled and the PersistenceServiceOption which are set to false/local respectively. <br><br>It's very strange!!<br>]]>
   </description>
   <pubDate>Fri, 24 Jul 2009 21:04:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1393&amp;PID=5027#5027</guid>
  </item> 
  <item>
   <title>Remote Persistence : There weren&amp;#039;t really all...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1393&amp;PID=5026#5026</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> 1393<br /><strong>Posted:</strong> 24-Jul-2009 at 7:15pm<br /><br />There weren't really all that many changes between versions 3.6.6 and 3.6.7 and none should have had anything to do with the remoting layer.&nbsp; Are you using a custom ILoginCredential with your LoginManager? The ILoginCredential now serializes differently, but that wouldn't seem to cause the issue you're seeing. <DIV>&nbsp;</DIV><DIV>Are all the log messages for username="sa" generated AFTER the pm.Login call completes, or are they coming from within your LoginManager code?</DIV><DIV>&nbsp;</DIV><DIV><DIV>There really shouldn't be anything that would cause the remoting code to be spontaneously entered.&nbsp; Here are a couple of things to look for - </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;- Are you using the RemotingPersistenceService anywhere within your code - accessing the RemoteInstance property or calling Reconnect()?</DIV></DIV><DIV>&nbsp;</DIV><DIV>- Do you modify the in-memory IdeaBladeConfig at any time?</DIV><DIV>&nbsp;</DIV><DIV>- Are you using reflection to access the RemotingPersistenceServerProxy to call Reconnect?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 24 Jul 2009 19:15:49 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1393&amp;PID=5026#5026</guid>
  </item> 
  <item>
   <title>Remote Persistence : Hi,We have just recently upgraded...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1393&amp;PID=5025#5025</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=449" rel="nofollow">smi-mark</a><br /><strong>Subject:</strong> 1393<br /><strong>Posted:</strong> 24-Jul-2009 at 2:40pm<br /><br />Hi,<br><br>We have just recently upgraded to the latest 3.6.7.1 release. No matter what settings I use it seems to still think I'm using remote persistence. I have even overidden the PersistenceManager create to ONLY use Local not even Default service and NO MATTER WHAT it still thinks it should be connecting to a BOS!<br><br><br>&nbsp;username="Mark-Laptop\Mark" source="IdeaBlade.Persistence.DataSourceResolver:.ctor"&gt;Probed for 'IDataSourceKeyResolver' and found Spindlemedia.Utils.LoginManager.LoginManagerDataSourceKeyResolver&lt;/entry&gt;<br>&nbsp;username="Mark-Laptop\Mark" source="IdeaBlade.Persistence.PersistenceManager:.ctor"&gt;Loaded IdeaBlade.Persistence.RemotingPersistenceServerProxy&lt;/entry&gt;<br>&nbsp;username="Mark-Laptop\Mark" source="IdeaBlade.Persistence.RemotingPersistenceService:get_LocalInstance"&gt;PersistenceService created&lt;/entry&gt;<br>&nbsp;username="Mark-Laptop\Mark" source="IdeaBlade.Persistence.RemotingPersistenceServerProxy:GetPersistenceServer"&gt;Created local PersistenceService&lt;/entry&gt;<br>&nbsp;username="Mark-Laptop\Mark" source="System.RuntimeMethodHandle:_InvokeConstructor"&gt;PersistenceServer created for DataSourceExtension: &#091;None&#093;&lt;/entry&gt;<br>&nbsp;username="Mark-Laptop\Mark" source="IdeaBlade.Persistence.DataSourceResolver:.ctor"&gt;Probed for 'IDataSourceKeyResolver' and found Spindlemedia.Utils.LoginManager.LoginManagerDataSourceKeyResolver&lt;/entry&gt;<br>&nbsp;username="Mark-Laptop\Mark" source="IdeaBlade.Persistence.Server.SessionManager:GetPersistenceLoginManager"&gt;Probed for 'IPersistenceLoginManager' and found Spindlemedia.Utils.LoginManager.LoginManager&lt;/entry&gt;<br>username="Mark-Laptop\Mark" source="IdeaBlade.UI.WinForms.DotnetControls.DataGridViewBinderMap:.ctor"&gt;Loading UI binders from IdeaBlade.UI.WinForms.DotnetControls&lt;/entry&gt;<br>username="sa" source="IdeaBlade.Persistence.RemotingPersistenceService:get_RemoteInstance"&gt;Trying automatic remoting configuration using Spindlemedia.SMIGL.UI.EXE.config&lt;/entry&gt;<br>username="sa" source="IdeaBlade.Persistence.RemotingPersistenceService:GetRemoteInstance"&gt;PersistenceService not found in config file.&lt;/entry&gt;<br>username="sa" source="IdeaBlade.Persistence.RemotingPersistenceService:get_RemoteInstance"&gt;Trying programmatic remoting configuration using IdeaBlade.ibconfig&lt;/entry&gt;<br><br>As you can see it starts off using a LocalInstance through my credentials, and then it appears to have logged in but then that happens!! This is all off of a .Login() call.<br><br>I had upgraded a couple weeks ago and had the same problem. Downgrading to <b>3.6.6.1 FIXES </b>the problem so something has to have changed. Any suggestions?<br><br>Thanks!<br><br>Mark<br>]]>
   </description>
   <pubDate>Fri, 24 Jul 2009 14:40:28 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1393&amp;PID=5025#5025</guid>
  </item> 
 </channel>
</rss>