Could not load file or assembly or one of its dependencies. Access is

Could not load file or assembly or one of its dependencies. Access is

am 02.04.2008 23:10:12 von anandv81

Hi,

I've got a web application made in Asp.net 2.0 , C# and sql server
2005. Its hosted on a server farm (consisting of 3 webservers). Every
now and then we keep getting the following error

Could not load file or assembly 'xyz, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Access is denied.

I've googled this problem and as suggested checked the permissions on
the temp asp.net folder and excluded the folder from the antivirus
scan list. Inspite of doing the above 2 steps I still get the access
denied error. The occurence of the error is very inconsistent and I
couldn't find any pattern to it.

Can anyone suggest what could be causing this issue? Can the indexing
service also cause this problem?

Appreciate any help or ideas

Thanks in advance

Anand

RE: Could not load file or assembly or one of its dependencies. Access

am 03.04.2008 03:40:03 von pbromberg

Well, if the assembly is actually present at the specified location, this is
a permissions issue and you'll need to find out why the current Identity
credentials of your app prohibit loading of the specified assembly. If there
is any kind of synchronization going on "down on the farm" this could have an
adverse effect.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short Urls & more: http://ittyurl.net


"Andy" wrote:

> Hi,
>
> I've got a web application made in Asp.net 2.0 , C# and sql server
> 2005. Its hosted on a server farm (consisting of 3 webservers). Every
> now and then we keep getting the following error
>
> Could not load file or assembly 'xyz, Version=1.0.0.0,
> Culture=neutral, PublicKeyToken=null' or one of its dependencies.
> Access is denied.
>
> I've googled this problem and as suggested checked the permissions on
> the temp asp.net folder and excluded the folder from the antivirus
> scan list. Inspite of doing the above 2 steps I still get the access
> denied error. The occurence of the error is very inconsistent and I
> couldn't find any pattern to it.
>
> Can anyone suggest what could be causing this issue? Can the indexing
> service also cause this problem?
>
> Appreciate any help or ideas
>
> Thanks in advance
>
> Anand
>