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

Tech-Archive recommends: Fix windows errors by optimizing your registry




I was updating one of my .Net 2.0 web application on a customer's
server yesterday. after I replaced the new dll, I got a error when I
access it :


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


I did google it and found some articles. I tried to set the
permissions for GAC folder and ASP.Net temp folder and it didn't work.
Finally I found the new dll I copied to the server only have
permissions for admin and system. So I added read/execute permissions
for users and it's working.

Today I updated another .Net web application for another customer, and
it shows exactly same problem. this time I checked the new dll
permission immediately and found exactly same problem.

Both machine are windows 2003 ( belong to two different company in
different location) , I login them as non administrator ( but belong
to administrator group), the symptoms is when I copy new file ( by ftp
or unzip a zip file) to a windows 2003 server, the file doesn't have
read/exec permission for users group by default.

I think it's something new on 2003 ( I didn't see thise before),
probably caused by a 2003 update?


Can anyone confirm this?

.



Relevant Pages

  • Re: Trouble Launching Apps
    ... Are you sure the users have permissions on the Novell side? ... adding them to Windows Administrators group would not solve the problem. ... So the administrator group itslef doesn't seem to have access ... After setting up Windows2003TS server with Citrix Metaframe 3.0, ...
    (microsoft.public.windows.terminal_services)
  • Re: [PHP] Cant get PHP extension to Load
    ... Check permissions on all the intermediary directories from C: ... I configured a test server (Everything the ... faster so I attempted to move the production machine over to FreeTDS. ... The DLL file is definitely in ...
    (php.general)
  • Re: ASP Error 0178 - Please - way behind deadline... (yes - Ive done IUSR_XXX)
    ... Yes the DLL is in-proc and registered (I auto-assoc all dll's ... Authenticated Users, Interactive, IUSR_Machine, Server Operators ... Process) then you need to be looking at the permissions for the IWAM_ ... user account and not the IUSR_ user account. ...
    (microsoft.public.inetserver.iis.security)
  • Re: CDONTS creating error 800a01ad
    ... It's quite possible it's a DLL or permissions thing as I have CDONTS running ... just great on one of my domains which is hosted on 2003 server and runs ...
    (microsoft.public.inetserver.asp.general)
  • Re: Error in VC++ .NET Service
    ... The question is - does the account have enough privileges on the DLL ... check permissions on the dll itself if it doesn't use a COM server. ...
    (microsoft.public.dotnet.framework.interop)