Access denied error

T

tshad

I get this error periodically while testing my site and changing dlls.

**********************************************************************
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: Access is denied: 'position'.

Source Error:

Line 196: <add assembly="System.EnterpriseServices, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 198: <add assembly="*"/>
Line 199: </assemblies>
Line 200: </compilation>


Source File:
c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config Line:
198
Assembly Load Trace: The following information can be helpful to determine
why the assembly 'position' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = position
(Partial)
LOG: Appbase = file:///C:/Inetpub/wwwroot/staffingworkshop
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: position
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/staffingworkshop/840e1ca1/4a17cfe7/position.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/staffingworkshop/840e1ca1/4a17cfe7/position/position.DLL.
LOG: Attempting download of new URL
file:///C:/Inetpub/wwwroot/staffingworkshop/bin/position.DLL.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: position, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null
***************************************************************************

Now the access denied is nothing I am accessing and it isn't a configuration
problem.

Sometimes by just shutting down IIS, it fixes it. Other times I have to
reboot my machine. The error is not always on the same file - this time it
is Position, another time it will be Users.

Anyone know why this is happening and an easier way to reset it?

Thanks,

Tom
 
G

Guest

Looks like you have some wiring in the CLR load process all corrupted. Try
re-installing the .NET Framework. That might help.

Regards,
Pandu
 
Y

Yanesh Tyagi

This is bug in the .net framework. I encountered the same problem. And
after searching the net i found a solution which is very simple and
works fine.

Just turn your windows indexing service off.
1. Go to the control panel --> Administrative tool --> services. Scroll
down to the windows indexing service.
2. Right click on the indexing service and select Stop.

Yanesh Tyagi
 
G

Guest

There could also be a KB and a patch for this then.

Ensure you have all the latest .NET patches applied.

Regards,
Pandu
 
T

tshad

Yanesh Tyagi said:
This is bug in the .net framework. I encountered the same problem. And
after searching the net i found a solution which is very simple and works
fine.

Just turn your windows indexing service off.
1. Go to the control panel --> Administrative tool --> services. Scroll
down to the windows indexing service.
2. Right click on the indexing service and select Stop.

Is this only when the error happens or do I need it off all the time?

Don't I need this for the Find Documents to work?

Thanks,

Tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top