Web.config error

Jul 9, 2011 at 12:59 AM

When trying to port the functionality over to my own site, I get the following error on the <serviceKeys> element in my web.config:

The element 'issuerTokenResolver' cannot contain child element 'serviceKeys' because the parent element's content model is empty.

 <service name="OAuth">
        <add value="uri:wazmobiletoolkit" />
        <add type="Microsoft.Samples.DPE.OAuth.Tokens.SimpleWebTokenHandler, Microsoft.Samples.DPE.OAuth" />
      <issuerTokenResolver type="Microsoft.Samples.DPE.OAuth.ProtectedResource.ConfigurationBasedIssuerTokenResolver, Microsoft.Samples.DPE.OAuth">
          <add serviceName="uri:wazmobiletoolkit" serviceKey="{key}" />
      <issuerNameRegistry type="Microsoft.Samples.DPE.OAuth.ProtectedResource.SimpleWebTokenTrustedIssuersRegistry, Microsoft.Samples.DPE.OAuth">
          <add issuerIdentifier="https://{my-namespace}.accesscontrol.windows.net/" name="WazMobileToolkit" />



Jan 20, 2012 at 8:21 PM

Any solution to why this happened?

Jun 3, 2012 at 6:23 AM

johnshadowdog did you resolve this issue? I've exactly the same issue.


Jan 8, 2013 at 4:52 AM

i too have the same problem persisting please anybody reply sooonn..........