managed1227
New Member
I am trying to add claims based authorization to the standard ASP.NET MVC 4 project in VS2012. However, as soon as I add the ClaimsAuthorizationModule to web.config I get "Failed to load resource: the server responded with a status of 500 (Internal Server Error)" for a couple of js files and the site.css file. The page loads but obviously it's got no styling on it because of the missing files.My custom ClaimsAuthorizationManager seems to be getting run correctly, I can set a breakpoint in the CheckAccess function and it gets hit.These are the sections I added to the web.config:\[code\] <configuration> <configSections> <!--WIF 4.5 sections --> <section name="system.identityModel" type="System.IdentityModel.Configuration.SystemIdentityModelSection, System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> ... <system.webServer>... <modules> <!-- WIF 4.5 modules --> <add name="ClaimsAuthorizationModule" type="System.IdentityModel.Services.ClaimsAuthorizationModule, System.IdentityModel.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/> </modules> </system.webServer>... <!-- WIF 4.5 s.im section --> <system.identityModel> <identityConfiguration> <claimsAuthorizationManager type="MyClaimsAuthorizationManager, Web" /> </identityConfiguration> </system.identityModel> ...\[/code\]Am I missing something else from here?