I have C# dll and register in my computer successfully. I used that dll in web application and every time when user have to create object and destroy object. The problem is if there is more user to access that assembly.It gets slow.How do I solve.In c# we are using the following code to open
public Microsoft.Office.Interop.Word.ApplicationClass appWord;
appWord.Documents.Open(ref file, ref nullobj, ref nullobj, ref nullobj,
ref nullobj, ref nullobj, ref nullobj, ref nullobj, ref nullobj, ref nullobj, ref nullobj,
ref oFalse, ref nullobj, ref nullobj, ref nullobj, ref nullobj);
your help is need full.
To improve performance
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Mahesh ChandRank #1 · 393.3K reputationPosted Mar 10, 2009, 6:09 AM EDT
This is a known problem with Office COM Dlls. They are not good when shared by several users simultaneously. You can't do anything about it.
There are some third-party components out there they support upto 100 threads and still have good performance. Look for Aspose and try it to see if that helps. Obviously you will have to pay for these components.
LisaRank #8,652 · 218 reputationPosted Mar 12, 2009, 1:08 AM EDT
i suggest to use Aspose too , i worked with it before it works fine, but if you dont need a commerical tool then i doubt we cant do much abt it at this moment.
Thanks,
Lisa
Vijaya KadiyalaRank #1,085 · 1.8K reputationPosted Mar 12, 2009, 7:56 AM EDT
Hi
I even suggest to use "Aspose". Its good but bit expensive.
Thanks -- Vijaya Kadiyala