Hi,
I have a mobile app in C# .Net CF 2.0. The app calls a web service that writes/reads from/to SQL server database. We use two types of devices HTC TyTn 2 (on Orange) and XDA Stellar (on O2). Everything works fine but randomly as user tries to send an order they get back an error
"An error message cannot be displayed because an optional resource assembly containing it cannot be found"
This error is related to missing System_SR.cab but in this case it isn't. All other errors display ok. I think the network connection drops but not sure
I can tell the error is not coming from the web service method we call. It is happening before it is invoked
I write the exception to the database so the extra information I have about it is
==============
Outer Exception
=============
Type: System.Net.WebException
StackTrace:
at System.Net.HttpWebRequest.
finishGetR
esponse()
at System.Net.HttpWebRequest.
GetRespons
e()
at System.Web.Services.Protoc
ols.WebCli
entProtoco
l.GetWebRe
sponse()
at System.Web.Services.Protoc
ols.HttpWe
bClientPro
tocol.GetW
ebResponse
()
at System.Web.Services.Protoc
ols.SoapHt
tpClientPr
otocol.doI
nvoke()
at MobileCentaur.MyCentaurSvc
.CentaurSv
c.MobileSv
c.SendOrde
r()
at MobileCentaur.OrderDispatc
h.btnOrder
_Click()
==============
Inner Exception
=============
Type: System.Net.Sockets.SocketE
xception
StackTrace:
at System.Net.HttpWebRequest.
fillBuffer
()
at System.Net.HttpWebRequest.
getLine()
at System.Net.HttpWebRequest.
parseRespo
nse()
at System.Net.HttpWebRequest.
startRecei
ving()
at System.Net.Connection.star
tReceiving
()
at WorkItem.doWork()
at System.Threading.Timer.rin
g()
This error occurrs for random users at random times. First they get low signal then this error. I am just lost as to how to debug/resolve this. Is it something I can do by code or does the network provider need to do something?
Changed MTU settings as in
http://social.msdn.microsoft.com/forums/en-US/netfxcompact/thread/b0f90f2c-cb07-455d-a740-f34bb66a3912/It doesn't help.
I need ideas on resolving this thing.
Thanks
H