Since you are using web forms, then you need to check the permissions on
your object to ensure that the user token that the ASP.NET worker process is
running under (by default, MACHINE\ASPNET) has the appropriate permissions.
You may also want to consider creating an interop assembly, which will give
you strong typing and make using this COM object as easy as using a .NET
assembly. VS.NET will do this for you, and you can also use the SDK tool
tlbimp.exe.
--
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
--
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
--
"JK" <> wrote in message
news:bs7l54$7v0$...
> Hello,
>
> When I try to create a Word application object from a webform using
> server.createobject("Word.Application") I get this error "Access denied"
>
> Does anyone know what I am doing wrong? Thanks for any help!
>
> Joost
>
>
|