Click to See Complete Forum and Search --> : Web Service Access Denied


chu_bun
April 9th, 2002, 07:51 PM
I got a "Access denied" error when trying to create a Microsoft Word application object. Any idea why?

'''' Code exerpt ''''
Imports System.Web.Services
<WebService(Namespace := "http://tempuri.org/")> _
Public Class Service3
Inherits System.Web.Services.WebService

#Region " Web Services Designer Generated Code "
' standard codes here
#End Region

Public oWord As Word.Application

<WebMethod()> Public Function CallWord() As Integer
'"Access denied here when called from client"
oWord = New Word.Application()
oWord.Documents.Ope("C:\\test.doc")

End Function

End Class
'''' End ''''