Solved

ASPPDF works in one site, not in other site hosted in same server

Posted on 2011-02-15
7
1,277 Views
Last Modified: 2012-05-11
We are using 3rd Party ActiveX Control - ASPPDF - www.asppdf.com - to print to PDF from our ASP.Net web site.  We have two different web sites that are using this ActiveX Control. These two web sites are running in Client Production Server for past 5 years.

Client have two mirrored IIS production Servers, both have hosted these two sites.

When we recently updated one of the website in Client Production, a strange isssue happened!
The site that I updated in Production (say Site1) is working with ASPPDF perfectly. But the other site (say Site2) which is hosted on the same server that is using ASPPDF, crashes on Print to ASPPDF.

Site 1 is working in Server 1, but crashes in Server 2
Site 1 is crashes in Server 1, but working in Server 2
Both have the same version of source codes.

Error Message:-  Object reference not set to an instance of an object

Previously whenever this crash occurs the reinstallation of ASPPDF will fix this crash - which means this crash is due to something wrong happens with the registration of this ActiveX Control.

I tried re-install ASPPDF - Not helped this time!

I hope this is clear.
Could you please give me some idea, how to fix it ;(  - Please Urgent

Any help would be highly appreciated
Raj
0
Comment
Question by:Rajkumar Gs
  • 5
  • 2
7 Comments
 
LVL 14

Expert Comment

by:Dhanasekaran Sengodan
Comment Utility
Try this,

Create two different application pool and map your website 1 and 2  
0
 
LVL 23

Author Comment

by:Rajkumar Gs
Comment Utility
Thanks for your suggestion, Mani.
Site 1 and Site 2 are already using two different Application Pools.
0
 
LVL 23

Author Comment

by:Rajkumar Gs
Comment Utility
When I checked in C:\Program Files (x86)\Persists Software folder, there are two ASPPDF versions installed in both servers
Server 1 - v2.0.0.1 & v1.6.0.10
Server2 - v1.3.0.2 & v1.6.0.10

In bin folder of Site1, Interop.ASPPDFLib.dll is there
In bin folder of Site2, Interop.ASPPDFLib.dll and ASPPDF.dll v1.6.0.5 are present.

But I still not understand why the same site works in one server, while not in other server.

Any thoughts ?
Raj
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 14

Assisted Solution

by:Dhanasekaran Sengodan
Dhanasekaran Sengodan earned 250 total points
Comment Utility
upgrade Server2 - v1.3.0.2(newer version v2.0.0.1) & v1.6.0.10
0
 
LVL 23

Author Comment

by:Rajkumar Gs
Comment Utility
Thanks

Finally my assumption is that Server 1 & Server 2 is registered for different versions of ASPPDF.

Site1 which is working in Server1 may be using the version of ASPPDF that is registered on that server.

Need to check on this

Raj
0
 
LVL 23

Accepted Solution

by:
Rajkumar Gs earned 0 total points
Comment Utility
This issue is SOLVED !!!!

Server 1 was installed with ASPPDF New Version, Server 2 was installed with ASPPDF Old Version
Site 1 was using Latest Version in it bin folder, while Site 2 was using Old Version in its bin folder

Now I think you got the issue - and how it got solved.

Solution:-
----------
1. Installed latest version of ASPPDF in Server 2.
2. In Server1 & Server2, copied the ASPPDF DLL (Interop.ASPPDF.dll) from Working Site1's bin folder to Crashing Site2's bin folder
3. Restarted IIS Admin Service in both Servers.

So now both Servers have latest Version of ASPPDF and both Sites are using latest DLL in their bin folders

So now this issue is SOLVED !!!!!
0
 
LVL 23

Author Closing Comment

by:Rajkumar Gs
Comment Utility
I have mentioned the steps how I fixed this issue in my previous comment. - which includes two steps.

Mani's comment have a clue on one of the steps - So giving you some points.

Thanks
Raj
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Redirect HTTP to HTTPS in Azure (With Load Balancer) 2 30
can not add ASP.NET to IIS 8 26
asp.net mvc5 3 35
DLL in ASP.NET 20 39
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now