Re: Problems connecting to internet via GPRS
- From: "Neil Cowburn" <neilc@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 6 Jul 2007 11:11:51 +0100
The error message is basically saying that it can't find System.SR.dll so there's no error message. It would be useful if the OP included the ErrorCode associated with the WebException.
--Neil
--
----------------------------------------
Neil Cowburn
Principal Partner
OpenNETCF Consulting, LLC.
Managed Code in the Embedded World
http://www.opennetcf.com/
http://www.smartdeviceframework.com/
----------------------------------------
"Christian Resma Helle" <xtianism@xxxxxxxxx> wrote in message news:%23zh0LL7vHHA.4800@xxxxxxxxxxxxxxxxxxxxxxx
What does:
Es kann keine Fehlermeldung angezeigt werden,
da die optionale Ressource der Assembly, die die Fehlermeldung
enthält, nicht gefunden wurde.__bei
Translate to?
--
Regards,
Christian Resma Helle
http://christian-helle.blogspot.com
"Roman Mellenberger" <roman.mellenberger@xxxxxxxxxxxxxxxx> wrote in message news:1183711700.117190.221620@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Our application is running on windows mobile 2005 on a Symbol MC70
with .net compact framework 2.0 SP2. Since a few days I have strange
troubles connecting to the internet via GPRS:
- If I connect manually to GPRS and then start the application
everything runs just fine
- If the application forces the connection itself (for example via web
request) GPRS connection will be established but all further request
from the app fail. If i go to the Internet explorer application,
leaving my application running and request the same URL there is also
no problem.
(Connecting via ActiveSync runs fine at all)
Here is the code i am using to force the connection in the app:
// Try to get answer
try
{
WebRequest request = WebRequest.Create(uri); //URI =
http://xx.xxx.xxx.xx/test (xx is an official IP address)
request.Timeout = 8000;
HttpWebResponse response =
(HttpWebResponse)request.GetResponse();
if (response.StatusCode == HttpStatusCode.OK)
{
// Return result
return 1;
}
else
{
CUtil.Log("CCommWatcher.HomeConnectCheck", "6",
string.Format("Could not connect to home server URI:{0} ",
uri.ToString()), CUtil.logLevel.information);
return 0;
}
}
catch (Exception ex)
{
CUtil.Log("CCommWatcher.HomeConnectCheck", "7",
string.Format("Could not connect to home server URI:{0} Exception{1}",
uri.ToString(), ex.ToString()), CUtil.logLevel.information);
return 0;
}
Here is the error message I get:
System.Net.WebException: Es kann keine Fehlermeldung angezeigt werden,
da die optionale Ressource der Assembly, die die Fehlermeldung
enthält, nicht gefunden wurde.__bei
System.Net.HttpWebRequest.finishGetResponse()__bei
System.Net.HttpWebRequest.GetResponse()__bei
InfoResearchBern.LTT.Comm.CCommWatcher.HomeConnectCheck()__bei
InfoResearchBern.LTT.Comm.CCommWatcher.HomeConnection()__bei
InfoResearchBern.LTT.Comm.CCommWatcher.CheckStatusAll()__bei
InfoResearchBern.LTT.Comm.CCommWatcher.CommunicationThread()__
Is there any suggest?
Best regards
Roman
.
- Follow-Ups:
- Re: Problems connecting to internet via GPRS
- From: Roman Mellenberger
- Re: Problems connecting to internet via GPRS
- References:
- Problems connecting to internet via GPRS
- From: Roman Mellenberger
- Re: Problems connecting to internet via GPRS
- From: Christian Resma Helle
- Problems connecting to internet via GPRS
- Prev by Date: Re: Problems connecting to internet via GPRS
- Next by Date: Re: Windows Mobile 6 SDK Refresh for Windows Mobile 5
- Previous by thread: Re: Problems connecting to internet via GPRS
- Next by thread: Re: Problems connecting to internet via GPRS
- Index(es):
Relevant Pages
|