Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to install word application component on the IIS server!!

Status
Not open for further replies.

kishore22

Technical User
Sep 25, 2002
12
US
hi guys!!

When i run this program,

<%
Set objWordApp = Server.CreateObject(&quot;Word.Application&quot;)

objWordApp.Documents.Add

objWordApp.Selection.TypeText &quot;This is a plain text that you'll see in word.&quot;

objWordApp.ActiveDocument.SaveAs Server.MapPath(&quot;MyDocument.doc&quot;)
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top