Welcome Guest Search | Active Topics | Sign In | Register

ASPXToPDF Error: Value cannot be null. Parameter name: type Options
Ujjaval
Posted: Monday, June 15, 2015 6:04:11 AM
Rank: Newbie
Groups: Member

Joined: 6/15/2015
Posts: 1
hello ,

I am using ASPX to PDF.

In my aspx page i wrote this.

<%@ Register assembly="EO.Web" namespace="EO.Web" tagprefix="eo" %>

<eo:ASPXToPDF runat="server" ID="ASPXToPDF1" />

On my Button Click Even I wrote this.

ASPXToPDF1.RenderAsPDF()

I already added EO.Pdf and EO.Web.dll in my project bin folder.

I am getting following error.

Value cannot be null.
Parameter name: type
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.ArgumentNullException: Value cannot be null.
Parameter name: type

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:


[ArgumentNullException: Value cannot be null.
Parameter name: type]
System.Activator.CreateInstance(Type type, Boolean nonPublic) +11142542
System.Activator.CreateInstance(Type type) +66
EO.Web.Internal.dg.a() +33
EO.Web.ASPXToPDF.a(String A_0, Stream A_1) +104
EO.Web.Internal.my.a(b[] A_0) +127
EO.Web.Internal.a.Close() +69
System.Web.HttpWriter.Filter(Boolean finalFiltering) +367
System.Web.HttpResponse.FilterOutput() +137
System.Web.CallFilterExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +49
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69


any help will be appreciate.

thanks
eo_support
Posted: Monday, June 15, 2015 11:52:19 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

This can occur when your EO.Web.dll and EO.Pdf.dll are incompatible. So make sure you get both DLLs from the same installer package.

Thanks!



You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.