<?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 locate an &#039;IdeaBlade.ibconfig&#039; or &#039;app.config&#039; file</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Unable to locate an &#039;IdeaBlade.ibconfig&#039; or &#039;app.config&#039; file</description>
  <pubDate>Thu, 11 Jun 2026 09:23:29 -700</pubDate>
  <lastBuildDate>Thu, 17 Jan 2008 06:02: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=657</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 locate an &#039;IdeaBlade.ibconfig&#039; or &#039;app.config&#039; file :   Thanks for the help I eventually...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=657&amp;PID=2441#2441</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=84" rel="nofollow">Tich</a><br /><strong>Subject:</strong> 657<br /><strong>Posted:</strong> 17-Jan-2008 at 6:02am<br /><br /><p ="Ms&#111;normal"><span style="" lang="EN-US">Thanks forthe help I eventually solved the problem by adding a boolean property to one ofmy <b style=""><span style="color: rgb(255, 102, 0);">static</span></b>Utils classes my main method now looks like this<o:p></o:p></span></p><p ="Ms&#111;normal">…</p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;; color: rgb(43, 145, 175);">Utils</span><span style="font-family: &quot;Courier New&quot;;">.AllowGetPersistenceManager= <span style="color: blue;">true</span>;<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="font-family: &quot;Courier New&quot;; color: rgb(43, 145, 175);">Application</span><span style="font-family: &quot;Courier New&quot;;">.Run(<span style="color: blue;">new</span> <span style="color: rgb(43, 145, 175);">frmLogin</span>());<o:p></o:p></span></p><p ="Ms&#111;normal">…</p><p ="Ms&#111;normal"><o:p>&nbsp;</o:p></p><p ="Ms&#111;normal">the load method of base form is now as show below </p><p ="Ms&#111;normal">…</p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;; color: blue;">if</span><span style="font-family: &quot;Courier New&quot;;"> (<span style="color: rgb(43, 145, 175);">Utils</span>.AllowGetPersistenceManager== <span style="color: blue;">true</span>)<o:p></o:p></span></p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;;">{<o:p></o:p></span></p><p ="Ms&#111;normal" style="text-indent: 0.5in;"><span style="font-family: &quot;Courier New&quot;;">pemManager= <span style="color: rgb(43, 145, 175);">PersistenceManager</span>.DefaultManager;<o:p></o:p></span></p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;;"><span style="">&nbsp;&nbsp;&nbsp;&nbsp; </span>enlEntity = <span style="color: blue;">new</span><span style="color: rgb(43, 145, 175);">EntityList</span>&lt;<span style="color: rgb(43, 145, 175);">Entity</span>&gt;();<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><o:p></o:p></span></p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;;">}<o:p></o:p></span></p><p ="Ms&#111;normal">...</p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></p><p ="Ms&#111;normal">I think this is the best solution because it gives you totalcontrol on whether the PersistenceManager is created or not </p>again thanks for pointing me in the right direction <br>]]>
   </description>
   <pubDate>Thu, 17 Jan 2008 06:02:43 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=657&amp;PID=2441#2441</guid>
  </item> 
  <item>
   <title>Unable to locate an &#039;IdeaBlade.ibconfig&#039; or &#039;app.config&#039; file :  DesignMode doesn&amp;#039;t always...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=657&amp;PID=2438#2438</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> 657<br /><strong>Posted:</strong> 16-Jan-2008 at 8:12am<br /><br /><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><DIV>DesignMode doesn't always accurately describe whether you are in DesignMode or not.&nbsp; There are many articles on the web about this.&nbsp; My favorite is:</SPAN></FONT></DIV><P ="Ms&#111;normal"><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><O:P></O:P></SPAN></FONT></P><P ="Ms&#111;normal"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><a href="http://weblogs.asp.net/fmarguerie/archive/2005/03/23/395658.aspx" target="_blank"><FONT face="Courier New" color=#800080 size=2>http://weblogs.asp.net/fmarguerie/archive/2005/03/23/395658.aspx</FONT></A><O:P></O:P></SPAN></P><P ="Ms&#111;normal"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><O:P></O:P></SPAN></P><FONT face="Courier New" color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'"><DIV><SPAN style="COLOR: blue">If&nbsp;"if</SPAN>(!<SPAN style="COLOR: blue">this</SPAN>.DesignMode){" doesn't work for you,&nbsp; I suggest trying:</DIV><DIV>&nbsp;</DIV><DIV>if</SPAN></FONT><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"> (System.Diagnostics.<FONT color=#2b91af><SPAN style="COLOR: #2b91af">Process</SPAN></FONT>.GetCurrentProcess().ProcessName != <FONT color=#a31515><SPAN style="COLOR: #a31515">"devenv"</SPAN></FONT>) {<O:P></O:P></SPAN></FONT></DIV><P ="Ms&#111;normal"><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><O:P>&nbsp;</O:P></SPAN></FONT></P><span style="font-size:10px"><br /><br />Edited by davidklitzke - 16-Jan-2008 at 8:13am</span>]]>
   </description>
   <pubDate>Wed, 16 Jan 2008 08:12:36 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=657&amp;PID=2438#2438</guid>
  </item> 
  <item>
   <title>Unable to locate an &#039;IdeaBlade.ibconfig&#039; or &#039;app.config&#039; file :   After doing some googling...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=657&amp;PID=2437#2437</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=84" rel="nofollow">Tich</a><br /><strong>Subject:</strong> 657<br /><strong>Posted:</strong> 16-Jan-2008 at 12:28am<br /><br /><p ="Ms&#111;normal"><span style="" lang="EN-US">After doingsome googling no the forum I discovered that I should do something like …<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US"><o:p>&nbsp;</o:p></span></p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;; color: blue;">public</span><span style="font-family: &quot;Courier New&quot;;"> BasicFormORM()<o:p></o:p></span></p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;;"><span style="">&nbsp; </span>:<span style="color: blue;">base</span>()<o:p></o:p></span></p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;;">{<o:p></o:p></span></p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;;"><span style="">&nbsp;&nbsp; </span><span style="">&nbsp;</span>InitializeComponent();<o:p></o:p></span></p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;;"><span style="">&nbsp;&nbsp; </span><span style="">&nbsp;</span><span style="color: blue;">if</span>(!<span style="color: blue;">this</span>.DesignMode)<o:p></o:p></span></p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;;"><span style="">&nbsp;&nbsp; </span><span style="">&nbsp;</span>{<o:p></o:p></span></p><p ="Ms&#111;normal" style="margin-left: 0.5in; text-indent: 0.5in;"><span style="font-family: &quot;Courier New&quot;;">pemManager=<span style="color: rgb(43, 145, 175);">PersistenceManager</span>.DefaultManager;<o:p></o:p></span></p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;;"><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>enlEntity = <span style="color: blue;">new</span><span style="color: rgb(43, 145, 175);">EntityList</span>&lt;<span style="color: rgb(43, 145, 175);">Entity</span>&gt;();<o:p></o:p></span></p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;;"><span style="">&nbsp;&nbsp;&nbsp; </span>}<o:p></o:p></span></p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></p><p ="Ms&#111;normal"><span style="font-family: &quot;Courier New&quot;;">}<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="font-family: &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></p><p ="Ms&#111;normal"><span style="">… but still this didnt work.I have a base form ‘BasicFormORM()’ which provides some basic form services like…<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="font-family: &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;; color: blue;">private</span><span style="font-family: &quot;Courier New&quot;;"> <span style="color: blue;">void</span>BasicFormORM_FormClosed(<span style="color: blue;">object</span> sender, <span style="color: rgb(43, 145, 175);">FormClosedEventArgs</span> e)<o:p></o:p></span></p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;;">{<o:p></o:p></span></p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;;"><span style="">&nbsp; </span><span style="color: blue;">try<o:p></o:p></span></span></p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;;"><span style="">&nbsp; </span>{<o:p></o:p></span></p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;;"><span style="">&nbsp;&nbsp;&nbsp;&nbsp; </span>thisEntity.RejectChanges();<o:p></o:p></span></p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;;"><span style="">&nbsp; </span>}<o:p></o:p></span></p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;;"><span style="">&nbsp; </span><span style="color: blue;">catch<o:p></o:p></span></span></p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;;"><span style="">&nbsp; </span>{<o:p></o:p></span></p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></p><p ="Ms&#111;normal" style=""><span style="font-family: &quot;Courier New&quot;;"><span style="">&nbsp; </span>}<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="font-family: &quot;Courier New&quot;;">}<o:p></o:p></span></p><p ="Ms&#111;normal"><o:p>&nbsp;</o:p></p><p ="Ms&#111;normal">…all other forms inherit from this the base form‘BasicFormORM<span style="">()’ it is these child forms thatwont open the base form opens even if I don’t <span style="">&nbsp;</span>use</span><span style="font-family: &quot;Courier New&quot;;"><span style="">&nbsp;&nbsp; </span><span style="">&nbsp;</span><span style="color: blue;">if</span>(!<span style="color: blue;">this</span>.DesignMode).<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="font-family: &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></p><p ="Ms&#111;normal">After a bit of testing I confirmed that the problem isoccurring because of trying to access the persistence manager from theconstructor however using the <span style="font-family: &quot;Courier New&quot;;">DesignMode</span> property to prevent this access is notworking</p><p ="Ms&#111;normal">Also this problem only started after a formatted my pc</p><p ="Ms&#111;normal"><o:p>&nbsp;</o:p></p><p ="Ms&#111;normal">Thanks</p>]]>
   </description>
   <pubDate>Wed, 16 Jan 2008 00:28:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=657&amp;PID=2437#2437</guid>
  </item> 
  <item>
   <title>Unable to locate an &#039;IdeaBlade.ibconfig&#039; or &#039;app.config&#039; file : You have run into a well-known...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=657&amp;PID=2434#2434</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> 657<br /><strong>Posted:</strong> 15-Jan-2008 at 8:59am<br /><br />You have run into a well-known problem which occurs when your code tries to access the PersistenceManager when you are using Visual Studio and running in Design Time.&nbsp; As you have discovered, your code runs just fine while executing during runtime.<DIV>&nbsp;</DIV><DIV>You are probably trying to access the PersistenceManager during the Form constructor or the Load Event for the Form.</DIV><DIV>&nbsp;</DIV><DIV>The solution for this problem is to use the DesignMode property of the Form or User Control.&nbsp; If DesignMode is true, you cannot try to accsss the PersistenceManager.&nbsp; If DesignMode is false (which means that you are running in runtime), you have no such restriction.</DIV><DIV>&nbsp;</DIV><DIV>This solution works for simple cases.&nbsp; Let me know if you have a more complicated case (User Control inside of a User Control).</DIV>]]>
   </description>
   <pubDate>Tue, 15 Jan 2008 08:59:51 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=657&amp;PID=2434#2434</guid>
  </item> 
  <item>
   <title>Unable to locate an &#039;IdeaBlade.ibconfig&#039; or &#039;app.config&#039; file :     I formatted my pc reinstalled...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=657&amp;PID=2433#2433</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=84" rel="nofollow">Tich</a><br /><strong>Subject:</strong> 657<br /><strong>Posted:</strong> 15-Jan-2008 at 3:09am<br /><br /><p ="Ms&#111;normal"><span style="" lang="EN-US">I formattedmy pc reinstalled everything and now devforce based forms wont open in thedesigner <font color="#ff0000"><b>the project can compile and run</b></font> <font color="#ff0000"><b>with no error. </b></font>I only get the error when I try to open the form in the designer (VS 2005).&nbsp; This problem only started after I reinstalled windows. The error I get&nbsp; is given below...<br><o:p>&nbsp;</o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US">Unable tolocate an 'IdeaBlade.ibconfig' or 'app.config' file on 'LIL3P-MOBILE' It mustbe either (a) an embedded resource in the startup project or (b) present in thesame directory as the executable. Please consult the Help files for moreinformation. Probing path: File: C:\Program Files\Microsoft Visual Studio8\Common7\IDE\devenv.exe.config - not found File: C:\Program Files\MicrosoftVisual Studio 8\Common7\IDE\MSTest.exe.config - not found File: C:\ProgramFiles\Microsoft Visual Studio 8\Common7\IDE\PEVerify.exe.config - not foundFile: C:\Program Files\Microsoft Visual Studio8\Common7\IDE\VSTestHost.exe.config - not found File: a loose configurationfile - not found File: C:\Program Files\Microsoft Visual Studio8\Common7\IDE\IdeaBlade.ibconfig - not found Design-time execution detected -Will not probe for app.config or IdeaBlade.ibconfig in AppHelper IdeaBlade.ibconfigfallthru - Default IdeaBlade.ibconfig used Logging file: <o:p></o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US">Hide<span style="">&nbsp;&nbsp;&nbsp;&nbsp; </span><o:p></o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US"><o:p>&nbsp;</o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US">atIdeaBlade.Util.IdeaBladeConfig.AssertNonDefaultVersion()<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US">atIdeaBlade.Persistence.PersistenceManager..ctor(Boolean pShouldConnect, StringpDataSourceExtension, PersistenceServiceOption pPersistenceServiceOption)<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US">atIdeaBlade.Persistence.PersistenceManager.get_DefaultManager()<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US">atSST_APP.Main_Module.Forms.BasicFormORM..ctor() in D:\Lil3p\Software DevelopmentProjects\Projects\MAS\MAS\Main Module\Forms\BasicFormORM.cs:line 28 <span style="">&nbsp;</span><o:p></o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US"><o:p><br></o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US"><o:p><br></o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US"><o:p>Pliz help !&nbsp;</o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US"><o:p>&nbsp;<br></o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US"><o:p>&nbsp;</o:p><br></span></p>]]>
   </description>
   <pubDate>Tue, 15 Jan 2008 03:09:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=657&amp;PID=2433#2433</guid>
  </item> 
 </channel>
</rss>