i got error like this
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005.
The following code is prefectly working in asp.net framework but not working in dnn
i cant fix this problem, anybody help me
code sample
------------------
missing = System.Reflection.Missing.Value;object readonlyobj = false;object visi = true;object filename = @"C:\Documents and Settings\Muthamilselvi.MANOHA\Desktop\file1.doc";Application appWord = new Word.Application();Document docWord = new Word.Document();ref filename, ref missing, ref readonlyobj, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref visi, ref missing, ref missing, ref missing, ref missing);"This is the text");ref missing, ref missing, ref missing);
object
Word.
Word.
docWord = appWord.Documents.Open(
docWord.Activate();
appWord.Selection.TypeText(
appWord.Selection.TypeParagraph();
docWord.Save();
appWord.Application.Quit(