I am trying to implement the export to pdf from radscheduler. In works fine on my local and when I publish to the demo site if I am in HTTP it works fine but if I go to HTTPS it gives the following error. App logs and server event logs are not giving any more information:
Server
Error in '/' Application.
An existing connection
was forcibly closed by the remote host
Description: An unhandled exception occurred during the
execution of the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.Net.Sockets.SocketException: An existing connection was
forcibly closed by the remote host
Source Error:
An unhandled exception
was generated during the execution of the current web request. Information
regarding the origin and location of the exception can be identified using
the exception stack trace below.
Stack Trace:
[SocketException (0x2746): An
existing connection was forcibly closed by the remote host]
System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset,
Int32 size) +249
[IOException: Unable to read
data from the transport connection: An existing connection was forcibly
closed by the remote host.]
System.Net.Sockets.NetworkStream.Read(Byte[]
buffer, Int32 offset, Int32 size) +8442161
System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset,
Int32 count) +57
System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer,
AsyncProtocolRequest asyncRequest) +243
System.Net.Security.SslState.StartSendBlob(Byte[]
incoming, Int32 count, AsyncProtocolRequest asyncRequest) +470
System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst,
Byte[] buffer, AsyncProtocolRequest asyncRequest) +8572686
System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult
lazyResult) +230
System.Threading.ExecutionContext.RunInternal(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
preserveSyncCtx) +645
System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
preserveSyncCtx) +9
System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state) +87
System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult
result) +1467
System.Net.TlsStream.Write(Byte[] buffer,
Int32 offset, Int32 size) +84
System.Net.ConnectStream.WriteHeaders(Boolean async) +816
[WebException: The underlying
connection was closed: An unexpected error occurred on a send.]
System.Net.HttpWebRequest.GetResponse()
+8442708
Telerik.Web.UI.Scheduler.SchedulerExporter.GetStyleSheet(String url)
+120
Telerik.Web.UI.Scheduler.SchedulerExporter.GetStyleSheetFor(String
controlName, Type controlType, Page page, String pathFormatString, String
defaultPathFormatString) +318
Telerik.Web.UI.Scheduler.SchedulerExporter.GetStyleSheets(Page page)
+99
Telerik.Web.UI.Scheduler.SchedulerExporter.RenderControl(Page page)
+695
Telerik.Web.UI.Scheduler.SchedulerExporter.PdfExportRenderForm(HtmlTextWriter
nullWriter, Control form) +154
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer,
ICollection children) +131
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter
writer) +151
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter
writer) +49
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer,
ControlAdapter adapter) +150
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer,
ICollection children) +131
System.Web.UI.Page.Render(HtmlTextWriter
writer) +40
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer,
ControlAdapter adapter) +150
Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter
writer, Control page) +1040
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer,
ICollection children) +131
System.Web.UI.Page.Render(HtmlTextWriter
writer) +40
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer,
ControlAdapter adapter) +150
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5363