none
Error invoking web service "System.Net.WebException: WebException" RRS feed

  • Question

  • Hi,

    I have created Microsoft Sync device application using web service. It's working fine in my system.  

    I have configured same thing in other system. When i try to sync i am getting below exception.

    System.Net.WebException: WebException
       at System.Web.Services.Protocols.SoapHttpClientProtocol.doInvoke(String methodName, Object[] parameters, WebClientAsyncResult asyncResult)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at VersionPublisher.DeviceClient.Service.GetChanges(SyncGroupMetadata groupMetaData, SyncSession syncSession)
       at VersionPublisher.DeviceClient.Sync.ServerSyncProviderProxy.GetChanges(SyncGroupMetadata groupMetadata, SyncSession syncSession)
       at Microsoft.Synchronization.SyncAgent.DownloadChanges(SyncGroupMetadata groupMetadata)
       at Microsoft.Synchronization.SyncAgent.Synchronize()
       at VersionPublisher.DeviceClient.PublishDeviceData.Publish()
       at SmartDeviceFREIntSampleApp.frmMain.SyncFareEngineDB()
       at SmartDeviceFREIntSampleApp.frmMain.btnCheck_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.ButtonBase.WnProc(WM wm, Int32 wParam, Int32 lParam)
       at System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)
       at Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)
       at System.Windows.Forms.Application.Run(Form fm)
       at SmartDeviceFREIntSampleApp.Program.Main()

    I have compared the two system, there is no difference in configuration.

    If anybody faced this issue..please response as soon as possible.


    • Edited by mathi.nb Thursday, December 8, 2011 6:49 AM
    Thursday, December 8, 2011 6:42 AM

Answers

  •  

    I fixed the issue...probs in SSL Certification...i installed the proper certificate. Now its working fine.  

    • Marked as answer by mathi.nb Thursday, December 8, 2011 8:44 AM
    Thursday, December 8, 2011 8:44 AM

All replies

  •  

    I fixed the issue...probs in SSL Certification...i installed the proper certificate. Now its working fine.  

    • Marked as answer by mathi.nb Thursday, December 8, 2011 8:44 AM
    Thursday, December 8, 2011 8:44 AM
  • Could you please explain your solution? Same exception occured in my project. How can i install the certificate?
    Tuesday, February 24, 2015 3:23 PM