<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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>Solution to &amp;quot;Could not load file or assembly or one of its dependencies. Access is denied&amp;quot;</title><link>http://blogs.msdn.com/sayanghosh/archive/2007/04/21/solution-to-could-not-load-file-or-assembly-or-one-of-its-dependencies-access-is-denied.aspx</link><description>This is one of the most irritating build errors a developer might see, especially while setting up an existing .NET application on a fresh machine. I have found one solution that works always. Go to "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Solution to "Could not load file or assembly or one of its dependencies. Access is denied"</title><link>http://blogs.msdn.com/sayanghosh/archive/2007/04/21/solution-to-could-not-load-file-or-assembly-or-one-of-its-dependencies-access-is-denied.aspx#2398973</link><pubDate>Thu, 03 May 2007 23:25:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2398973</guid><dc:creator>Thogek</dc:creator><description>&lt;p&gt;Good idea, wish I'd thought of it. &amp;nbsp;Unfortunately, in my specific case (where I'm getting the error message in the title above), this had no effect. &amp;nbsp;:-(&lt;/p&gt;
&lt;p&gt;I have the feeling that there are multiple issues that can lead to this symptom, and I seem to be stumbling across all of 'em in the last couple of weeks...&lt;/p&gt;</description></item><item><title>re: Solution to "Could not load file or assembly or one of its dependencies. Access is denied"</title><link>http://blogs.msdn.com/sayanghosh/archive/2007/04/21/solution-to-could-not-load-file-or-assembly-or-one-of-its-dependencies-access-is-denied.aspx#3667847</link><pubDate>Tue, 03 Jul 2007 09:39:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3667847</guid><dc:creator>Mafioso</dc:creator><description>&lt;p&gt;Dear sayangh &lt;/p&gt;
&lt;p&gt;I have been facing this problem for a while , and suddenly i have found your solution .... am gonna try it and see what happens ...&lt;/p&gt;
&lt;p&gt;Thank you in advance ...&lt;/p&gt;</description></item><item><title>re: Solution to "Could not load file or assembly or one of its dependencies. Access is denied"</title><link>http://blogs.msdn.com/sayanghosh/archive/2007/04/21/solution-to-could-not-load-file-or-assembly-or-one-of-its-dependencies-access-is-denied.aspx#6886765</link><pubDate>Fri, 28 Dec 2007 20:12:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6886765</guid><dc:creator>lamplove</dc:creator><description>&lt;p&gt;Trying to convert a project to VS2005 and running into this error using a dev box with multiple deployment servers...this worked for me. TX!&lt;/p&gt;</description></item><item><title>re: Solution to "Could not load file or assembly or one of its dependencies. Access is denied"</title><link>http://blogs.msdn.com/sayanghosh/archive/2007/04/21/solution-to-could-not-load-file-or-assembly-or-one-of-its-dependencies-access-is-denied.aspx#9834510</link><pubDate>Wed, 15 Jul 2009 20:58:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9834510</guid><dc:creator>serious</dc:creator><description>&lt;p&gt;I was experiencing this issue because I had set my code to impersonate a user, but that user account hadn't been added to the computer I develop on.&lt;/p&gt;
</description></item><item><title>re: Solution to "Could not load file or assembly or one of its dependencies. Access is denied"</title><link>http://blogs.msdn.com/sayanghosh/archive/2007/04/21/solution-to-could-not-load-file-or-assembly-or-one-of-its-dependencies-access-is-denied.aspx#9834511</link><pubDate>Wed, 15 Jul 2009 20:59:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9834511</guid><dc:creator>serious</dc:creator><description>&lt;p&gt;I was experiencing this issue because I had set my code to impersonate a user, but that user account hadn't been added to my development box.&lt;/p&gt;
</description></item><item><title>re: Solution to "Could not load file or assembly or one of its dependencies. Access is denied"</title><link>http://blogs.msdn.com/sayanghosh/archive/2007/04/21/solution-to-could-not-load-file-or-assembly-or-one-of-its-dependencies-access-is-denied.aspx#9844611</link><pubDate>Wed, 22 Jul 2009 12:13:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9844611</guid><dc:creator>msdnabb</dc:creator><description>&lt;p&gt;Thanks for the post. got me in the right direction.&lt;/p&gt;
&lt;p&gt;Further to the article (and what @serious mentioned),&lt;/p&gt;
&lt;p&gt;adding your impersonate user to the IIS_WPG on the local machine should solve the problem. It grants your impersonate user the correct permissions on the server file system without having to modify the folder security and open up control to large numbers of users.&lt;/p&gt;
&lt;p&gt;For more info check out: &lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/kwzs111e.aspx"&gt;http://msdn.microsoft.com/en-us/library/kwzs111e.aspx&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>