Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Weird security configuration message

Reply
Thread Tools

Weird security configuration message

 
 
Big Daddy
Guest
Posts: n/a
 
      08-20-2010
Recently something has gone wrong with our website so that whenever
you try to access an aspx file, it shows the following error:

Server Error in '/RALSWeb' 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: 'RalsWeb'.

Source Error:

Line 256: <add assembly="System.EnterpriseServices,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/
>

Line 257: <add assembly="System.Web.Mobile,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/
>

Line 258: <add assembly="*"/>
Line 259: </assemblies>
Line 260:

Source File: c:\windows\microsoft.net\framework\v1.1.4322\Confi g
\machine.config Line: 258

Assembly Load Trace: The following information can be helpful to
determine why the assembly 'RalsWeb' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = RalsWeb
(Partial)
LOG: Appbase = file:///D:/MAS/RALSWeb
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: RalsWeb
LOG: Attempting download of new URL file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary
ASP.NET Files/ralsweb/2c471b81/1573bc63/RalsWeb.DLL.
LOG: Attempting download of new URL file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary
ASP.NET Files/ralsweb/2c471b81/1573bc63/RalsWeb/RalsWeb.DLL.
LOG: Attempting download of new URL file:///D:/MAS/RALSWeb/bin/RalsWeb.DLL.
LOG: Policy not being applied to reference at this time (private,
custom, partial, or location-based assembly bind).
LOG: Post-policy reference: RalsWeb, Version=4.3.13.0,
Culture=neutral, PublicKeyToken=null

________________________________________
Version Information: Microsoft .NET Framework Version:1.1.4322.2443;
ASP.NET Version:1.1.4322.2460

There’s a security configuration problem with the main DLL in our
application (RalsWeb). I have read a bunch of suggestions on the web
to fix the problem and have tried everything without any luck:

Verify that the indexing service is not running
Rebooting the server
Recycling the IIS app pool
Restarting IIS
Running aspnet_regiis –i
Deleting the app’s folder under C:\WINDOWS\Microsoft.NET\Framework
\v1.1.4322\Temporary ASP.NET Files
Giving full control to the “everyone” computer account for the folder
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET Files

IIS can serve up non-asp files just fine. The OS is Windows server
2003. When I delete my app’s folder under “C:\WINDOWS\Microsoft.NET
\Framework\v1.1.4322\Temporary ASP.NET Files” and then try to access
the site, it creates a new temporary folder there for my app but
doesn’t copy in the DLL. I tried creating another website on the same
box and it has the same problem.

Does anyone have any ideas?
Thanks in advance,

John
 
Reply With Quote
 
 
 
 
Rajeev Gopal
Guest
Posts: n/a
 
      08-20-2010


Did you try googling?
 
Reply With Quote
 
 
 
 
Big Daddy
Guest
Posts: n/a
 
      08-20-2010
On Aug 20, 5:50*am, Rajeev Gopal <rajeevg.n...@gmail.com> wrote:
> Did you try googling?


yes, I found many pages with people having the same problem, but none
of the possible solutions have helped.
 
Reply With Quote
 
Brian Cryer
Guest
Posts: n/a
 
      01-21-2011
On 20/08/2010 04:44, Big Daddy wrote:
> Recently something has gone wrong with our website so that whenever
> you try to access an aspx file, it shows the following error:
>
> Server Error in '/RALSWeb' 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: 'RalsWeb'.
>
> Source Error:
>
> Line 256:<add assembly="System.EnterpriseServices,
> Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/
>>

> Line 257:<add assembly="System.Web.Mobile,
> Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/
>>

> Line 258:<add assembly="*"/>
> Line 259:</assemblies>
> Line 260:
>
> Source File: c:\windows\microsoft.net\framework\v1.1.4322\Confi g
> \machine.config Line: 258
>
> Assembly Load Trace: The following information can be helpful to
> determine why the assembly 'RalsWeb' could not be loaded.
>
> === Pre-bind state information ===
> LOG: DisplayName = RalsWeb
> (Partial)
> LOG: Appbase = file:///D:/MAS/RALSWeb
> 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: RalsWeb
> LOG: Attempting download of new URL file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary
> ASP.NET Files/ralsweb/2c471b81/1573bc63/RalsWeb.DLL.
> LOG: Attempting download of new URL file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary
> ASP.NET Files/ralsweb/2c471b81/1573bc63/RalsWeb/RalsWeb.DLL.
> LOG: Attempting download of new URL file:///D:/MAS/RALSWeb/bin/RalsWeb.DLL.
> LOG: Policy not being applied to reference at this time (private,
> custom, partial, or location-based assembly bind).
> LOG: Post-policy reference: RalsWeb, Version=4.3.13.0,
> Culture=neutral, PublicKeyToken=null
>
> ________________________________________
> Version Information: Microsoft .NET Framework Version:1.1.4322.2443;
> ASP.NET Version:1.1.4322.2460
>
> There’s a security configuration problem with the main DLL in our
> application (RalsWeb). I have read a bunch of suggestions on the web
> to fix the problem and have tried everything without any luck:
>
> Verify that the indexing service is not running
> Rebooting the server
> Recycling the IIS app pool
> Restarting IIS
> Running aspnet_regiis –i
> Deleting the app’s folder under C:\WINDOWS\Microsoft.NET\Framework
> \v1.1.4322\Temporary ASP.NET Files
> Giving full control to the “everyone” computer account for the folder
> C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET Files
>
> IIS can serve up non-asp files just fine. The OS is Windows server
> 2003. When I delete my app’s folder under “C:\WINDOWS\Microsoft.NET
> \Framework\v1.1.4322\Temporary ASP.NET Files” and then try to access
> the site, it creates a new temporary folder there for my app but
> doesn’t copy in the DLL. I tried creating another website on the same
> box and it has the same problem.
>
> Does anyone have any ideas?
> Thanks in advance,
>
> John


Try a reboot. I've seen similar errors when an update to .net has been
downloaded and installed but the box not rebooted.

Failing that, I suggest downloading "Process Monitor" and use it to see
if you can identify which file(s) you are getting the access denied
error on as that error typically indicates a permissions problem.

You can download process monitor from hre:
http://technet.microsoft.com/en-us/s...rnals/bb896645

Hope this helps.
--
Brian Cryer
http://www.cryer.co.uk/brian

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: A Weird Appearance for a Weird Site Beauregard T. Shagnasty HTML 1 01-21-2011 04:17 PM
Re: A Weird Appearance for a Weird Site richard HTML 0 01-21-2011 07:10 AM
Re: A Weird Appearance for a Weird Site dorayme HTML 1 01-21-2011 06:51 AM
Re: A Weird Appearance for a Weird Site richard HTML 0 01-21-2011 06:46 AM
Caught Exception: System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicK Mike ASP .Net 5 08-15-2007 08:57 AM



Advertisments