Can't get ASP.NET webform samples to run

Example requests & Code samples for GdPicture Toolkits.
Post Reply
msoliver
Posts: 1
Joined: Thu Nov 03, 2016 12:52 am

Can't get ASP.NET webform samples to run

Post by msoliver » Thu Nov 03, 2016 12:54 am

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

Cedric
Posts: 263
Joined: Sun Sep 02, 2012 7:30 pm

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

Post by Cedric » Thu Nov 03, 2016 3:51 pm

Hello,

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

garfield
Posts: 6
Joined: Mon Nov 07, 2016 7:42 am

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

Post by garfield » Mon Nov 07, 2016 7:53 am

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.

Cedric
Posts: 263
Joined: Sun Sep 02, 2012 7:30 pm

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

Post by Cedric » Mon Nov 07, 2016 11:44 am

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.

Cedric
Posts: 263
Joined: Sun Sep 02, 2012 7:30 pm

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

Post by Cedric » Mon Nov 07, 2016 2:20 pm

FYI the new release has just been published, you can download it from our download page here: http://www.gdpicture.com/download-gdpicture/

garfield
Posts: 6
Joined: Mon Nov 07, 2016 7:42 am

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

Post by garfield » Tue Nov 08, 2016 11:46 am

Hi Cedric,

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

Thanks for your work.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests