Rank: Member Groups: Member
Joined: 8/5/2012 Posts: 12
|
Hi
When I use ASPXToPdf control. I get this error:
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) +9641126 EO.Web.ASPXToPDF.a(String A_0, Stream A_1) +51 EO.Web.Internal.ms.a(b[] A_0) +52 EO.Web.Internal.a.Close() +30 System.Web.HttpWriter.Filter(Boolean finalFiltering) +184 System.Web.HttpResponse.FilterOutput() +119 System.Web.ApplicationStepManager.ResumeSteps(Exception error) +506 System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) +247 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +417
I use it on a simple text page in VS2010 ASP.NET4 EO.Web.dll version is 10.0.33.2
What can I do?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
Make sure you have BOTH the latest EO.Web.dll and EO.Pdf.dll. You will get that when you have a newer EO.Web.dll but an older EO.Pdf.dll.
Thanks!
|
Rank: Member Groups: Member
Joined: 8/5/2012 Posts: 12
|
Thanks for your quick reply!
I forgot to copy EO.Pdf.dll file into Bin folder. There was only the EO.Web.dll file.
It works now :-)
Regards Michael
|