Server Error in '/' Application.

Configuration section "FederationConfig" not found

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Configuration.ConfigurationErrorsException: Configuration section "FederationConfig" not found

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:


[ConfigurationErrorsException: Configuration section "FederationConfig" not found]
   dk.nita.saml20.config.ConfigurationInstance`1.GetConfig() in C:\Users\Birk\work\SkoleOgArbeidsliv\skole-og-arbeidsliv\dk.nita.saml20\Config\ConfigurationReader.cs:145
   dk.nita.saml20.protocol.Saml20SignonHandler..ctor() in C:\Users\Birk\work\SkoleOgArbeidsliv\skole-og-arbeidsliv\dk.nita.saml20\Protocol\Saml20SignonHandler.cs:44

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +86
   System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +230
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +67
   System.Web.Compilation.BuildResultCompiledType.CreateInstance() +8783975
   System.Web.UI.SimpleHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +76
   System.Web.UI.SimpleHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) +38
   System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +307
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155


Version Information: Microsoft .NET Framework Version:2.0.50727.9055; ASP.NET Version:2.0.50727.9051