我創建Word文檔使用Word模板MS Word 2010中無法打開宏存儲
以下是代碼
Word.Document wordDoc = new Word.Document();
wordDoc = wordApp.Documents.Add(ref oTemplatePath, ref oMissing, ref oMissing, ref oMissing);
我得到錯誤無法打開宏存儲。我應用DCOM安全權限和所有讀/寫權限。
我的服務器是Windows 2008中教授級& IIS 7