Hi friends
My name is Ramesh. And I need help regarding Word Automation through ASP.NET. I am trying to generate a Word Document stored on the Server.
My code is:-
Word.Application wApp=new Word.ApplicationClass();
Word.Document wDoc;
wApp.Visible=true;
wApp.Caption="Demo Questionnaire Format";
object oMissing=Type.Missing;
wDoc=wApp.Documents.Add(ref oMissing,ref oMissing,ref oMissing,ref oMissing);
Follows Some extra codes...
The same code snippet works fine on windows application but in ASP.Net it does not work.
At This Line:- wDoc=wApp.Documents.Add(ref oMissing,ref oMissing,ref oMissing,ref oMissing);
there is an error showing
System.Runtime.InteropServices.COMException,There is an Insufficient Memmory