Link to home
Start Free TrialLog in
Avatar of Rajkumar Gs
Rajkumar GsFlag for India

asked on

ASPPDF Crash - Object reference not set to an instance of an object

We are using 3rd Party ActiveX Control - ASPPDF - www.asppdf.com - to print to PDF from our ASP.Net web site.

Same server is running two different sites - both are using ASPPDF.
Our issue is that one site's print to PDF functionality is working perfectly.
But the second site's print to PDF functionality is crashing
Object reference not set to an instance of an object

Both sites are different projects. I tried reinstall ASPPDF setup, restarting IIS - Not solved this issue.

Could you please help - how could I solve this issue ?

Any help would be highly appreciated
Raj
Avatar of chandra_darbha
chandra_darbha

Could you please post some code? The information you gave is too less to draw any conclusions.

Thanks,
Chandra
Avatar of Rajkumar Gs

ASKER

There is nothing wrong with coding, Chandra.

I will give more details
We have two Servers - Server1 and Server2  - In both servers we have hosted the two sites that is using ASPPDF ActiveX Control.

Fun is that Site1 is working in Server1, while NOT working in Server2
Site2 is NOT working in Server1, while working in Server2

So I a wondering, if it is registration issue of ActiveX control, why one of the site is working with ASPPDF in the same server, while second site is crashing with ASPPDF in the same server
I have solved this issue. I noticed that in Google Search Results this question has come on top!
The question that I posted newly is not listed over there.
I know that this question has the error message as title.

I feel, this would help anyother who is search for the same with the error message
ASKER CERTIFIED SOLUTION
Avatar of Rajkumar Gs
Rajkumar Gs
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I am sure, this will help someothers who is searching in Google OR Experts-Exchange with the error message.

So I am posting the solution that worked for me.

Raj