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
|
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!
|