Page 1 of 1

DocuVieware Lite exception

Posted: Thu May 09, 2019 6:25 am
by azeeth
Hi I had implemented full DocuVieware to display PDFs in Asp.Net web forms application which was working beautifully. But because of licencing I have decided to do with DocuVieware Lite for now.
But since I have turned to Lite version, I am unable to access the page when deployed. I am able to access it when run from Visual Studio. The implementation is still same, only licence has changed to Lite version.

Following exception I get as soon as I try and access the page. I think I have included all the required dlls in bin folder.

Code: Select all

[NullReferenceException: Object reference not set to an instance of an object.]
   GdPicture14.WEB.DocuVieware.Dispose() +27
   System.Web.UI.Control.UnloadRecursive(Boolean dispose) +265
   System.Web.UI.Control.UnloadRecursive(Boolean dispose) +178
   System.Web.UI.Control.UnloadRecursive(Boolean dispose) +178
   System.Web.UI.Control.UnloadRecursive(Boolean dispose) +178
   System.Web.UI.Control.UnloadRecursive(Boolean dispose) +178
   System.Web.UI.Page.UnloadRecursive(Boolean dispose) +23
   System.Web.UI.Page.ProcessRequestCleanup() +57
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +245
   System.Web.UI.Page.ProcessRequest() +72
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +22
   System.Web.UI.Page.ProcessRequest(HttpContext context) +58
   ASP.statementverify_aspx.ProcessRequest(HttpContext context) +4
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +188
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +48
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +71

Re: DocuVieware Lite exception

Posted: Thu May 09, 2019 6:51 am
by azeeth
I am also seeing weird w3wp.exe crashing since the app has been deployed. I enabled tracing, It wasn't much helpful.

Re: DocuVieware Lite exception

Posted: Thu May 09, 2019 11:50 am
by Gabriela
Hello,

The DocuVieware Lite version servers like very simple viewer. Some features are unavailable here:
DocuVieware Lite
I'm not sure what you mean by "I am unable to access the page when deployed"? Could you explain more?
Thank you.

Re: DocuVieware Lite exception

Posted: Fri May 10, 2019 6:14 am
by azeeth
ok I was able to fix the issue finally after some head banging. It was to do with the DocuVieware cache folder not having permissions. I had to change its location to be able to load the viewer.
This is something that can be improved in your product I think, there is no appropriate error message in this case.

Re: DocuVieware Lite exception

Posted: Fri May 10, 2019 11:22 am
by Gabriela
Hi,

I'm glad to hear that you have found a solution. Thank you for your suggestion, I have reported that to the development team so we can consider it for future enhancements. We really appreciate your return. Enjoy the product!