You are viewing limited content. For full access, please sign in.

Question

Question

HTTP Status Code: 500

asked on December 8, 2017 Show version history

Hi all,

 

I'm using the Laserfiche Forms 10.0.0.1121.

I have 1 form for many users (about 10 users). All my user can submit and save form into Laserfiche. But for one of them, sometimes, I can't save the form to Laserfiche (and sometimes, for the same user, everything is ok).

 

Remember this is the SAME form for ALL.

 

Completed task (started by Business Center the 8 december 2017)

 

 

Suspended task (started by Business Center the 12 november 2017)

 

 

I dont have error message from LFForm.

 

When I'm trying to resume them, nothing change.

 

Under Windows events, I have 2 errors for 1 resume.

 

This is about the 1st one :

Look the IP's address is very strange : ::1.

 

Nom du journal :LFForms
Source :       Laserfiche Forms
Date :         08/12/2017 11:28:30
ID de l’événement :0
Catégorie de la tâche :Aucun
Niveau :       Erreur
Mots clés :    Classique
Utilisateur :  N/A
Ordinateur :   SLAFI01.vini.pf
Description :
Une erreur inattendue s’est produite. [LFF502-UnexpectedError]

Details:
URL: /forms/form/print/1894/2/2/1894/4?authkey=98deda28-e20b-4655-9a2c-f028374c4de7&IAS=true
Error: UnexpectedError
Date: 08/12/2017 11:28:30 (Hawaii)
HTTP Status Code: 500
User:
IP: ::1
Browser: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/534.34 (KHTML, like Gecko) wkhtmltopdf Safari/534.34

Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: Une erreur inattendue s’est produite. [LFF502-UnexpectedError]


Inner exception: System.NullReferenceException
Message: La référence d'objet n'est pas définie à une instance d'un objet.
   à Laserfiche.Forms.EntityModels.cf_user_profile.TryGetTimeZoneBySID(IEntityContext appContext, String sid)
   à E_Forms.Models.ViewModels.Form.Print.PopulateForm()
   à ASP._Page_Views_Form__PrintFormLayout_cshtml.Execute() dans c:\Program Files\Laserfiche\Laserfiche Forms\Forms\Views\Form\_PrintFormLayout.cshtml:ligne 160
   à System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
   à System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
   à System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
   à System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body)
   à System.Web.WebPages.WebPageBase.PopContext()
   à System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
   à System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
   à System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
   à System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
   à System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)
   à System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)


XML de l’événement :
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Laserfiche Forms" />
    <EventID Qualifiers="0">0</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2017-12-08T21:28:30.000000000Z" />
    <EventRecordID>5489</EventRecordID>
    <Channel>LFForms</Channel>
    <Computer>SLAFI01.vini.pf</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Une erreur inattendue s’est produite. [LFF502-UnexpectedError]

Details:
URL: /forms/form/print/1894/2/2/1894/4?authkey=98deda28-e20b-4655-9a2c-f028374c4de7&amp;IAS=true
Error: UnexpectedError
Date: 08/12/2017 11:28:30 (Hawaii)
HTTP Status Code: 500
User:
IP: ::1
Browser: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/534.34 (KHTML, like Gecko) wkhtmltopdf Safari/534.34

Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: Une erreur inattendue s’est produite. [LFF502-UnexpectedError]


Inner exception: System.NullReferenceException
Message: La référence d'objet n'est pas définie à une instance d'un objet.
   à Laserfiche.Forms.EntityModels.cf_user_profile.TryGetTimeZoneBySID(IEntityContext appContext, String sid)
   à E_Forms.Models.ViewModels.Form.Print.PopulateForm()
   à ASP._Page_Views_Form__PrintFormLayout_cshtml.Execute() dans c:\Program Files\Laserfiche\Laserfiche Forms\Forms\Views\Form\_PrintFormLayout.cshtml:ligne 160
   à System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
   à System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
   à System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
   à System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body)
   à System.Web.WebPages.WebPageBase.PopContext()
   à System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
   à System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
   à System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
   à System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
   à System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)
   à System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass21.&lt;BeginInvokeAction&gt;b__1e(IAsyncResult asyncResult)

</Data>
  </EventData>
</Event>

 

And this is the second one :

 

Nom du journal :LFForms
Source :       Laserfiche Forms
Date :         08/12/2017 11:28:30
ID de l’événement :0
Catégorie de la tâche :Aucun
Niveau :       Erreur
Mots clés :    Classique
Utilisateur :  N/A
Ordinateur :   SLAFI01.vini.pf
Description :
Le générateur de fichiers PDF n’a pas réussi à communiquer avec le serveur Laserfiche Forms. Veuillez vérifier que les paramètres SSL sont configurés correctement. [LFF4112-PdfNetworkError]

Details:
URL:
Error: PdfNetworkError
Date: 08/12/2017 11:28:30 (Hawaii)
HTTP Status Code: 404

Other:
OutputMessage: Loading pages (1/6)
[>                                                           ] 0%
[======>                                                     ] 10%
[======>                                                     ] 11%
[=========>                                                  ] 16%
[================>                                           ] 27%
[=====================>                                      ] 36%
[=========================>                                  ] 42%
[===========================>                                ] 45%
[============================>                               ] 47%
[==========================================>                 ] 71%
[============================================================] 100%
Counting pages (2/6)                                               
[============================================================] Object 1 of 1
Warning: Received createRequest signal on a disposed ResourceObject's NetworkAccessManager. This might be an indication of an iframe taking too long to load.
Warning: Received createRequest signal on a disposed ResourceObject's NetworkAccessManager. This might be an indication of an iframe taking too long to load.
Resolving links (4/6)
[============================================================] Object 1 of 1
Loading headers and footers (5/6)                                           
Printing pages (6/6)
[>                                                           ] Preparing
[============================================================] Page 1 of 1
Done                                                                      
Exit with code 1 due to network error: UnknownContentError


Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: Le générateur de fichiers PDF n’a pas réussi à communiquer avec le serveur Laserfiche Forms. Veuillez vérifier que les paramètres SSL sont configurés correctement. [LFF4112-PdfNetworkError]

 

XML de l’événement :
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Laserfiche Forms" />
    <EventID Qualifiers="0">0</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2017-12-08T21:28:30.000000000Z" />
    <EventRecordID>5490</EventRecordID>
    <Channel>LFForms</Channel>
    <Computer>SLAFI01.vini.pf</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Le générateur de fichiers PDF n’a pas réussi à communiquer avec le serveur Laserfiche Forms. Veuillez vérifier que les paramètres SSL sont configurés correctement. [LFF4112-PdfNetworkError]

Details:
URL:
Error: PdfNetworkError
Date: 08/12/2017 11:28:30 (Hawaii)
HTTP Status Code: 404

Other:
OutputMessage: Loading pages (1/6)
[&gt;                                                           ] 0%
[======&gt;                                                     ] 10%
[======&gt;                                                     ] 11%
[=========&gt;                                                  ] 16%
[================&gt;                                           ] 27%
[=====================&gt;                                      ] 36%
[=========================&gt;                                  ] 42%
[===========================&gt;                                ] 45%
[============================&gt;                               ] 47%
[==========================================&gt;                 ] 71%
[============================================================] 100%
Counting pages (2/6)                                               
[============================================================] Object 1 of 1
Warning: Received createRequest signal on a disposed ResourceObject's NetworkAccessManager. This might be an indication of an iframe taking too long to load.
Warning: Received createRequest signal on a disposed ResourceObject's NetworkAccessManager. This might be an indication of an iframe taking too long to load.
Resolving links (4/6)
[============================================================] Object 1 of 1
Loading headers and footers (5/6)                                           
Printing pages (6/6)
[&gt;                                                           ] Preparing
[============================================================] Page 1 of 1
Done                                                                      
Exit with code 1 due to network error: UnknownContentError


Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: Le générateur de fichiers PDF n’a pas réussi à communiquer avec le serveur Laserfiche Forms. Veuillez vérifier que les paramètres SSL sont configurés correctement. [LFF4112-PdfNetworkError]


</Data>
  </EventData>
</Event>

 

Someone have any ideas what's going on?

Thanks in advance.

 

Regards

0 0

Replies

replied on December 10, 2017

Hi Oliver,

There was similiar issue in previous version, but the issue could be caused by network or something else that we could not be able to handle. To resolve this, we added auto retry on suspend function for save to repository service task in Forms 10.1 update 2.

For your case, can you try manual retry and see if it could work?

0 0
replied on December 11, 2017

Hi Rui,

 

Thank you for your help.

 

Do I need to install 10.1 first then update 1 before update 2 or can I jump directly to 10.1 update 2 ?

I'm using LFForm 10.0.0.1121.

Do I need to update LFServer too?

 

Thanks in advance.

 

Regards

0 0
replied on December 11, 2017

Hi Olivier,

You can install 10.1 update 2 directly.

Forms 10.1 is compatible with LFServer 10.0 so you don't have to upgrade LFServer.

0 0
replied on December 12, 2017

Hi Rui Deng,

 

I downloaded the update and followed the step :

  1. Stop the Laserfiche Forms Routing Service.
  2. Extract the ZIP file and run *.exe.
  3. Restart the Laserfiche Forms Routing Service.
  4. Open the Forms Configuration Site and view the Database tab to automatically apply the schema changes.

 

But my version is still 10.0.0.1121

 

It looks like the upgrade doesnt work. What was my error?

0 0
replied on December 12, 2017

Hi Olivier,

It should work when install directly, but if it did not, can you try first uninstall the existing Forms and install the new version?

If you don't want to uninstall, can you open a support case? It's not easy to check the environment issue here on Answers.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.