This project is read-only.

Web.config error

Jul 9, 2011 at 1: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}" name="WazMobileToolkit" />



Jan 20, 2012 at 9:21 PM

Any solution to why this happened?

Jun 3, 2012 at 7:23 AM

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


Jan 8, 2013 at 5:52 AM

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