That other Access Denied error - the one with - add assembly="*" - PART 2 - Ed's Blog
in

dotnet.org.za

South African .NET Developer Portal

Ed's Blog

Object reference not set to an instance of an object

That other Access Denied error - the one with - add assembly="*" - PART 2

In a previous post I gave a solution for this error (an example error message can also be found in the post).

Recently I came across the error again and this time the fix in my previous post did not solve the problem. In fact, the dll's in the temporary folders that the error message said was locked, did not even exist. It turned out that the server administrator had been playing around with the access rights on the website and that the ASPNET account no longer had any permissions on the bin folder of the website. Giving access to this account solved the problem without having to change anything on the indexing service on the machine.

Published Jan 13 2005, 08:43 AM by eduard
Filed under:

Comments

 

TrackBack said:

January 13, 2005 9:08 AM
 

Keith Jackson said:

This still hasn't fully fixed this consistently annoying problem. I have numerous references within a 29 project solution and I'm having to reboot VS.NET (which takes about 15 mins each time) to resolve at the moment after almost every build.
February 10, 2005 5:21 PM
 

mike said:

i have found that while running StateServer as the sessionState mode, if you make a change to the web.config file or build a sub-project within a solution, i recieve this error. re-building the entire solution usually gets me around this issue.
May 9, 2005 4:34 PM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add
Powered by Community Server (Commercial Edition), by Telligent Systems