Ask a Question related to ASP.NET Security, Design and Development.
-
Dejan Bujak #1
Weird problem with assembly (Access denied)
I have few components (dlls) I'm using that have been written by other developers on my team. I add reference to them in my asp.net project and it all worked fine (these are not GAC assemblies).
Lately, I would get error message 'Access denied' (please look at the bottom for the whole message). I can't work with the project any more. If I mess enough (remove reference, add it again, copy files, close VS, reboot computer...) it starts working again, and then suddenly stops and I get the same error message. Weird thing is that sometimes it fails on one component, other times on another, can't find a pattern. Sometimes I'd work on the project for hours and it would work OK, then I just stops and starts giving me the error message.
This is a asp.net project that is using a web service (web reference) and the web service is using these dlls.
This is extremely weird. I searched Microsoft for hours and found some things on components that are published in GAC, but these aren't. I would greatly appreciate anybody's help, maybe even a suggestion what to try and do.
Thanks in advance!!!
Server Error in '/Greyco' Application.
--------------------------------------------------------------------------------
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: 'UserManager'.
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:\winnt\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 'UserManager' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = UserManager
(Partial)
LOG: Appbase = file:///C:/Inetpub/wwwroot/Greyco
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: UserManager
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/greyco/b08686a3/6ba0ff47/UserManager.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/greyco/b08686a3/6ba0ff47/UserManager/UserManager.DLL.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/Greyco/bin/UserManager.DLL.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: UserManager, Version=1.0.1201.15670, Culture=neutral, PublicKeyToken=null
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
Dejan Bujak Guest
-
contribute problem - access denied file may not existpermission problem
Recieving the following error message - "access denied file may not exist , or there could be a permission problem" this happened this morning ,... -
Assembly acessing StrongNamed assembly getting "Access Denied" intermitently
I have an ASP.NET application that is using a code library our development team uses. The code library is a few web controls in a Strong Named... -
VB.NET Assembly denied access to System.Web. Help!
I have a VB6 Windows Form application that calls a VB.NET Assembly. I can successfully call any test method in the assembly (like return "hello... -
Access denied problem, please help
Hi, I am trying to upload something into a directory on my server but always i am getting a permission denied ONLY from this server...i have tried... -
Uploading problem = weird warning (was: access denied problem.....)
Hi, I had a problem where my upload form was not working on our production server but was working on two other servers, after checking the...



Reply With Quote

