Page 1 of 1

Can't get ASP.NET webform samples to run

Posted: Thu Nov 03, 2016 12:54 am
by msoliver
Trying to run the ASP.NET webform samples. Added GdPicture web reference as required. Have trial license key. Code compiles fine, but when I try to run, I see this on all of the demos:


Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.

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:



[NullReferenceException: Object reference not set to an instance of an object.]
GdPicture12.WEB.DocuVieware.ᜀ() +47
GdPicture12.WEB.DocuVieware.OnPreRender(EventArgs e) +27
System.Web.UI.Control.PreRenderRecursiveInternal() +88
System.Web.UI.Control.PreRenderRecursiveInternal() +160
System.Web.UI.Control.PreRenderRecursiveInternal() +160
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +883

Re: Can't get ASP.NET webform samples to run

Posted: Thu Nov 03, 2016 3:51 pm
by Cedric
Hello,

A similar issue has been fixed recently.
Can you please make sure you are using the latest built available?

Re: Can't get ASP.NET webform samples to run

Posted: Mon Nov 07, 2016 7:53 am
by garfield
Hi Cedric,

I have download the version 2.0.0.42 today and get the same error message.
Last time I use the old version 2.0.0.25, everything is fine.
So, is it something I miss or there's some problems with the new version?

Thanks.

Re: Can't get ASP.NET webform samples to run

Posted: Mon Nov 07, 2016 11:44 am
by Cedric
It looks like a problem with the new version, the development team told me that is will be fixed in the next minor release expected to be published this week.
Apparently it only happens with the Web Form demos, MVC Razor seems not to be impacted by this issue, sorry for the inconvenience.
In the meantime, you can try the hosted demo applications here: http://docuvieware-demo.com/ they are the exact same thing you have in the Sample folder.

Re: Can't get ASP.NET webform samples to run

Posted: Mon Nov 07, 2016 2:20 pm
by Cedric
FYI the new release has just been published, you can download it from our download page here: https://www.gdpicture.com/download-gdpicture/

Re: Can't get ASP.NET webform samples to run

Posted: Tue Nov 08, 2016 11:46 am
by garfield
Hi Cedric,

I try the new release today and the problem is solved.

Thanks for your work.