Re: Problems connecting to internet via GPRS

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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


.



Relevant Pages

  • Re: Problems connecting to internet via GPRS
    ... da die optionale Ressource der Assembly, ... If the application forces the connection itself (for example via web ... Es kann keine Fehlermeldung angezeigt werden, ...
    (microsoft.public.dotnet.framework.compactframework)
  • Unknown column Array in where clause
    ... My error message: ... If I take out the "WHERE" then the query works fine, ... $connection = mysql_connect ... or die; ...
    (php.general)
  • Re: The ballet in charge of Neil
    ... you can educate the connection much more ... deep. ... She'd defend partially than die with Ramsi's tall waist. ...
    (sci.crypt)
  • Re: receiving But unable to send mail
    ... if Ultravision was not supplying your connection to the Internet ... the owner of the SMTP server ... Ask your home ISP if they have a port other than '25' for SMTP. ... As for sending taking several tries, is there an error message when it ...
    (microsoft.public.windows.vista.mail)
  • =?ISO-8859-1?Q?Re:_Wie_mit_=D6ffnen_und_Schlie=DFen_der_Datenbank_umg?= =?ISO-8859-1
    ... Connection con; ... private void createConnectionthrows DaoException { ... Mein Gedanke dahinter war der, dass so sichergestellt ist, dass die ...
    (de.comp.lang.java)