<?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 : Unable to manage persistence of...</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Unable to manage persistence of...</description>
  <pubDate>Wed, 10 Jun 2026 10:22:41 -700</pubDate>
  <lastBuildDate>Wed, 23 Feb 2011 18:42:43 -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=2515</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>Unable to manage persistence of... : This is beginning to sound like...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2515&amp;PID=10049#10049</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> 2515<br /><strong>Posted:</strong> 23-Feb-2011 at 6:42pm<br /><br />This is beginning to sound like a&nbsp;multi-threading problem, since&nbsp; I'd guess multiple users could be logging in at the same time.&nbsp;&nbsp; If you can provide us more info (you can send an email if you don't want to post here) about what's going on in this login/query process with dynamic types, we'll see if we can repro.]]>
   </description>
   <pubDate>Wed, 23 Feb 2011 18:42:43 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2515&amp;PID=10049#10049</guid>
  </item> 
  <item>
   <title>Unable to manage persistence of... : At this location, users often...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2515&amp;PID=10044#10044</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=810" rel="nofollow">chrishibler</a><br /><strong>Subject:</strong> 2515<br /><strong>Posted:</strong> 23-Feb-2011 at 10:12am<br /><br />At this location, users often have offline data and they don't reconnect to save that data until the next morning.<div><br></div><div>Additionally, the system at this location is configured to recycle the application pool each night or early morning (I'm getting details regarding when this is scheduled).&nbsp;</div><div><br></div><div>So far, what we've seen is that, the application will be working properly during the day. When the users begin to login in the morning, that's when this begins to occur. After it happens, all users are prevented from logging in from that point forward with the same error, which seems like it also indicates the&nbsp;<span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">prototype table was either constructed incorrectly or somehow corrupted.</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><br></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">I don't see multiple paths for creating the types. We would be creating them from the same database tables so if there were more than one path, they would be doing the same thing.</span></div>]]>
   </description>
   <pubDate>Wed, 23 Feb 2011 10:12:22 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2515&amp;PID=10044#10044</guid>
  </item> 
  <item>
   <title>Unable to manage persistence of... : OK, so my last question still...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2515&amp;PID=10038#10038</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> 2515<br /><strong>Posted:</strong> 23-Feb-2011 at 8:36am<br /><br />OK, so my last question still stands.&nbsp; If an IIS reset fixes the problem it would indicate that the prototype table was either constructed incorrectly or somehow corrupted.&nbsp;&nbsp; Does the application work correctly for a period of time, and then a login randomly fails?]]>
   </description>
   <pubDate>Wed, 23 Feb 2011 08:36:32 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2515&amp;PID=10038#10038</guid>
  </item> 
  <item>
   <title>Unable to manage persistence of... : I suppose reinitialize is not...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2515&amp;PID=10031#10031</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=810" rel="nofollow">chrishibler</a><br /><strong>Subject:</strong> 2515<br /><strong>Posted:</strong> 22-Feb-2011 at 2:03pm<br /><br /><P>I suppose reinitialize is not the correct term. We go through all the tables we represent as dynamic types, verify that the type is created and if it is not created, we create the type.</P><DIV>The query just get's a single entity:</DIV><DIV>&nbsp;<BR>EntityQuery query = new EntityQuery(pEntityType);</DIV><DIV>query.Top = 1;<BR></DIV>]]>
   </description>
   <pubDate>Tue, 22 Feb 2011 14:03:40 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2515&amp;PID=10031#10031</guid>
  </item> 
  <item>
   <title>Unable to manage persistence of... : I&amp;#039;m curious about your statement...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2515&amp;PID=9988#9988</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> 2515<br /><strong>Posted:</strong> 18-Feb-2011 at 12:54pm<br /><br />I'm curious about your statement "...reinitializing the schema for the dynamic entity types ...".&nbsp;&nbsp; Once a dynamic entity type is defined for a data source extension, it's schema cannot be changed.&nbsp;&nbsp; How is the schema re-initialized?&nbsp; Also, what does this query look like?&nbsp; <DIV>&nbsp;</DIV><DIV>The error message itself indicates that DevForce thinks the prototype table built when the EntityTypeInfo was constructed and the dynamic type was created is somehow wrong.&nbsp; Is it possible that you have multiple paths to creating/initializing this entity type and only one is "correct"?</DIV>]]>
   </description>
   <pubDate>Fri, 18 Feb 2011 12:54:19 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2515&amp;PID=9988#9988</guid>
  </item> 
  <item>
   <title>Unable to manage persistence of... : One of our customers is receiving...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2515&amp;PID=9982#9982</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=810" rel="nofollow">chrishibler</a><br /><strong>Subject:</strong> 2515<br /><strong>Posted:</strong> 18-Feb-2011 at 5:35am<br /><br />&nbsp;One of our customers is receiving an error occasionally when logging into our application. The stack trace from the debug log is below. What we're doing at this point is reinitializing the schema for the dynamic entity types in the database. We get the dynamic type for the table and then create an entity query to return a single row.<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">They continue to get this error until they reset IIS (we're using a business object server). Once IIS is reset, the error no longer occurs. If they had offline data in their cache files though, they are reporting that the data is lost.</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">We're using DevForce classic 3.6.7.1 in this version of our application.</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Any insight into this would be much appreciated.</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Server stack trace: </P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.Persistence.Rdb.RdbTableMappingInfo.GetFromTable(EntityTable pTable)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.Persistence.Rdb.RdbQuerySqlFormatter.BuildCanonicalQuery(Type pEntityType, ParameterizedSql pWhereClause, IEnumerable`1 pOrderByClauses)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.Persistence.Rdb.RdbQuerySqlFormatter.BuildCanonicalQuery(EntityQuery pEntityQuery, Int32&amp; pNextBindingId)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.Persistence.Rdb.RdbQuery.Fetch(DataSet pDataSet, IDataSourceKey pDataSourceKey)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.Persistence.Server.PersistenceServer.Fetch(IEntityQuery pQuery, DataSet pDataSet, IDataSourceKey pDsKey)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.Persistence.Server.PersistenceServer.Fetch(SessionBundle pSessionBundle, IEntityQuery pEntityQuery)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object&#091;&#093; args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object&#091;&#093;&amp; outArgs)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object&#091;&#093; args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object&#091;&#093;&amp; outArgs)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Exception rethrown at &#091;0&#093;: </P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.Persistence.RemotingPersistenceServerProxy.CheckConnection(Exception pException)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.Persistence.PersistenceServerProxy.Fetch(SessionBundle pBundle, IEntityQuery pQuery)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.Persistence.PersistenceManager.XFetchDataSet(IEntityQuery pEntityQuery)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>--- End of inner exception stack trace ---</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.Persistence.PersistenceManager.HandlePersistenceServerException(Exception pException, Boolean pTryToHandle, PersistenceOperation pOperation)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.Persistence.PersistenceManager.XFetchDataSet(IEntityQuery pEntityQuery)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.Persistence.PersistenceManager.InitializeSchema(Type pEntityType)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.Persistence.PersistenceManager.XGetEntities(IEntityQuery pEntityQuery, QueryStrategy pQueryStrategy, WorkState pWorkState)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.Persistence.PersistenceManager.GetEntity(IEntityQuery pEntityQuery, QueryStrategy pQueryStrategy)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.Persistence.PersistenceManager.GetEntity(IEntityQuery pEntityQuery)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>--- End of inner exception stack trace ---</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object&#091;&#093; arguments, SignatureStruct&amp; sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object&#091;&#093; arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object&#091;&#093; parameters, CultureInfo culture, Boolean skipVisibilityChecks)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Delegate.DynamicInvokeImpl(Object&#091;&#093; args)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at DecadeNet.Shared.Libraries.Persistence.PersistenceServices.handleQueryError(Exception pException, Delegate pMethod, Object&#091;&#093; pMethodParams)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at DecadeNet.Shared.Libraries.Persistence.ServiceCallIntercept.QueryServiceCall(Type pDelegateType, Object&#091;&#093; pMethodParams, String pMethodName, Type pEntityType)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at DecadeNet.Shared.Libraries.Persistence.PersistenceServices.GetEntity(IEntityQuery pEntityQuery)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at DecadeNet.Shared.Libraries.BusinessEntities.UDFEntityServices.cacheSingleRow(Type pEntityType)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at DecadeNet.Shared.Libraries.BusinessEntities.UDFEntityServices.initializeUserDefinedEntityTableTypes()</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at DecadeNet.Shared.Libraries.BusinessEntities.UDFEntityServices.Reinitialize()</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at DecadeNet.RichClientApps.EnvisionConnect.MainAppController.authenticateClient(String pUserName, String pPassword)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at DecadeNet.RichClientApps.EnvisionConnect.MainAppController.Login(String pUserName, String pPassword)</P><P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at DecadeNet.RichClientApps.EnvisionConnect.HomeActivities.Pages.LogInPatternPage.login()</P>]]>
   </description>
   <pubDate>Fri, 18 Feb 2011 05:35:07 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2515&amp;PID=9982#9982</guid>
  </item> 
 </channel>
</rss>