Programmatically setting URL Exceptions in ms pocket pc version 4.20

I have read and coded several examples that are supposed to change or set the url exceptions. I have validated the xml that is being processed I have also sent the xml doc using the rapiconfig.exe tool but the exceptions do not show up in the exceptions. If I use code to send it to MProcessConfigXML I get a return error code of 2147418096. Does anyone know if this is possible and if so what I am I missing, The xml doc being sent is being read from a file and is as follows:

<wap-provisioningdoc>
<characteristic type="CM_Mappings">
<characteristic type="1005">
<parm name="pattern" value="Http://*.mycompany-corp.com"/>
<parm name="network" value="{A1182988-0D73-439e-87AD-2A5B369F808B}"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>

I have also tried various verisons of the value "http"

*://*.mycompany-corp.com/* with no changes to mappings or through code the same error.



Answer this question

Programmatically setting URL Exceptions in ms pocket pc version 4.20

  • Kevin Hoffman

    I have read and coded several examples that are supposed to change or set the url exceptions. I have validated the xml that is being processed I have also sent the xml doc using the rapiconfig.exe tool but the exceptions do not show up in the exceptions. If I use code to send it to MProcessConfigXML I get a return error code of 2147418096. Does anyone know if this is possible and if so what I am I missing, The xml doc being sent is being read from a file and is as follows:

    <wap-provisioningdoc>
    <characteristic type="CM_Mappings">
    <characteristic type="1005">
    <parm name="pattern" value="Http://*.mycompany-corp.com"/>
    <parm name="network" value="{A1182988-0D73-439e-87AD-2A5B369F808B}"/>
    </characteristic>
    </characteristic>
    </wap-provisioningdoc>

    I have also tried various verisons of the value "http"

    *://*.mycompany-corp.com/* with no changes to mappings or through code the same error.


  • FernandoLeite

    Please do not cross post. Merging...

  • Programmatically setting URL Exceptions in ms pocket pc version 4.20