CM_Mappings

  • Thread starter Thread starter Peter Morris
  • Start date Start date
P

Peter Morris

I have read in other posts the following information:
Internet: {436EF144-B4FB-4863-A041-8F905A62C572}
Work: {A1182988-0D73-439e-87AD-2A5B369F808B}
WAP: {7022E968-5A97-4051-BC1C-C578E2FBA5D9}

So if I add an exception using the "Work" GUID does this mean that any URL
matching the exception mask will go through the "My Work Network"
connection?

I am confused because this is exactly what I did. Before I would get a GPRS
modem dialler dialog box, now I don't get that but the connection still
fails unless I set the Internet connection in the control panel to also use
"My Work Network".

Thanks

Pete
 
The default rule is that any hostname with a period in is classed as an
Internet address, a single hostname will be assumed to be a work (intranet)
host. Your rule will override this. The behaviour will depend on what
network connections you have setup to the Work destination network - what
type of network do you want to use?

In answer to your other question yes you should use the { and } around the
guid.

Peter
 
Hi Peter
The default rule is that any hostname with a period in is classed as an
Internet address, a single hostname will be assumed to be a work
(intranet) host. Your rule will override this

That is what I thought, and that makes perfect sense too.

The behaviour will depend on what network connections you have setup to
the Work destination network - what type of network do you want to use?

I'm not sure I understand your question so I will assume you are asking what
values I have set in the networks screen.

01: Select networks
"Programs that automatically connect to the Internet should connect using"
= "My ISP"

EDIT
Connection uses GPRSWAN

"Programs that automatically connect to a private network should connect
using"
= "My Work Network"

EDIT
[Proxy settings]
[X] This network connects to the Internet (checked)

Exceptions
MyServer.com/*

//Code used to add the visible exception

string url = "*://MyServer.com/*";
string workNetworkAddress = "{A1182988-0D73-439E-87AD-2A5B369F808B}";
string xml =
"<wap-provisioningdoc>" +
"<characteristic type=\"CM_Mappings\">" +
"<characteristic type=\"16777216\">" +
"<parm name=\"Pattern\" value=\"" + url + "\" />" +
"<parm name=\"Network\" value=\"" + workNetworkAddress + "\" />" +
"</characteristic>" +
"</characteristic>" +
"</wap-provisioningdoc>";
XmlConfigurationManager.ProcessXml(xml,
XmlConfigurationManager.ProcessXmlFlags.Process);

02: Select location, all default settings
[ ] Use dialling rules (unchecked)
Select where you are dialling from = "Mobile"

03: Network card

"My network card connects to:" = "The Internet"


I presume #3 is the problem? I noticed that when I cold boot + sit the PPC
in the cradle I am asked to what my network card connects, if the user
selects "Internet" nothing works, if the user selects "Work" then it
*sometimes* works. In my cases this worked, in at least 2 cases it didn't.
In a couple of cases it seems that the PPC was able to connect to the web
service but for some reason received the error "Unable to read data from
transport connection", the PPC app is CF 2.0 and the server is .NET 1.1.
In answer to your other question yes you should use the { and } around the
guid.

Cheers :-)


I appreciate your time, thanks!



Pete
 
Back
Top