Click here to Skip to main content
15,895,799 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When i am runing my application i am geting error kindly solve my problem.

What I have tried:


<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->

<configuration>
<configsections>
<sectiongroup name="dotNetOpenAuth" type="DotNetOpenAuth.Configuration.DotNetOpenAuthSection, DotNetOpenAuth.Core">




<appsettings>
<add key="webpages:Version" value="2.0.0.0">
<add key="webpages:Enabled" value="false">
<add key="PreserveLoginUrl" value="true">
<add key="ClientValidationEnabled" value="true">
<add key="UnobtrusiveJavaScriptEnabled" value="true">


<system.web>

<httpruntime targetframework="4.5">

<compilation debug="true" targetframework="4.5">

<pages>
<namespaces>
<add namespace="System.Web.Helpers">
<add namespace="System.Web.Mvc">
<add namespace="System.Web.Mvc.Ajax">
<add namespace="System.Web.Mvc.Html">
<add namespace="System.Web.Routing">
<add namespace="System.Web.WebPages">
<add namespace="GridMvc">



<system.webserver>
<validation validateintegratedmodeconfiguration="false">

<handlers>
<remove name="ExtensionlessUrlHandler-Integrated-4.0">
<remove name="OPTIONSVerbHandler">
<remove name="TRACEVerbHandler">
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" precondition="integratedMode,runtimeVersionv4.0">

<runtime>
<assemblybinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentassembly>
<assemblyidentity name="System.Web.Mvc" publickeytoken="31bf3856ad364e35" culture="neutral">
<bindingredirect oldversion="0.0.0.0-4.0.0.0" newversion="4.0.0.0">

<dependentassembly>
<assemblyidentity name="System.Web.WebPages" publickeytoken="31bf3856ad364e35" culture="neutral">
<bindingredirect oldversion="0.0.0.0-2.0.0.0" newversion="2.0.0.0">

<dependentassembly>
<assemblyidentity name="Newtonsoft.Json" publickeytoken="30ad4fe6b2a6aeed" culture="neutral">
<bindingredirect oldversion="0.0.0.0-6.0.0.0" newversion="6.0.0.0">

<dependentassembly>
<assemblyidentity name="WebGrease" publickeytoken="31bf3856ad364e35" culture="neutral">
<bindingredirect oldversion="0.0.0.0-1.5.2.14234" newversion="1.5.2.14234">

<dependentassembly>
<assemblyidentity name="System.Web.WebPages.Razor" publickeytoken="31bf3856ad364e35" culture="neutral">
<bindingredirect oldversion="0.0.0.0-2.0.0.0" newversion="2.0.0.0">

<dependentassembly>
<assemblyidentity name="System.Web.Helpers" publickeytoken="31bf3856ad364e35" culture="neutral">

<bindingredirect oldversion="0.0.0.0-4.1.0.0" newversion="4.1.0.0">


<!-- This prevents the Windows Event Log from frequently logging that HMAC1 is being used (when the other party needs it). --><legacyhmacwarning enabled="0"><!-- When targeting ASP.NET MVC 3, this assemblyBinding makes MVC 1 and 2 references relink
to MVC 3 so libraries such as DotNetOpenAuth that compile against MVC 1 will work with it.
<assemblybinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentassembly>
<assemblyidentity name="System.Web.Mvc" publickeytoken="31bf3856ad364e35">
<bindingredirect oldversion="1.0.0.0-3.0.0.0" newversion="3.0.0.0">


-->

<system.net>
<defaultproxy enabled="true">
<settings>
<!-- This setting causes .NET to check certificate revocation lists (CRL)
before trusting HTTPS certificates. But this setting tends to not
be allowed in shared hosting environments. -->
<!--<servicepointmanager checkcertificaterevocationlist="true">-->

<dotnetopenauth>
<messaging>
<untrustedwebrequest>
<whitelisthosts>
<!-- Uncomment to enable communication with localhost (should generally not activate in production!) -->
<!--<add name="localhost">-->



<!-- Allow DotNetOpenAuth to publish usage statistics to library authors to improve the library. -->
<reporting enabled="true">
<!-- This is an optional configuration section where aspects of dotnetopenauth can be customized. --><!-- For a complete set of configuration options see http://www.dotnetopenauth.net/developers/code-snippets/configuration-options/ --><openid>
<relyingparty>
<security requiressl="false">
<!-- Uncomment the trustedProviders tag if your relying party should only accept positive assertions from a closed set of OpenID Providers. -->
<!--<trustedproviders rejectassertionsfromuntrustedproviders="true"> <add endpoint="https://www.google.com/accounts/o8/ud">
-->

<behaviors>
<!-- The following OPTIONAL behavior allows RPs to use SREG only, but be compatible
with OPs that use Attribute Exchange (in various formats). -->
<add type="DotNetOpenAuth.OpenId.RelyingParty.Behaviors.AXFetchAsSregTransform, DotNetOpenAuth.OpenId.RelyingParty">

<uri>
<!-- The uri section is necessary to turn on .NET 3.5 support for IDN (international domain names),
which is necessary for OpenID urls with unicode characters in the domain/host name.
It is also required to put the Uri class into RFC 3986 escaping mode, which OpenID and OAuth require. -->
<idn enabled="All">
<iriparsing enabled="true">
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900