Hi,

Nothing is obvious off the top of my head, but here's a few things to 
consider/report back:
- Just to confirm, the server itself didn't change, just the application?
- Are the application files hosted locally or on a network share?
- Is the CAS dll in the application's bin directory or somewhere else?
- What .net trust model is the app running under?

Unfortunately the error tends to cover a bunch of things. You might check 
http://stackoverflow.com/questions/523636/system-web-aspnethostingpermission-securityexception-when-trying-to-use-managedf
 which has some suggestions which has worked for others.

You might also look into Microsoft's SysInternals Process Monitor. It will 
produce a ton of data that you'll have to filter through, but it's usually a 
good tools when nothing else can be found.

Good luck,
John

From: Faisal Memon [mailto:fmemo...@gmail.com]
Sent: Thursday, July 4, 2013 10:07 AM
To: cas-user@lists.jasig.org
Subject: [cas-user] Config error after .net app upgrade

Hello
Our .net application was upgraded today, after deployment of necessary file we 
are getting the below error on windows 2008 IIS7, SOUNDS LIKE PERMISSIONS BUT 
WHERE
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: Request for the permission of type 
'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=b77a5c561934e089' failed.

Source Error:

Line 180:      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, 
System.Web.Extensions, Version=3.5.0.0, Culture=neutral, 
PublicKeyToken=31BF3856AD364E35" />

Line 181:      <!-- ASP.Net AJAX Element ends -->

Line 182:      <add name="DotNetCasClient" 
type="DotNetCasClient.CasAuthenticationModule,DotNetCasClient" />

Line 183:    </httpModules>

Line 184:    <!--  GLOBALIZATION





--
You are currently subscribed to 
cas-user@lists.jasig.org<mailto:cas-user@lists.jasig.org> as: 
jgas...@ewu.edu<mailto:jgas...@ewu.edu>
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to