views:

142

answers:

0

i m using microsoft.office 11.0 object library and microsoft word 11.0 object library. The code makes problem only when we host the website locally or in server other wise it function well. i think below code makes problem. Ant one pls help me. i m in an urgent.

Microsoft.Office.Interop.Word.Document doc = wordApplication.Documents.Open(ref o_filePath, ref o_nullobject, ref o_nullobject, ref o_nullobject, ref o_nullobject, ref o_nullobject, ref o_nullobject, ref o_nullobject, ref o_nullobject, ref o_nullobject, ref o_nullobject, ref o_nullobject, ref o_nullobject, ref o_nullobject, ref o_nullobject, ref o_nullobject);