Just moved my web app up to a staging environment and I'm getting this error. I suspect it has something to do with an IIS error I was getting locally on my machine and used the following code to resolve it.
It seems that this is not working on our staging environment. Not sure how to resolve at this point. Maybe someone can offer some suggestions.
Setup web service in rad scheduler:
Handle on resource populating
It seems that this is not working on our staging environment. Not sure how to resolve at this point. Maybe someone can offer some suggestions.
[AuthenticationException: The remote certificate is invalid according to the validation procedure.] System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception) +1425171
[WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.] System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request) +302 System.Net.WebClient.UploadString(Uri address, String method, String data) +170 System.Net.WebClient.UploadString(String address, String method, String data) +35 Telerik.Web.UI.SchedulerWebServiceClient.GetResources() +460
[Exception: Unable to retrieve response message] Telerik.Web.UI.SchedulerWebServiceClient.GetResources() +622
Setup web service in rad scheduler:
<WebServiceSettings Path="SchedulerWebService.asmx" |
ResourcePopulationMode="ServerSide" /> |
Handle on resource populating
OnResourcesPopulating="RadScheduler1_ResourcesPopulating" |
protected void RadScheduler1_ResourcesPopulating(object sender, Telerik.Web.UI.ResourcesPopulatingEventArgs e) |
{ |
HttpCookie cookie = FormsAuthentication.GetAuthCookie(User.Identity.Name, false); |
string cookieHeader = string.Format("{0}={1}", cookie.Name, cookie.Value); |
e.Headers.Add(HttpRequestHeader.Cookie, cookieHeader); |
} |