Internal Server Error - System.IdentityModel error when launching web application

1 follower

Problem Applications which handle their own authorization or defer directly to off-platform authorization services like Site Minder sometimes encounter an error on execution 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed. If you navigate to the app in IIS Manager and tr to edit configuration, you will see an error like: There was an error while performing this operation. Details: Filename: \\?\ApprendaPlatform\SiteData\sampleapp\root\web.config Line number: 4 Error: There is a duplicate 'system.identityModel' section defined. The line in question looks like: <section name="system.identityModel" type="System.IdentityModel.Configuration.SystemIdentityModelSection, System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> Removing this "duplicate" line leads to the app failing to promote: Configuration system failed to initialize Unrecognized configuration section system.identityModel. (C:\ApprendaPlatform\SiteData\sup139willnotpromote--v1\root\web.config line 699) Solution The platform has a case-sensitive filter for system.IdentityModel which can be defeated by changing the PublicKeyToken value to lower case: <section name="system.identityModel" type="System.IdentityModel.Configuration.SystemIdentityModelSection, System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

Show all All Planned Not planned Completed Answered No status

Nothing to see here yet