Skip to content

Commit

Permalink
ConfigurationException class is obsolete. Used Exception intead.
Browse files Browse the repository at this point in the history
  • Loading branch information
mehrdada committed Aug 13, 2012
1 parent f500d53 commit b2ceb77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Expand Up @@ -46,7 +46,7 @@ private static string GetRequiredSetting(string name)
return setting;
}

throw new ConfigurationException(string.Format("Required setting '{0}' not found.", name));
throw new Exception(string.Format("Required setting '{0}' not found.", name));
}

public byte[] EncryptionKey
Expand Down
3 changes: 3 additions & 0 deletions AuthenticationExample.Web/Web.config
Expand Up @@ -9,6 +9,9 @@
<add key="webpages:Version" value="1.0.0.0"/>
<add key="ClientValidationEnabled" value="true"/>
<add key="UnobtrusiveJavaScriptEnabled" value="true"/>
<add key="cookieauthentication.encryptionkey" value="4885912E7B54600782D48FAEC62C85E5084E18CD276C1D39F6472D7E4592232B"/>
<add key="cookieauthentication.encryptioniv" value="71FBD1EC1D11C84474141079A7EAC188"/>
<add key="cookieauthentication.validationkey" value="B7CCC8A0C227294F2937B2A1BF3462D47E7F8CA69E35278CF4BAA7A700D0542EFC684D83456E1DD80A21146AA9DDEE54665137EEFA3D52A78BEB01A7B3FB34CB"/>
</appSettings>

<system.web>
Expand Down

0 comments on commit b2ceb77

Please sign in to comment.