Hi there,
i have developed a application for ppc, and in the other day i was surprised by this exception, while trying to access a WebService:
System.Net.WebException: Nao e possivel apresentar uma mensagem de erro porque nao e possivel localizar uma assemblagem do recurso opcional ---> System.Net.Sockets.SocketException: Nao e possivel apresentar uma mensagem de erro porque nao e possivel localizar uma assemblagem do recurso opcional
em System.Net.Sockets.Socket.ConnectNoCheck()
em System.Net.Sockets.Socket.Connect()
em System.Net.Connection.doConnect()
em System.Net.Connection.connect()
at WorkItem.doWork()
em System.Threading.Timer.ring()
em System.Net.HttpWebRequest.finishGetResponse()
em System.Net.HttpWebRequest.GetResponse()
em System.Web.Services.Protocols.WebClientProtocol.GetWebResponse()
em System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse()
em System.Web.Services.Protocols.SoapHttpClientProtocol.doInvoke()
em System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke()
em FormsService.Client.PocketPC2003.FormsServiceWebService2.Service.LoginFormUser()
em FormsService.Client.PocketPC2003.Actions.ServerSecurityAgent.AutoLogin()
em FormsService.Client.PocketPC2003.Actions.ServerSecurityAgent.DoLogin()
em FormsService.Client.PocketPC2003.Actions.ServerSecurityAgent.CallWebMethod()
em FormsService.Client.PocketPC2003.Main.actualizationItem_Click()
em System.Windows.Forms.MenuItem.OnClick()
em System.Windows.Forms.Menu.ProcessMnuProc()
em System.Windows.Forms.Form.WnProc()
em System.Windows.Forms.Control._InternalWnProc()
em Microsoft.AGL.Forms.EVL.EnterMainLoop()
em System.Windows.Forms.Application.Run()
em FormsService.Client.PocketPC2003.Program.Main()
Do you know how this exception is launched
Tnks in advance

System.Net.WebException
Guy F
It has exception message explainig why it happened. Install System.Sr.cab in your locale to see the actual message.
Probably would be something like “Can’t connect to the server” which means you’re having networking issues or you’re trying to use “localhost” as server name.