[Mono-list] Server Error

Mark Gimelfarb mark@dawebber.com
Tue, 17 Aug 2004 22:25:16 -0500


No matter how weird this may sound, forcing a recompile of the application 
typically resolves this problem. In windoze world, I would do "iisreset" or 
touch the web.config file. Under Mono, similar technique might work. 

The error seems to do with private search bin paths for the application. My 
guess that the ASP.NET worker tries to locate the application DLL (probably due 
to a failed recompilation), but fails, and gives you an error. This part is a 
guess, though.

Regards,
        Mark.

Quoting tracy Barlow <tracy@aic.net.au>:

> I know this is not Mono, but has anyone developing in .NET come across
> this error before?
> 
> Server Error in '/ssl_registration' 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: 'registration'.
> 
> 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 'registration' could not be loaded.
> 
> === Pre-bind state information ===
> LOG: DisplayName = registration
>  (Partial)
> LOG: Appbase = file:///D:/clientweb/negativegear/ssl/registration
> 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: registration
> LOG: Attempting download of new URL
> file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/ssl_registration/54146a8d/bcc5269b/registration.DLL.
> LOG: Attempting download of new URL
> file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/ssl_registration/54146a8d/bcc5269b/registration/registration.DLL.
> LOG: Attempting download of new URL
> file:///D:/clientweb/negativegear/ssl/registration/bin/registration.DLL.
> LOG: Policy not being applied to reference at this time (private, custom,
> partial, or location-based assembly bind).
> LOG: Post-policy reference: registration, Version=1.0.1691.13727,
> Culture=neutral, PublicKeyToken=null
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>