hi guys!!
When i run this program,
<%
Set objWordApp = Server.CreateObject("Word.Application"
objWordApp.Documents.Add
objWordApp.Selection.TypeText "This is a plain text that you'll see in word."
objWordApp.ActiveDocument.SaveAs Server.MapPath("MyDocument.doc"
objWordApp.Quit
Set objWordApp = Nothing
%>
I am getting the following error!!
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/Proj_Kis/run_macro.asp, line 2
Invalid class string
I thk the problem is that the word application component is not registered on the server.
So, help me out how to register the word application components.
Thank you.
When i run this program,
<%
Set objWordApp = Server.CreateObject("Word.Application"
objWordApp.Documents.Add
objWordApp.Selection.TypeText "This is a plain text that you'll see in word."
objWordApp.ActiveDocument.SaveAs Server.MapPath("MyDocument.doc"
objWordApp.Quit
Set objWordApp = Nothing
%>
I am getting the following error!!
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/Proj_Kis/run_macro.asp, line 2
Invalid class string
I thk the problem is that the word application component is not registered on the server.
So, help me out how to register the word application components.
Thank you.