Advertisement

05.16.2008 at 12:11PM PDT, ID: 23409457 | Points: 500
[x]
Attachment Details

Asp.net in web farm environment

Asked by npdodge in Microsoft IIS Web Server, Web Servers, .Net Application Servers

Tags: Microsoft, IIS 6.0, ASP.NET

I posted this in another zone but it was suggested that I post in the IIS zone also.

We have a web farm setup using 3 windows 2003 servers with IIS 6.0.  The actual web files are stored on a shared directory located on a fourth server.  We moved an asp.net app called Xigla Absolute Video Channel (www.xigla.com) from a single server running Windows 2003 and IIS 6 to the web farm and now we receive the following error when trying to browse to the site on the new web farm.

Please speak in Layman's terms here as I am not a developer and have little experience with asp.net in this type of environment.
Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
Server Error in '/' Application.
--------------------------------------------------------------------------------
 
Security Exception 
Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. 
 
Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
 
Source Error: 
 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  
 
Stack Trace: 
 
 
[SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
   System.Reflection.Assembly._GetType(String name, Boolean throwOnError, Boolean ignoreCase) +0
   System.Reflection.Assembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase) +41
   System.Web.UI.Util.GetTypeFromAssemblies(ICollection assemblies, String typeName, Boolean ignoreCase) +119
   System.Web.UI.TemplateParser.GetType(String typeName, Boolean ignoreCase, Boolean throwOnError) +179
   System.Web.UI.TemplateParser.ProcessInheritsAttribute(String baseTypeName, String codeFileBaseTypeName, String src, Assembly assembly) +95
   System.Web.UI.TemplateParser.PostProcessMainDirectiveAttributes(IDictionary parseData) +192
 
 
 
 
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
[+][-]05.17.2008 at 08:21AM PDT, ID: 21589664

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628