<?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 : TypeInitializationException</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : TypeInitializationException</description>
  <pubDate>Thu, 11 Jun 2026 18:00:54 -700</pubDate>
  <lastBuildDate>Thu, 04 Oct 2007 09:11:50 -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=467</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>TypeInitializationException : Aha - that was it.    The reason...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=467&amp;PID=1432#1432</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=165" rel="nofollow">Warren</a><br /><strong>Subject:</strong> 467<br /><strong>Posted:</strong> 04-Oct-2007 at 9:11am<br /><br />Aha - that was it. <DIV><DIV></DIV><DIV></DIV>The reason that it's often forgotten is that you do the Publish setup in Visual Studio, that dll doesn't appear in the list.</DIV><DIV>&nbsp;</DIV><DIV>Thanks for the help.</DIV>]]>
   </description>
   <pubDate>Thu, 04 Oct 2007 09:11:50 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=467&amp;PID=1432#1432</guid>
  </item> 
  <item>
   <title>TypeInitializationException : Your application runs fine on...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=467&amp;PID=1431#1431</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> 467<br /><strong>Posted:</strong> 04-Oct-2007 at 8:14am<br /><br />Your application runs fine on your development system because the required IdeaBlade assemblies are already installed in the Global Assembly Cache (GAC).&nbsp; When you use Click-Once, you must make sure to include these same required assemblies.<DIV>&nbsp;</DIV><DIV>The one assembly that is most often forgotten is IdeaBlade.Persistence.Server.dll.&nbsp; See if this assembly exists in your deployment directory.&nbsp; If not, copy this assembly, and retry running your application.</DIV>]]>
   </description>
   <pubDate>Thu, 04 Oct 2007 08:14:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=467&amp;PID=1431#1431</guid>
  </item> 
  <item>
   <title>TypeInitializationException : Hey Warren,  Is there a named...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=467&amp;PID=1429#1429</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 467<br /><strong>Posted:</strong> 03-Oct-2007 at 5:58pm<br /><br />Hey Warren,<DIV>&nbsp;</DIV><DIV>Is there a named instance involved?&nbsp; If so, you may have to&nbsp;specify it in the ibconfig file.</DIV><DIV>&nbsp;</DIV><DIV>Also, I run a database connection check when the app launches.&nbsp; That just helps me tackle those pesky connection issues up front.</DIV><DIV>&nbsp;</DIV><DIV>Bill</DIV>]]>
   </description>
   <pubDate>Wed, 03 Oct 2007 17:58:16 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=467&amp;PID=1429#1429</guid>
  </item> 
  <item>
   <title>TypeInitializationException : I&amp;#039;m attempting my first deployment...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=467&amp;PID=1428#1428</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=165" rel="nofollow">Warren</a><br /><strong>Subject:</strong> 467<br /><strong>Posted:</strong> 03-Oct-2007 at 5:13pm<br /><br />I'm attempting my first deployment - a C# Console app to reside on the same computer as the database server. It works fine on my development system, connected to a copy of the database residing on the same system. The development system connects to database server (local), and that's what's in IdeaBlade.ibconfig. It doesn't look to me like anything in the config file&nbsp;would need&nbsp;to be changed.<DIV>&nbsp;</DIV><DIV>So I publish and install on the server using Click Once, and the program starts up fine when I try to run it. However, soon after, as I try to use the PersistenceManager to fetch the first object from the database, it blows up with a TypeInitializationException. </DIV><DIV>&nbsp;</DIV><DIV>Am I missing something obvious? (BTW, this is with version 3.5.3.1)</DIV><DIV>&nbsp;</DIV><DIV>Thanks for any help you can give.</DIV>]]>
   </description>
   <pubDate>Wed, 03 Oct 2007 17:13:40 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=467&amp;PID=1428#1428</guid>
  </item> 
 </channel>
</rss>