Uploaded image for project: 'New Features 2017'
  1. New Features 2017
  2. NF-788

View Confirmation Statement >> Server Error observed on Save as PDF option.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Production Complete
    • Priority: High
    • Resolution: Bug Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Module:
      BenAdmin
    • Reported by:
      Harbinger
    • Item State:
      Stage QA - Production Deployment on Hold
    • Issue Importance:
      Q2

      Description

      on View Confirmation Statement page, Server Error observed on Save as PDF option.

      PFA screen shot and error log

      Exception : The content type text/html of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: `<!DOCTYPE html PUBLIC "//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/><title>500 - Internal server error.</title><style type="text/css"><!-body

      {margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}

      fieldset

      {padding:0 15px 10px 15px;}

      h1

      {font-size:2.4em;margin:0;color:#FFF;}

      h2

      {font-size:1.7em;margin:0;color:#CC0000;}

      h3

      {font-size:1.2em;margin:10px 0 0 0;color:#000000;}

      #header

      {width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;background-color:#555555;}

      #content

      {margin:0 0 0 2%;position:relative;}

      .content-container

      {background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}

      --></style></head><body><div id="header"><h1>Server Error</h1></div><div id="content"> <div class="content-container"><fieldset> `.
      App Error Log : -
      Employee ID : 2392
      Action Name : ExportFileIntoPDF
      Model : System.Web.Mvc.HandleErrorInfo
      Controller : UserDetails
      Web Error Log :
      Server stack trace:
      at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
      at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
      at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
      at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
      at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
      at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
      at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

      Exception rethrown at [0]:
      at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
      at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
      at IPDFService.Write(WritePDF objWritePDF, String criteria)
      at PDFServiceClient.Write(WritePDF objWritePDF, String criteria) in c:\WT\branches\UiRefresh\Shared Library\SharedFunction\SharedFunction\PDFServiceProxy.cs:line 113
      at WORKTERRA.SharedFunctionCommonClass.CreatePDFFile(Dictionary`2 I_Criteria, WritePDF ObjectType) in c:\WT\branches\UiRefresh\Shared Library\SharedFunction\SharedFunction\SharedFunctionCommonClass.cs:line 28
      at WORKTERRA.SharedFunction.GeneratePDFFromHtmlString(PDFServiceEntity objPDFServiceEntity) in c:\WT\branches\UiRefresh\Shared Library\SharedFunction\SharedFunction\SharedFunction.cs:line 646
      at WORKTERRA.BenAdmin.Areas.UserDetails.Controllers.UserDetailsController.ExportFileIntoPDF(String strFileData) in c:\WT\branches\UiRefresh\Web\Web Projects\BenAdmin\Areas\UserDetails\Controllers\EnrollmentSummary\EnrollmentSummaryController.cs:line 130
      at lambda_method(Closure , ControllerBase , Object[] )
      at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
      at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
      at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
      at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c_DisplayClass42.<BeginInvokeSynchronousActionMethod>b_41()
      at System.Web.Mvc.Async.AsyncResultWrapper.<>c_DisplayClass8`1.<BeginSynchronous>b_7(IAsyncResult _)
      at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()
      at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
      at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c_DisplayClass37.<>cDisplayClass39.<BeginInvokeActionMethodWithFilters>b_33()
      at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c_DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b_49()
      at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c_DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b_49()
      at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c_DisplayClass37.<BeginInvokeActionMethodWithFilters>b_36(IAsyncResult asyncResult)
      at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()
      at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
      at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c_DisplayClass25.<>cDisplayClass2a.<BeginInvokeAction>b_20()
      at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c_DisplayClass25.<BeginInvokeAction>b_22(IAsyncResult asyncResult)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sachin.hingole Sachin Hingole (Inactive)
              Reporter:
              rajendraj Rajendra Joshi (Inactive)
              QA:
              Rajendra Joshi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m