<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Configuration and Deployment</title><link>http://forums.asp.net/26.aspx</link><description>Configuring and deploying ASP.NET applications - web.config, \bin, etc.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: New error: 'Could not load file or assembly...'</title><link>http://forums.asp.net/thread/1858013.aspx</link><pubDate>Tue, 14 Aug 2007 19:04:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1858013</guid><dc:creator>stupid</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1858013.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=1858013</wfw:commentRss><description>&lt;p&gt;WOOHOO!&amp;nbsp; figured it out.&amp;nbsp; After I reinstalled the &amp;#39;System.Transactions&amp;#39; into my GAC, it didn&amp;#39;t work, BUT - I forgot to restart VS, once I did... boom, it worked.&amp;nbsp; Thank you ASP.net forums!!!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;To install it into your GAC, simply navigate to:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;in your command prompt (not the .NET on, the regular one) and type in:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;gacutil -I &amp;quot;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Transactions.dll&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;or change it to whatever .dll file you need installed&lt;/p&gt;</description></item><item><title>Re: New error: 'Could not load file or assembly...'</title><link>http://forums.asp.net/thread/1857841.aspx</link><pubDate>Tue, 14 Aug 2007 17:42:13 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1857841</guid><dc:creator>stupid</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1857841.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=1857841</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;kckriegs:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;GAC reinstallation - use &amp;quot;gacutil.exe &lt;em&gt;assemblypath&lt;/em&gt; -i&amp;quot;, from your vs.net command prompt&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Ok, I tried typing in: &amp;#39;gacutil.exe c:\windows\assembly -i&amp;#39; into my VS2005 prompt, turns out that wasn&amp;#39;t the correct syntax.&amp;nbsp; THen I figured out it was:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Gacutil /i assembly path [options]&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;So I tried: &amp;#39;Gacutil /i C:\WINDOWS\assembly&amp;#39;&lt;/p&gt;
&lt;p&gt;And that didn&amp;#39;t work, so I tried &amp;#39;Gacutil /i C:\WINDOWS\assembly /f&amp;#39; to force it and that gave me the same error which is:&lt;/p&gt;
&lt;p&gt;&amp;#39;Failure adding assembly to the cache: The Filename, directory name, or volume label syntax is incorrect.&amp;#39;&lt;/p&gt;
&lt;p&gt;Now that is exactly the path I find my assemblies at now, what could be the problem, or what am I doing wrong?&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Thanks again everyone.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Ok, figured out how to add it to my GAC, and that is still not&amp;nbsp;it.&amp;nbsp; (its &amp;#39;gacutil -I &amp;quot;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Transactions.dll&amp;quot; from the regular prompt at C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin)&lt;/p&gt;
&lt;p&gt;Now it is either a &amp;#39;dependancy&amp;#39; as the error states, or something completely different.&amp;nbsp; Can I just puss an entire GAC assembly reinstall?&lt;/p&gt;</description></item><item><title>Re: New error: 'Could not load file or assembly...'</title><link>http://forums.asp.net/thread/1857769.aspx</link><pubDate>Tue, 14 Aug 2007 17:15:21 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1857769</guid><dc:creator>stupid</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1857769.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=1857769</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;SRIDHAR ANJANAPPA:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;Looks like the reference path has been alterered. Pls check your references path for the assembly in the VS .NET IDE.&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;How do I do that?&lt;/p&gt;</description></item><item><title>Re: New error: 'Could not load file or assembly...'</title><link>http://forums.asp.net/thread/1857738.aspx</link><pubDate>Tue, 14 Aug 2007 17:01:08 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1857738</guid><dc:creator>kckriegs</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1857738.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=1857738</wfw:commentRss><description>&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;&lt;a class="" href="http://diablopup.blogspot.com/2007/07/global-assembly-cache.html"&gt;What is the GAC&lt;/a&gt;?&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;GAC reinstallation - use &amp;quot;gacutil.exe &lt;em&gt;assemblypath&lt;/em&gt; -i&amp;quot;, from your vs.net command prompt&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;</description></item><item><title>Re: New error: 'Could not load file or assembly...'</title><link>http://forums.asp.net/thread/1857686.aspx</link><pubDate>Tue, 14 Aug 2007 16:35:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1857686</guid><dc:creator>SRIDHAR ANJANAPPA</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1857686.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=1857686</wfw:commentRss><description>&lt;p&gt;Looks like the reference path has been alterered. Pls check your references path for the assembly in the VS .NET IDE.&lt;/p&gt;</description></item><item><title>Re: New error: 'Could not load file or assembly...'</title><link>http://forums.asp.net/thread/1857625.aspx</link><pubDate>Tue, 14 Aug 2007 16:11:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1857625</guid><dc:creator>stupid</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1857625.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=1857625</wfw:commentRss><description>&lt;p&gt;Ok, I do see:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;em&gt;System.Transactions Version 2.0.0.0&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Is that the one I need?&amp;nbsp; Or is there a seperate one called &amp;#39;System.Transaction&amp;#39; with no S?&lt;/p&gt;
&lt;p&gt;Also, what is the GAC and how would I go about reinstalling it?&lt;/p&gt;
&lt;p&gt;Thanks for trying to help!&lt;/p&gt;</description></item><item><title>Re: New error: 'Could not load file or assembly...'</title><link>http://forums.asp.net/thread/1855700.aspx</link><pubDate>Mon, 13 Aug 2007 19:38:49 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1855700</guid><dc:creator>Bruce L</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1855700.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=1855700</wfw:commentRss><description>&lt;p&gt;System.Transaction should be part of .NET framework and it should be installed in the GAC.&amp;nbsp; I suspect your update somehow removed it from the GAC.&lt;/p&gt;
&lt;p&gt;Check to see if system.transaction is in the GAC. &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Open Windows Explorer&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Navigate to c:\windows\assembly&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Check if System.Transaction is there&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;If not, you may need to reinstall the assembly into the GAC.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>New error: 'Could not load file or assembly...'</title><link>http://forums.asp.net/thread/1855565.aspx</link><pubDate>Mon, 13 Aug 2007 18:33:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1855565</guid><dc:creator>stupid</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1855565.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=1855565</wfw:commentRss><description>&lt;p&gt;I just recently ran into a new error that is confusing me quite a bit.&amp;nbsp; I took a 3 week vacation and when I came back, I get this error, but ONLY on my local machine (never happened before I left).&amp;nbsp; The code runs fine on the production box.&amp;nbsp; Also, keep in mind that we do constant updates where I work, so that is what I am suspecting caused the problem.&amp;nbsp; Here is the error:&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;&lt;i&gt;Could not load file or assembly &amp;#39;System.Transactions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&amp;#39; or one of its dependencies. The module was expected to contain an assembly manifest.&lt;/i&gt; &lt;/h2&gt;
&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;b&gt;Description: &lt;/b&gt;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;&lt;b&gt;Exception Details: &lt;/b&gt;System.BadImageFormatException: Could not load file or assembly &amp;#39;System.Transactions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&amp;#39; or one of its dependencies. The module was expected to contain an assembly manifest.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Source Error:&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;
&lt;table class="" bgcolor="#ffffcc"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;code&gt;&lt;pre&gt;Line 477:        SqlCommand cmdFillData = new SqlCommand(strFillData, conExists);
Line 478:
&lt;font color="red"&gt;Line 479:        conExists.Open();
&lt;/font&gt;Line 480:
Line 481: &lt;/pre&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;One of my coworkers said that this could be caused by a machine.config file being altered, but my local machine never was.&amp;nbsp; Any ideas?&amp;nbsp; Thank you very much, and please let me know if there is anything I can clarify.&lt;/p&gt;</description></item></channel></rss>