Interested in Sitecore?

Apply for our Mentorship Program by emailing your resume to chris.williams@techguilds.com. Check out our ASP.NET QuickStart and C# QuckStart Libraries. Below is my latest articles.

Friday, December 14, 2007

Could not load file or assembly Access is denied

Microsoft in its wisdom does some silly things. Sometimes some machines will have this set
and other machines not by default. In any case, if you do not have this set it will not allow you
to include projects inside another tfs project.

This may also cause this to occur in other circumstances. If you get this error here is the solution.

  • Use windows explorer to go to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
  • Right click on the Temporary ASP.NET Files and click properties
  • On the securities tab give User full control

See article below:

Could not load file or assembly Access is denied

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

Hope this article is helpful. If you run across any issue that you fixed or found a link to a useful solution or tip email me at chrisw_88@hotmail.com or susan@clinchportal.com

1 comment:

aimworks said...

Thanks..

for winform application, you may need to look at the folder
C:\Documents and Settings\pqiu\Local Settings\Apps\2.0

you may need to close your app and start it over again after your change.