证书验证问题
silverlight网站以前通过证书验证方式登录,现在想取消证书验证,在服务端IIS取消对证书的验证,客户端以http方式登录,报错,http://192.168.1.18:8080
Private Sub CheckDownloadXapVersion()1 Dim proxy As ESA_SYS_DBClient = ServiceClient.ServiceClientFactory(Of ESA_SYS_DBClient, ESA_SYS_DB).CreateServiceClient2 Frm_Sys_Loading.SetTextMsg("正在读取数据,请稍候......")3 Frm_Sys_Loading.Visibility = Windows.Visibility.Visible4 AddHandler proxy.Sys_Runparam_ShowCompleted, AddressOf proxy_Sys_Runparam_ShowCompleted5 proxy.Sys_Runparam_ShowAsync("Download", "Download", "", "", "", " and runparam_code='9999' and runparam_code_child_1='' and runparam_code_child_2=''", "")6 proxy.CloseAsync()7 proxy = Nothing End Sub Private Sub proxy_Sys_Runparam_ShowCompleted(ByVal sender As Object, _ ByVal e As Sys_Runparam_ShowCompletedEventArgs) On Error GoTo go_Err If e.Error Is Nothing Then If e.Result IsNot Nothing Then g_NewXapSize = CType(e.Result(0).runparam_value, Long) BeginDownloadXap(Nothing, Nothing) Else g_NewXapSize = 0 End If Else System.Windows.Browser.HtmlPage.Window.Alert("出现错误:" + e.Error.Message) End Ifgo_Exit: Frm_Sys_Loading.Visibility = Windows.Visibility.Collapsed Exit Subgo_Err: System.Windows.Browser.HtmlPage.Window.Alert("出现错误:" & Err.Description) GoTo go_Exit End Sub