<?xml version="1.0" encoding="iso-8859-1" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:annotate="http://purl.org/rss/1.0/modules/annotate/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<!--
	This feed generated for Anonymous	More info at http://naklon.info/rss/about.htm
-->
<channel>
<title>FileHelpers Support</title>
<link>http://www.filehelpers.com/forums/</link>
<description>Support, Feedback, Suggestions and More...</description>
<managingEditor>marcosdotnet@yahoo.com.ar</managingEditor>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>RSS Feed 2.2.4</generator>
<language>en</language><lastBuildDate>Thu, 26 Nov 2009 19:17:28 GMT</lastBuildDate>
<image>
	<url>http://www.filehelpers.com/forums/templates/subSilver/images/logo_phpBB_med.gif</url>
	<title>FileHelpers Support</title>
	<link>http://www.filehelpers.com/forums/</link>
	<width>122</width>
	<height>56</height>
</image>
<item>
<title>Developers Discussions :: RunTime SetValue Attributes</title>
<link>http://www.filehelpers.com/forums/viewtopic.php?p=1768#1768</link>
<pubDate>Sun, 22 Nov 2009 15:49:48 GMT</pubDate>
<guid isPermaLink="true">http://www.filehelpers.com/forums/viewtopic.php?p=1768#1768</guid>
<description>Author: &lt;a href=&quot;http://www.filehelpers.com/forums/profile.php?mode=viewprofile&amp;u=754&quot; target=&quot;_blank&quot;&gt;jhumber&lt;/a&gt;&lt;br /&gt;
Subject: RunTime SetValue Attributes&lt;br /&gt;Posted: Sun Nov 22, 2009 15:49 (GMT 0)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hello! 
&lt;br /&gt;

&lt;br /&gt;
How do I apply a particular value in an attribute of a class that I created at runtime? 
&lt;br /&gt;

&lt;br /&gt;
I created a class like this:
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
     FixedLengthClassBuilder paramsHorarios = new FixedLengthClassBuilder(&amp;quot;Horarios&amp;quot;);
&lt;br /&gt;

&lt;br /&gt;
      paramsHorarios .AddField(&amp;quot;NumeroSequencial&amp;quot;, 9, typeof(int));
&lt;br /&gt;
      paramsHorariosContratuais.LastField.Converter.Kind = ConverterKind.Int32;
&lt;br /&gt;
      paramsHorarios .LastField.AlignMode = AlignMode.Right;
&lt;br /&gt;
      paramsHorarios .LastField.FieldNullValue = 0;
&lt;br /&gt;

&lt;br /&gt;
Thanks!!
&lt;br /&gt;

&lt;br /&gt;
Jorge&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>jhumber</dc:creator>
<dc:subject>Developers Discussions</dc:subject>
<annotate:reference rdf:resource="http://www.filehelpers.com/forums/viewtopic.php?p=1768#1768" />
<comments>http://www.filehelpers.com/forums/posting.php?mode=quote&amp;p=1768</comments>
</item>
<item>
<title>Developers Discussions :: RE: Using same class to cater to varying field length.</title>
<link>http://www.filehelpers.com/forums/viewtopic.php?p=1765#1765</link>
<pubDate>Fri, 20 Nov 2009 12:19:10 GMT</pubDate>
<guid isPermaLink="true">http://www.filehelpers.com/forums/viewtopic.php?p=1765#1765</guid>
<description>Author: &lt;a href=&quot;http://www.filehelpers.com/forums/profile.php?mode=viewprofile&amp;u=2&quot; target=&quot;_blank&quot;&gt;Marcos&lt;/a&gt;&lt;br /&gt;
Posted: Fri Nov 20, 2009 12:19 (GMT 0)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hi there
&lt;br /&gt;

&lt;br /&gt;
There is a trick that u can try, something like using the MultiRecord engine but with there record classes
&lt;br /&gt;

&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;&lt;table width=&quot;90%&quot; align=&quot;center&quot; cellspacing=&quot;1&quot; cellpadding=&quot;2&quot; border=&quot;0&quot; class=&quot;code&quot;&gt;&lt;tr&gt; 	&lt;td class=&quot;code_header&quot; align=&quot;left&quot;&gt;Code:&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;	&lt;td class=&quot;code&quot; align=&quot;left&quot;&gt;
&lt;br /&gt;
&amp;#91;FixedLengthRecord&amp;#40;&amp;#41;&amp;#93; 
&lt;br /&gt;
public class CustomerBase
&lt;br /&gt;
&amp;#123; 
&lt;br /&gt;

&lt;br /&gt;
public int CustId
&lt;br /&gt;
&amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;get &amp;#123; return GetCustomerId&amp;#40;&amp;#41;; &amp;#125;
&lt;br /&gt;
&amp;#125; 
&lt;br /&gt;

&lt;br /&gt;
protected abstract int GetId&amp;#40;&amp;#41;;
&lt;br /&gt;

&lt;br /&gt;
public string Name
&lt;br /&gt;
&amp;#123;get &amp;#123; return GetName&amp;#40;&amp;#41;; &amp;#125;&amp;#125; 
&lt;br /&gt;
protected abstract int GetName&amp;#40;&amp;#41;;
&lt;br /&gt;
&amp;#125;
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
public class Customer1
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;#58;CustomerBase
&lt;br /&gt;
&amp;#123; 
&lt;br /&gt;

&lt;br /&gt;
&amp;#91;FieldFixedLength&amp;#40;5&amp;#41;&amp;#93; 
&lt;br /&gt;
private int _CustId; 
&lt;br /&gt;

&lt;br /&gt;
protected override int GetId&amp;#40;&amp;#41;
&lt;br /&gt;
&amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;return _CustId;
&lt;br /&gt;
&amp;#125;
&lt;br /&gt;

&lt;br /&gt;
&amp;#91;FieldFixedLength&amp;#40;20&amp;#41;&amp;#93; 
&lt;br /&gt;
&amp;#91;FieldTrim&amp;#40;TrimMode.Right&amp;#41;&amp;#93; 
&lt;br /&gt;
private string _Name; 
&lt;br /&gt;

&lt;br /&gt;
protected override int GetName&amp;#40;&amp;#41;
&lt;br /&gt;
&amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;return _Name;
&lt;br /&gt;
&amp;#125;
&lt;br /&gt;

&lt;br /&gt;
&amp;#125;
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
public class Customer2
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;#58;CustomerBase
&lt;br /&gt;
&amp;#123; 
&lt;br /&gt;

&lt;br /&gt;
&amp;#91;FieldFixedLength&amp;#40;15&amp;#41;&amp;#93; 
&lt;br /&gt;
private int _CustId; 
&lt;br /&gt;

&lt;br /&gt;
protected override int GetId&amp;#40;&amp;#41;
&lt;br /&gt;
&amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;return _CustId;
&lt;br /&gt;
&amp;#125;
&lt;br /&gt;

&lt;br /&gt;
&amp;#91;FieldFixedLength&amp;#40;20&amp;#41;&amp;#93; 
&lt;br /&gt;
&amp;#91;FieldTrim&amp;#40;TrimMode.Right&amp;#41;&amp;#93; 
&lt;br /&gt;
private string _Name; 
&lt;br /&gt;

&lt;br /&gt;
protected override int GetName&amp;#40;&amp;#41;
&lt;br /&gt;
&amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;return _Name;
&lt;br /&gt;
&amp;#125;
&lt;br /&gt;

&lt;br /&gt;
&amp;#125;
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;
&lt;br /&gt;

&lt;br /&gt;
I hope this helps
&lt;br /&gt;

&lt;br /&gt;
Best Regards&lt;br /&gt;_________________&lt;br /&gt;Happy Coding  &lt;img src=&quot;http://www.filehelpers.com/forums/images/smiles/icon_wink.gif&quot; alt=&quot;Wink&quot; border=&quot;0&quot; /&gt; 
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;Marcos &lt;/span&gt; ( &lt;a href=&quot;http://www.devoo.net&quot; target=&quot;_blank&quot;&gt;www.devoo.net&lt;/a&gt; )
&lt;br /&gt;
If you like the library support us with &lt;a href=&quot;http://www.amazon.com/gp/registry/wishlist/20HRDZWS0NJ6C/104-5286383-8923129?reveal=unpurchased&amp;amp;filter=all&amp;amp;sort=priority&amp;amp;layout=standard&amp;amp;x=10&amp;amp;y=9&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-weight: bold&quot;&gt;some books&lt;/span&gt;&lt;/a&gt; or &lt;a href=&quot;http://sourceforge.net/donate/index.php?group_id=152382&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-weight: bold&quot;&gt;monetary donations&lt;/span&gt;&lt;/a&gt; 
&lt;br /&gt;
Vote FileHelpers in &lt;a href=&quot;http://www.codeproject.com/csharp/filehelpers.asp&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-weight: bold&quot;&gt;Codeproject&lt;/span&gt;&lt;/a&gt; or Bookmark us in &lt;a href=&quot;http://del.icio.us/url/8a5fcb2ac66175c21971149b1ea3c58c&quot; target=&quot;_blank&quot;&gt;Delicious&lt;/a&gt; or &lt;a href=&quot;http://del.icio.us/url/a2c5ce278a2ab6e46dd10e9545ee426b&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;, Thanks !&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>Marcos</dc:creator>
<dc:subject>Developers Discussions</dc:subject>
<annotate:reference rdf:resource="http://www.filehelpers.com/forums/viewtopic.php?p=1764#1764" />
<comments>http://www.filehelpers.com/forums/posting.php?mode=quote&amp;p=1765</comments>
</item>
<item>
<title>Developers Discussions :: Using same class to cater to varying field length.</title>
<link>http://www.filehelpers.com/forums/viewtopic.php?p=1764#1764</link>
<pubDate>Fri, 20 Nov 2009 08:13:45 GMT</pubDate>
<guid isPermaLink="true">http://www.filehelpers.com/forums/viewtopic.php?p=1764#1764</guid>
<description>Author: &lt;a href=&quot;http://www.filehelpers.com/forums/profile.php?mode=viewprofile&amp;u=751&quot; target=&quot;_blank&quot;&gt;pradeeptp&lt;/a&gt;&lt;br /&gt;
Subject: Using same class to cater to varying field length.&lt;br /&gt;Posted: Fri Nov 20, 2009 8:13 (GMT 0)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hi All.
&lt;br /&gt;

&lt;br /&gt;
I have a class file called Customer2 in C# which has two fields as given in the following code.  I have a requirment where the Fixed Length file related to cutomer comes from two different sources. The number of Fields and their data types will remain the same, but the length of each field will be different. For example in Customer1.txt file i may have name field length as 10 and in Customer2.txt file I may have name field length as 15.  I know that I can create separate class files but I do not want to keep changing teh code when a different customer file with different field comes. 
&lt;br /&gt;

&lt;br /&gt;
I have explored FixedFileEngine class but couldnt get any success. How do I solve this issue with FileHelpers? THANKS
&lt;br /&gt;

&lt;br /&gt;
[FixedLengthRecord()]
&lt;br /&gt;
	public class Customer
&lt;br /&gt;
	{
&lt;br /&gt;
		[FieldFixedLength(5)]
&lt;br /&gt;
		public int CustId;
&lt;br /&gt;
		
&lt;br /&gt;
		[FieldFixedLength(20)]
&lt;br /&gt;
		[FieldTrim(TrimMode.Right)]
&lt;br /&gt;
		public string Name;
&lt;br /&gt;
                   }&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>pradeeptp</dc:creator>
<dc:subject>Developers Discussions</dc:subject>
<annotate:reference rdf:resource="http://www.filehelpers.com/forums/viewtopic.php?p=1764#1764" />
<comments>http://www.filehelpers.com/forums/posting.php?mode=quote&amp;p=1764</comments>
</item>
<item>
<title>Library Support :: RE: Where is the DLL(s)</title>
<link>http://www.filehelpers.com/forums/viewtopic.php?p=1763#1763</link>
<pubDate>Wed, 18 Nov 2009 22:10:57 GMT</pubDate>
<guid isPermaLink="true">http://www.filehelpers.com/forums/viewtopic.php?p=1763#1763</guid>
<description>Author: &lt;a href=&quot;http://www.filehelpers.com/forums/profile.php?mode=viewprofile&amp;u=2&quot; target=&quot;_blank&quot;&gt;Marcos&lt;/a&gt;&lt;br /&gt;
Posted: Wed Nov 18, 2009 22:10 (GMT 0)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Hi there
&lt;br /&gt;

&lt;br /&gt;
The last version is here
&lt;br /&gt;

&lt;br /&gt;
&lt;a href=&quot;http://www.devoo.net/FileHelpers_2.2_RC1.rar&quot; target=&quot;_blank&quot;&gt;http://www.devoo.net/FileHelpers_2.2_RC1.rar&lt;/a&gt;
&lt;br /&gt;

&lt;br /&gt;
The dll is the one that said .net 2.0
&lt;br /&gt;

&lt;br /&gt;
Best Regards&lt;br /&gt;_________________&lt;br /&gt;Happy Coding  &lt;img src=&quot;http://www.filehelpers.com/forums/images/smiles/icon_wink.gif&quot; alt=&quot;Wink&quot; border=&quot;0&quot; /&gt; 
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;Marcos &lt;/span&gt; ( &lt;a href=&quot;http://www.devoo.net&quot; target=&quot;_blank&quot;&gt;www.devoo.net&lt;/a&gt; )
&lt;br /&gt;
If you like the library support us with &lt;a href=&quot;http://www.amazon.com/gp/registry/wishlist/20HRDZWS0NJ6C/104-5286383-8923129?reveal=unpurchased&amp;amp;filter=all&amp;amp;sort=priority&amp;amp;layout=standard&amp;amp;x=10&amp;amp;y=9&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-weight: bold&quot;&gt;some books&lt;/span&gt;&lt;/a&gt; or &lt;a href=&quot;http://sourceforge.net/donate/index.php?group_id=152382&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-weight: bold&quot;&gt;monetary donations&lt;/span&gt;&lt;/a&gt; 
&lt;br /&gt;
Vote FileHelpers in &lt;a href=&quot;http://www.codeproject.com/csharp/filehelpers.asp&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-weight: bold&quot;&gt;Codeproject&lt;/span&gt;&lt;/a&gt; or Bookmark us in &lt;a href=&quot;http://del.icio.us/url/8a5fcb2ac66175c21971149b1ea3c58c&quot; target=&quot;_blank&quot;&gt;Delicious&lt;/a&gt; or &lt;a href=&quot;http://del.icio.us/url/a2c5ce278a2ab6e46dd10e9545ee426b&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;, Thanks !&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>Marcos</dc:creator>
<dc:subject>Library Support</dc:subject>
<annotate:reference rdf:resource="http://www.filehelpers.com/forums/viewtopic.php?p=1760#1760" />
<comments>http://www.filehelpers.com/forums/posting.php?mode=quote&amp;p=1763</comments>
</item>
<item>
<title>Library Support :: RE: Where is the DLL(s)</title>
<link>http://www.filehelpers.com/forums/viewtopic.php?p=1762#1762</link>
<pubDate>Wed, 18 Nov 2009 16:28:36 GMT</pubDate>
<guid isPermaLink="true">http://www.filehelpers.com/forums/viewtopic.php?p=1762#1762</guid>
<description>Author: &lt;a href=&quot;http://www.filehelpers.com/forums/profile.php?mode=viewprofile&amp;u=750&quot; target=&quot;_blank&quot;&gt;dgrm44&lt;/a&gt;&lt;br /&gt;
Posted: Wed Nov 18, 2009 16:28 (GMT 0)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Can someone please help? I thought this would be a simple answer to my question.&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>dgrm44</dc:creator>
<dc:subject>Library Support</dc:subject>
<annotate:reference rdf:resource="http://www.filehelpers.com/forums/viewtopic.php?p=1760#1760" />
<comments>http://www.filehelpers.com/forums/posting.php?mode=quote&amp;p=1762</comments>
</item>
<item>
<title>Library Support :: RE: FileLoadException: Could not load file or assembly</title>
<link>http://www.filehelpers.com/forums/viewtopic.php?p=1761#1761</link>
<pubDate>Tue, 17 Nov 2009 23:44:05 GMT</pubDate>
<guid isPermaLink="true">http://www.filehelpers.com/forums/viewtopic.php?p=1761#1761</guid>
<description>Author: &lt;a href=&quot;http://www.filehelpers.com/forums/profile.php?mode=viewprofile&amp;u=290&quot; target=&quot;_blank&quot;&gt;Matt Campbell&lt;/a&gt;&lt;br /&gt;
Posted: Tue Nov 17, 2009 23:44 (GMT 0)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
That is controlled and set by the system administrator of the server where your application is hosted; .NET permissions are normally set in the Machine.config file, which lives in C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG.  This is why you normally need to submit a support request to your hosting provider to have a .NET runtime permission changed.&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>Matt Campbell</dc:creator>
<dc:subject>Library Support</dc:subject>
<annotate:reference rdf:resource="http://www.filehelpers.com/forums/viewtopic.php?p=1755#1755" />
<comments>http://www.filehelpers.com/forums/posting.php?mode=quote&amp;p=1761</comments>
</item>
<item>
<title>Library Support :: Where is the DLL(s)</title>
<link>http://www.filehelpers.com/forums/viewtopic.php?p=1760#1760</link>
<pubDate>Tue, 17 Nov 2009 19:26:33 GMT</pubDate>
<guid isPermaLink="true">http://www.filehelpers.com/forums/viewtopic.php?p=1760#1760</guid>
<description>Author: &lt;a href=&quot;http://www.filehelpers.com/forums/profile.php?mode=viewprofile&amp;u=750&quot; target=&quot;_blank&quot;&gt;dgrm44&lt;/a&gt;&lt;br /&gt;
Subject: Where is the DLL(s)&lt;br /&gt;Posted: Tue Nov 17, 2009 19:26 (GMT 0)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
I just downloaded the filehelpers lib.
&lt;br /&gt;
In the quick start it says to reference the dll from the release folder.
&lt;br /&gt;
Where is this? What is the full path to the correct dll(s)? Thanks.&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>dgrm44</dc:creator>
<dc:subject>Library Support</dc:subject>
<annotate:reference rdf:resource="http://www.filehelpers.com/forums/viewtopic.php?p=1760#1760" />
<comments>http://www.filehelpers.com/forums/posting.php?mode=quote&amp;p=1760</comments>
</item>
<item>
<title>Library Support :: RE: Import csv without knowing layout</title>
<link>http://www.filehelpers.com/forums/viewtopic.php?p=1759#1759</link>
<pubDate>Mon, 16 Nov 2009 16:06:03 GMT</pubDate>
<guid isPermaLink="true">http://www.filehelpers.com/forums/viewtopic.php?p=1759#1759</guid>
<description>Author: &lt;a href=&quot;http://www.filehelpers.com/forums/profile.php?mode=viewprofile&amp;u=734&quot; target=&quot;_blank&quot;&gt;jcallas&lt;/a&gt;&lt;br /&gt;
Posted: Mon Nov 16, 2009 16:06 (GMT 0)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Thanks for responding Macros. I &lt;span style=&quot;font-weight: bold&quot;&gt;thought&lt;/span&gt; I had found the solution but I guess I ran into your &amp;quot;never finished the support for unknown files&amp;quot;. My files read in properly but when I try to output them they do not write correctly. (All the rows are missing the delimited character and quotes.) Here is my class definition
&lt;br /&gt;

&lt;br /&gt;
&amp;lt;FileHelpers.DelimitedRecord(&amp;quot;,&amp;quot;)&amp;gt; _
&lt;br /&gt;
Public Class DataRow
&lt;br /&gt;

&lt;br /&gt;
	&amp;lt;FileHelpers.FieldQuoted(FileHelpers.QuoteMode.OptionalForBoth, FileHelpers.MultilineMode.NotAllow)&amp;gt; _
&lt;br /&gt;
	Public Columns As String()
&lt;br /&gt;

&lt;br /&gt;
End Class
&lt;br /&gt;

&lt;br /&gt;
Any thoughts?
&lt;br /&gt;

&lt;br /&gt;
- Jason&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>jcallas</dc:creator>
<dc:subject>Library Support</dc:subject>
<annotate:reference rdf:resource="http://www.filehelpers.com/forums/viewtopic.php?p=1747#1747" />
<comments>http://www.filehelpers.com/forums/posting.php?mode=quote&amp;p=1759</comments>
</item>
<item>
<title>Library Support :: RE: FileLoadException: Could not load file or assembly</title>
<link>http://www.filehelpers.com/forums/viewtopic.php?p=1758#1758</link>
<pubDate>Sat, 14 Nov 2009 00:04:19 GMT</pubDate>
<guid isPermaLink="true">http://www.filehelpers.com/forums/viewtopic.php?p=1758#1758</guid>
<description>Author: &lt;a href=&quot;http://www.filehelpers.com/forums/profile.php?mode=viewprofile&amp;u=749&quot; target=&quot;_blank&quot;&gt;cliffordrwrobinson&lt;/a&gt;&lt;br /&gt;
Subject: FileLoadException: Could not load file or assembly&lt;br /&gt;Posted: Sat Nov 14, 2009 0:04 (GMT 0)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Matt.
&lt;br /&gt;

&lt;br /&gt;
I've looked but cannot find where those permissions are set. Can you help?&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>cliffordrwrobinson</dc:creator>
<dc:subject>Library Support</dc:subject>
<annotate:reference rdf:resource="http://www.filehelpers.com/forums/viewtopic.php?p=1755#1755" />
<comments>http://www.filehelpers.com/forums/posting.php?mode=quote&amp;p=1758</comments>
</item>
<item>
<title>Library Support :: RE: FileLoadException: Could not load file or assembly</title>
<link>http://www.filehelpers.com/forums/viewtopic.php?p=1757#1757</link>
<pubDate>Fri, 13 Nov 2009 23:53:13 GMT</pubDate>
<guid isPermaLink="true">http://www.filehelpers.com/forums/viewtopic.php?p=1757#1757</guid>
<description>Author: &lt;a href=&quot;http://www.filehelpers.com/forums/profile.php?mode=viewprofile&amp;u=749&quot; target=&quot;_blank&quot;&gt;cliffordrwrobinson&lt;/a&gt;&lt;br /&gt;
Subject: FileLoadException: Could not load file or assembly&lt;br /&gt;Posted: Fri Nov 13, 2009 23:53 (GMT 0)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Thank you Matt. I'll give that a try.&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>cliffordrwrobinson</dc:creator>
<dc:subject>Library Support</dc:subject>
<annotate:reference rdf:resource="http://www.filehelpers.com/forums/viewtopic.php?p=1755#1755" />
<comments>http://www.filehelpers.com/forums/posting.php?mode=quote&amp;p=1757</comments>
</item>
<item>
<title>Library Support :: RE: FileLoadException: Could not load file or assembly</title>
<link>http://www.filehelpers.com/forums/viewtopic.php?p=1756#1756</link>
<pubDate>Fri, 13 Nov 2009 22:47:11 GMT</pubDate>
<guid isPermaLink="true">http://www.filehelpers.com/forums/viewtopic.php?p=1756#1756</guid>
<description>Author: &lt;a href=&quot;http://www.filehelpers.com/forums/profile.php?mode=viewprofile&amp;u=290&quot; target=&quot;_blank&quot;&gt;Matt Campbell&lt;/a&gt;&lt;br /&gt;
Posted: Fri Nov 13, 2009 22:47 (GMT 0)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
FileHelpers does all of its work through Reflection, and therefore requires Reflection permission in order to be loaded into the AppDomain.  For security reasons, your host almost certainly does not have that permission enabled (it's a security best-practice for web hosting to allow the minimum permissions by default).
&lt;br /&gt;

&lt;br /&gt;
File a support request with your host asking whether your site can have Reflection permission enabled for ASP.NET.&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>Matt Campbell</dc:creator>
<dc:subject>Library Support</dc:subject>
<annotate:reference rdf:resource="http://www.filehelpers.com/forums/viewtopic.php?p=1755#1755" />
<comments>http://www.filehelpers.com/forums/posting.php?mode=quote&amp;p=1756</comments>
</item>
<item>
<title>Library Support :: FileLoadException: Could not load file or assembly</title>
<link>http://www.filehelpers.com/forums/viewtopic.php?p=1755#1755</link>
<pubDate>Fri, 13 Nov 2009 21:43:11 GMT</pubDate>
<guid isPermaLink="true">http://www.filehelpers.com/forums/viewtopic.php?p=1755#1755</guid>
<description>Author: &lt;a href=&quot;http://www.filehelpers.com/forums/profile.php?mode=viewprofile&amp;u=749&quot; target=&quot;_blank&quot;&gt;cliffordrwrobinson&lt;/a&gt;&lt;br /&gt;
Subject: FileLoadException: Could not load file or assembly&lt;br /&gt;Posted: Fri Nov 13, 2009 21:43 (GMT 0)&lt;br /&gt;
&lt;br /&gt;&lt;span class="postbody"&gt;
Just posted a website to goDaddy. They are running Windows 2003 Ent with IIS7. I've been developing on an XP pro machine and using FileHelper with no issues.
&lt;br /&gt;

&lt;br /&gt;
I get this error on the hosting server. I have a server running the same OS, but with IIS6. Has anyone seen this before, and found a solution?
&lt;br /&gt;

&lt;br /&gt;
Error dump.
&lt;br /&gt;

&lt;br /&gt;
Required permissions cannot be acquired. 
&lt;br /&gt;
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
&lt;br /&gt;

&lt;br /&gt;
Exception Details: System.Security.Policy.PolicyException: Required permissions cannot be acquired.
&lt;br /&gt;

&lt;br /&gt;
Source Error: 
&lt;br /&gt;

&lt;br /&gt;
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  
&lt;br /&gt;

&lt;br /&gt;
Stack Trace: 
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
[PolicyException: Required permissions cannot be acquired.]
&lt;br /&gt;
   System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet&amp;amp; denied, Boolean checkExecutionPermission) +7604211
&lt;br /&gt;
   System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet&amp;amp; denied, Int32&amp;amp; securitySpecialFlags, Boolean checkExecutionPermission) +57
&lt;br /&gt;

&lt;br /&gt;
[FileLoadException: Could not load file or assembly 'FileHelpers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=3e0c08d59cc3d657' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
&lt;br /&gt;
   System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp;amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
&lt;br /&gt;
   System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp;amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
&lt;br /&gt;
   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark&amp;amp; stackMark, Boolean forIntrospection) +127
&lt;br /&gt;
   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark&amp;amp; stackMark, Boolean forIntrospection) +142
&lt;br /&gt;
   System.Reflection.Assembly.Load(String assemblyString) +28
&lt;br /&gt;
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46
&lt;br /&gt;

&lt;br /&gt;
[ConfigurationErrorsException: Could not load file or assembly 'FileHelpers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=3e0c08d59cc3d657' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
&lt;br /&gt;
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +613
&lt;br /&gt;
   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +203
&lt;br /&gt;
   System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +105
&lt;br /&gt;
   System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178
&lt;br /&gt;
   System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +54
&lt;br /&gt;
   System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +600
&lt;br /&gt;
   System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +128
&lt;br /&gt;
   System.Web.Compilation.BuildManager.CompileCodeDirectories() +265
&lt;br /&gt;
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +320
&lt;br /&gt;

&lt;br /&gt;
[HttpException (0x80004005): Could not load file or assembly 'FileHelpers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=3e0c08d59cc3d657' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
&lt;br /&gt;
   System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +58
&lt;br /&gt;
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +512
&lt;br /&gt;
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +729
&lt;br /&gt;

&lt;br /&gt;
[HttpException (0x80004005): Could not load file or assembly 'FileHelpers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=3e0c08d59cc3d657' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
&lt;br /&gt;
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8896063
&lt;br /&gt;
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85
&lt;br /&gt;
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +333&lt;/span&gt;&lt;br /&gt;
</description>
<dc:creator>cliffordrwrobinson</dc:creator>
<dc:subject>Library Support</dc:subject>
<annotate:reference rdf:resource="http://www.filehelpers.com/forums/viewtopic.php?p=1755#1755" />
<comments>http://www.filehelpers.com/forums/posting.php?mode=quote&amp;p=1755</comments>
</item>
</channel>
</rss>
