<?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 : PersistenceManager initialization on slow computers</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : PersistenceManager initialization on slow computers</description>
  <pubDate>Thu, 11 Jun 2026 00:00:05 -700</pubDate>
  <lastBuildDate>Fri, 11 Jul 2008 07:57:39 -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=494</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>PersistenceManager initialization on slow computers : Below are some links with information...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=494&amp;PID=3215#3215</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 494<br /><strong>Posted:</strong> 11-Jul-2008 at 7:57am<br /><br /><P =Ms&#111;normal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Below are some links with information on the certificate cache folder “CryptnetUrlCache” as well as an excerpt from a forum that describes it in simpler language. Basically a certificate entry gets created in this folder for any Click Once deployed application as well as website SSL certificates and certificate signed applications installed over the Internet. During the startup of a Click Once application, the certificate is checked to see if it has been revoked. If the certificate is good, the application starts. If a certificate is not found, the application will attempt to connect to the Internet to retrieve the application’s certificate status. If there is no Internet connection, the operating system will assume the certificate is good and the application starts until such time that an Internet connection becomes available so that it can check the CRL lists.<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P><P =Ms&#111;normal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P><P =Ms&#111;normal><SPAN style="FONT-SIZE: 10pt; COLOR: #2d2d2d; FONT-FAMILY: 'Verdana','sans-serif'">Certificate Revocation List (CRL) - Client's Cache - Ohad's Blog:<BR><a href="http://weblogs.asp.net/israelio/archive/2005/03/14/394513.aspx" target="_blank"><SPAN title=http://weblogs.asp.net/israelio/archive/2005/03/14/394513.aspx style="COLOR: #27638d"><U><FONT size=2>http://weblogs.asp.net/israelio/arch...14/394513.aspx</FONT></U></SPAN></A><BR><BR>Summary of changes to the CryptoAPI certificate chain validation logic in<BR>Windows XP Service Pack 2:<BR><a href="http://support.microsoft.com/kb/887196" target="_blank"><SPAN title=http://sup.microsoft.com/kb/887196 style="COLOR: #27638d"><U><FONT size=2>http://support.microsoft.com/kb/887196</FONT></U></SPAN></A></SPAN><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p></o:p></SPAN></P><P =Ms&#111;normal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P><P =Ms&#111;normal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P><P =Ms&#111;normal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P><P =Ms&#111;normal style="MARGIN-LEFT: 0.5in"><B><SPAN lang=EN>C:\Documents and Settings\USERNAME\Application Data\Microsoft\CryptnetUrlCache\Content <BR><BR>and <BR><BR>C:\Documents and Settings\USERNAME\Application Data\Microsoft\CryptnetUrlCache\MetaData </SPAN></B><SPAN lang=EN><BR><BR>I delete the files in the sub-folders of the CryptnetUrlCache: <B>Content</B> and <B>MetaData</B>. <BR><BR><B>I find the files in Content and MetaData, the sub-folders of the CryptnetUrlCache folder, really interesting.</B> <BR><BR>The very first time I deleted all the files within these two folders, it really blew my mind... <BR><BR>I looked in some of the files in these folders using Notepad, and it looked like a record of URL History of some kind. <BR>By the name of the folder, "CryptnetUrlCache," I figured they must logically be cache-type files. <BR><BR>I deleted all the files within these two folders. Then I cleaned up my system as usual with my Temp File Cleaners. Rebooted, and defragged. Zowie! My browser windows started opening up so much faster it was simply unbelievable. <BR><BR>So, I asked my friend, 2McAbre, about them... <BR><BR>Per 2McAbre: <BR><BR>Those folders are where XP stores a "verified and certified" websites security certificates for such things like SSL (Secure Socket Layers) logins for if you are paying a bill, or shopping at Amazon.com. <BR><BR>If you want to empty these folders (with msie open) "Click on Tools", select "Internet Options" then click on the "Content" tab. <BR><BR>In the center area where it says "Certificates"… Just click on the Clear SSL button to empty these folders of any temporary certificates. <BR><BR>P.S. The reason it it seems to slow IE down is because XP sort of validates each certificate and sort of "Checks" to make sure they are still valid. So its a good idea to empty the SSL cache every once and awhile. <BR><BR>I took it one step further... <BR><BR>Tools &gt; Internet Options &gt; Content &gt; Certificates button &gt; Intermediate Certification Authorities tab &gt; Highlight an entry &gt; Click on Remove. <BR><BR>Tools &gt; Internet Options &gt; Content &gt; Certificates button &gt; Trusted Root Certification tab &gt; Highlight an entry &gt; Click on Remove. <BR><BR>Tools &gt; Internet Options &gt; Content &gt; Certificates button &gt; Untrusted Publishers tab &gt; Highlight an entry &gt; Click on Remove. <BR><BR>Same here... <BR><BR>Tools &gt; Internet Options &gt; Content &gt; Publishers button &gt; Trusted Root Certification tab &gt; Highlight an entry &gt; Click on Remove. <BR><BR>Tools &gt; Internet Options &gt; Content &gt; Publishers button &gt; Untrusted Publishers tab &gt; Highlight an entry &gt; Click on Remove. <BR><BR>Per 2McAbre: <BR><BR>Yes you can highlight and remove all the others too if you "Really want too. Those are things like when you get the security window when you install windows update site stuff? Where you can check the box that will always "trust" Microsoft? <BR><BR>If you have ever checked one of those boxes there will be a "trust" certificate in one of these areas. Also trusted sites are kept recorded in one of these areas as well as "sites you don't want anything to do with". <BR><BR>Probing deeper, figured out all this has to do with Tools &gt; Internet Options &gt; Advanced &gt; Scroll down to Security section &gt; <BR>"Check for server certificate revocation (requires restart)" <BR><BR>Specifies whether you want Internet Explorer to check an Internet's site certificate to see if it has been revoked before accepting it as valid. <BR><BR>I chose to UNCHECK that particular option. <BR><BR>As it turned out, it doesn't hurt to clear all that out. Because I did, and then I went directly to Windows Update...and what do you suppose happened? The entries needed for Windows Update were recreated.</SPAN><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p></o:p></SPAN></P><P =Ms&#111;normal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>]]>
   </description>
   <pubDate>Fri, 11 Jul 2008 07:57:39 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=494&amp;PID=3215#3215</guid>
  </item> 
  <item>
   <title>PersistenceManager initialization on slow computers : It seems I have foundthe way to...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=494&amp;PID=3214#3214</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=47" rel="nofollow">vkh75</a><br /><strong>Subject:</strong> 494<br /><strong>Posted:</strong> 10-Jul-2008 at 2:48am<br /><br /><DIV>It seems I have found&nbsp;the way to reproduce&nbsp;my problem.</DIV><DIV>&nbsp;</DIV><DIV>1) Install a DevForce Express application on&nbsp;the target machine&nbsp;using ClickOnce technology.</DIV><DIV>2) Delete <strong>%SystemDrive%\Documents and Settings\User Profile\Application Data\Microsoft\CryptnetUrlCache</strong> folder.</DIV><DIV>3) Make sure the&nbsp;computer is&nbsp;on&nbsp;LAN but has no&nbsp;internet connection.</DIV><DIV>4) Run the application.</DIV><DIV>&nbsp;</DIV><DIV>The app starts after some delay and the folder that was deleted is not created.</DIV><DIV>But if the computer has the internet connection then the folder gets created and the app starts fast.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 10 Jul 2008 02:48:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=494&amp;PID=3214#3214</guid>
  </item> 
  <item>
   <title>PersistenceManager initialization on slow computers : Finally,I have found what was...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=494&amp;PID=1706#1706</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=47" rel="nofollow">vkh75</a><br /><strong>Subject:</strong> 494<br /><strong>Posted:</strong> 19-Oct-2007 at 3:02pm<br /><br /><P>Finally,&nbsp;I have found what was causing the perfomance hit and it seems it has nothing to do with PersistenceManager...</P><P>%SystemDrive%\Documents and Settings\User Account\Application Data\Microsoft\<strong>CryptnetUrlCache</strong></P><P>The absence of this folder and its contents is causing a&nbsp;long time delay in my application. I still&nbsp;don't khow why this folder gets created (and recreated if deleted)&nbsp;on some&nbsp;computers/profiles and does not on the others, but now I can overcome the problem with just copying this folder from other pc.</P><span style="font-size:10px"><br /><br />Edited by vkh75 - 19-Oct-2007 at 3:02pm</span>]]>
   </description>
   <pubDate>Fri, 19 Oct 2007 15:02:04 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=494&amp;PID=1706#1706</guid>
  </item> 
  <item>
   <title>PersistenceManager initialization on slow computers : kimj, thank you for information....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=494&amp;PID=1685#1685</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=47" rel="nofollow">vkh75</a><br /><strong>Subject:</strong> 494<br /><strong>Posted:</strong> 18-Oct-2007 at 4:04am<br /><br /><strong>kimj</strong>, thank you for information. I will contact&nbsp;support.<DIV>Just before writing this I did a little experiment. I completely reinstalled Win2000 on a test machine (PIII 450MHz, 192Mb), installed MS Installer 3.1 + Framework 2.0 + MDAC 2.8. Then I created a simple app that contains the only one Form1 with no controls on it. Here is Form1 class code:</DIV><DIV><FONT color=#0000ff size=2><P>Imports</FONT><FONT size=2> IdeaBlade.Persistence</P><DIV></FONT><FONT color=#0000ff size=2>Public</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>Class</FONT><FONT size=2> Form1</DIV><P></FONT><FONT color=#0000ff size=2>&nbsp;&nbsp;&nbsp;&nbsp; Private</FONT><FONT size=2> pm </FONT><FONT color=#0000ff size=2>As</FONT><FONT size=2> PersistenceManager</P><DIV></FONT><FONT color=#0000ff size=2>End</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>Class</FONT></DIV><DIV><FONT color=#0000ff size=2></FONT>&nbsp;</DIV><DIV><FONT color=#0000ff size=2><FONT color=#000000>I published the app via ClickOnce and installed it on my test machine. Everything worked fine and Form1 was shown almost immediately after the app start. </FONT></FONT></DIV><DIV><FONT color=#0000ff size=2><FONT color=#000000>Then I substituted this line:</FONT></FONT></DIV><DIV><FONT size=2><FONT color=#0000ff><EM>Private pm As PeristenceManager</EM> </FONT></FONT></DIV><DIV><FONT color=#0000ff size=2><FONT color=#000000>with this one:</FONT></FONT></DIV><DIV><FONT size=2><EM><FONT color=#ff0000>Private pm As PersistenceManager = <strong>Nothing</strong></FONT></EM></FONT></DIV><DIV><FONT color=#0000ff size=2><FONT color=#000000>and the Form1 appeared in 15 seconds after I started my test app...</FONT></FONT></DIV><DIV><FONT color=#0000ff size=2><FONT color=#000000></FONT></FONT>&nbsp;</DIV><DIV><FONT color=#0000ff size=2><FONT color=#000000>Also the trick with disconnection from the net worked. In both cases the Form was shown immediately.</FONT></FONT><FONT size=2><FONT color=#0000ff></DIV></FONT></FONT></DIV>]]>
   </description>
   <pubDate>Thu, 18 Oct 2007 04:04:31 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=494&amp;PID=1685#1685</guid>
  </item> 
  <item>
   <title>PersistenceManager initialization on slow computers : So you replaced the offending...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=494&amp;PID=1660#1660</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> 494<br /><strong>Posted:</strong> 15-Oct-2007 at 2:49pm<br /><br />So you replaced the offending line to now read:<DIV>&nbsp; <FONT color=#ff0000>mManager = New PersistenceManager(False)</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV>and still see the delay?&nbsp;&nbsp;Other initialization activities during PM construction include probing for&nbsp;datasource key resolvers and ID generators, and&nbsp;trace file logging initialization.&nbsp; I really don't know what could be causing the problem in your environment, but you can contact support and provide a sample which&nbsp;reproduces the problem if you'd like further help.</DIV><DIV>&nbsp;</DIV><DIV>Your statement that there is no delay when starting your application after getting disconnected from the network is also puzzling, since this would seem to be situation where you'd expect a delay....</DIV><DIV><FONT color=#ff0000></FONT>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 15 Oct 2007 14:49:42 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=494&amp;PID=1660#1660</guid>
  </item> 
  <item>
   <title>PersistenceManager initialization on slow computers : kimj, I have tried to create the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=494&amp;PID=1617#1617</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=47" rel="nofollow">vkh75</a><br /><strong>Subject:</strong> 494<br /><strong>Posted:</strong> 14-Oct-2007 at 10:36am<br /><br /><P><strong>kimj</strong>, I have tried to create the PersistenceManager as you suggested:</P><DIV>Dim pm As New PersistenceManager(False)</DIV><DIV>&nbsp;</DIV><DIV>but it&nbsp;gave me the same long time delay. I have also noticed that if I got disconnected from the network and then&nbsp;started my app, there&nbsp;was no delay...</DIV><DIV>&nbsp;</DIV><DIV>So far I'm&nbsp;very puzzled... <img src="http://www.ideablade.com/forum/smileys/smiley5.gif" height="17" width="17" border="0" align="absmiddle" alt="C&#111;nfused" /></DIV>]]>
   </description>
   <pubDate>Sun, 14 Oct 2007 10:36:51 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=494&amp;PID=1617#1617</guid>
  </item> 
  <item>
   <title>PersistenceManager initialization on slow computers : PersistenceManager.DefaultManager...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=494&amp;PID=1612#1612</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> 494<br /><strong>Posted:</strong> 12-Oct-2007 at 7:40pm<br /><br />PersistenceManager.DefaultManager will automatically try to connect to the PersistenceService.&nbsp; If you don't really need the PM to be connected during logon, construct the PM manually using one of the overloaded constructors which accepts a shouldConnect flag, like this:<DIV></DIV><FONT color=#008080 size=2><P>PersistenceManager</FONT><FONT size=2> pm = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> </FONT><FONT color=#008080 size=2>PersistenceManager</FONT><FONT size=2>(</FONT><FONT color=#0000ff size=2>false</FONT><FONT size=2>);</P><DIV></DIV><DIV></DIV>P.S. I'm not sure why&nbsp;the connection is taking so long, but that's a (slightly) separate issue.</FONT>]]>
   </description>
   <pubDate>Fri, 12 Oct 2007 19:40:46 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=494&amp;PID=1612#1612</guid>
  </item> 
  <item>
   <title>PersistenceManager initialization on slow computers : No, I used ClickOnce deployment....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=494&amp;PID=1610#1610</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=47" rel="nofollow">vkh75</a><br /><strong>Subject:</strong> 494<br /><strong>Posted:</strong> 12-Oct-2007 at 2:39pm<br /><br /><P>No, I used ClickOnce deployment. Here is some code...</P><DIV><strong>The entry poin for my app is sub main:</strong></DIV><DIV><strong></strong>&nbsp;</DIV><DIV>Public Class Program</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; Public Shared Sub Main()</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Application.EnableVisualStyles()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Application.SetCompatibleTextRenderingDefault(False)</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If LoginForm.Login() Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Application.Run(New MainForm())<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If</DIV><DIV>&nbsp;&nbsp;&nbsp; End Sub</DIV><DIV>&nbsp;</DIV><DIV>End Class</DIV><DIV>&nbsp;</DIV><DIV><strong>LoginForm Class:</strong></DIV><DIV><strong></strong>&nbsp;</DIV><DIV>Public Class LoginForm</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;Private mManager As PersistenceManager</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; Private Sub New()</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; InitializeComponent()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong><FONT color=#ff0000>mManager = PersistenceManager.DefaultManager</FONT></strong></DIV><DIV>&nbsp;&nbsp;&nbsp; End Sub</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; Public Shared Function Login() As Boolean</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim aLoginForm As New LoginForm()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim aDialogResult As DialogResult = aLoginForm.ShowDialog()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aLoginForm.Dispose()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Return Windows.Forms.DialogResult.OK</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; End Function</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; Private Sub OK_Click(...) Handles btnOK.Click<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DoLogin()<BR>&nbsp;&nbsp;&nbsp; End Sub</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; Private Sub Cancel_Click(...) Handles btnCancel.Click<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.DialogResult = Windows.Forms.DialogResult.Cancel<BR>&nbsp;&nbsp;&nbsp; End Sub</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; Private Sub DoLogin()</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Not InputIsValid() Then Return</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Try<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Some authentication code...<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.DialogResult = System.Windows.Forms.DialogResult.OK<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Catch pException As Exception<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MessageBox.Show(pException.Message)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End Try</DIV><DIV>&nbsp;&nbsp;&nbsp; End Sub</DIV><DIV>&nbsp;</DIV><DIV>End Class</DIV><DIV>&nbsp;</DIV><DIV>If I comment out the red line code, my LoginForm shows&nbsp;without&nbsp;delay, otherwise it takes time depending on machine config...</DIV><DIV>&nbsp;</DIV><DIV>Originally, there was no PersistenceManager in the LoginForm and it showed up fast. I just placed the creation of PM into this form for testing purposes.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 12 Oct 2007 14:39:55 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=494&amp;PID=1610#1610</guid>
  </item> 
  <item>
   <title>PersistenceManager initialization on slow computers : Did you run the applications inside...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=494&amp;PID=1609#1609</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 494<br /><strong>Posted:</strong> 12-Oct-2007 at 1:47pm<br /><br />Did you run the applications inside of Visual Studio?]]>
   </description>
   <pubDate>Fri, 12 Oct 2007 13:47:23 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=494&amp;PID=1609#1609</guid>
  </item> 
  <item>
   <title>PersistenceManager initialization on slow computers : I have developed a smallapplication...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=494&amp;PID=1608#1608</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=47" rel="nofollow">vkh75</a><br /><strong>Subject:</strong> 494<br /><strong>Posted:</strong> 12-Oct-2007 at 1:03pm<br /><br />I have developed a small&nbsp;application with DevForce Express and it runs very fast&nbsp;on my development machine (C2D E4400, 1Gb RAM). <DIV>After&nbsp;I runned the app&nbsp;on a Pentium-III&nbsp;750Mhz,&nbsp;256 MB RAM&nbsp;PC&nbsp;it took about 30 seconds for&nbsp;a Main Form&nbsp;to load... I found out that&nbsp;it was this line of code that made my app&nbsp;freeze for such a long time:</DIV><DIV>&nbsp;</DIV><DIV>Dim mPersMgr As PersistenceManager</DIV><DIV><strong>mPersMgr = PersistenceManager.DefaultManager</strong></DIV><DIV>&nbsp;</DIV><DIV>I checked the startup time of the app on about 5 machines with different configurations and it varied from 2 seconds to 40 seconds.</DIV><DIV>&nbsp;</DIV><DIV>Can someone&nbsp; explain me what is happening while PersistenceManager.DefaultManager is being created and why it takes so long time. I started the Task Manager and it didn't register high CPU or RAM load...</DIV><DIV>&nbsp;</DIV><DIV>Thanks in advance.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 12 Oct 2007 13:03:33 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=494&amp;PID=1608#1608</guid>
  </item> 
 </channel>
</rss>