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.
Loading
Vijaya KadiyalaPosted Mar 12, 2009, 11:56 AM
Hi
I even suggest to use "Aspose". Its good but bit expensive.
Thanks -- Vijaya Kadiyala
LisaPosted Mar 12, 2009, 5:08 AM
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
Mahesh ChandPosted Mar 10, 2009, 10:09 AM
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.