Hello ,
I am trying to devellop with map point , when i've runned my application , i've got 0 errors during the compilation but 1error during the execution : Could not establish a connection to network.
Quote:
System.Net.WebException was unhandled
Message="Could not establish connection to network."
StackTrace:
at System.Net.HttpWebRequest.finishGetResponse()
at System.Net.HttpWebRequest.GetResponse()
at System.Web.Services.Protocols.WebClientProtocol.Ge tWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtoco l.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.doInvoke(String methodName, Object[] parameters, WebClientAsyncResult asyncResult)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String methodName, Object[] parameters)
at mappoint.net.mappoint.staging.FindServiceSoap.Find Address(FindAddressSpecification specification)
at mappoint.Form1.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form._SetVisibleNotify(Boolea n fVis)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.Application.Run(Form fm)
at mappoint.Program.Main()
|
I've , firsth thought about a credential problem , so i've gone to the virtual earth patfom customer services , and applied for an developper account , but when i've tested it by this line of code :
fss.Credentials = new System.Net.NetworkCredential("myemail", "password");
But it didn't work
any idea ?