Board index » Visual Studio » Server.CreateObject - permissions error question

Server.CreateObject - permissions error question

Visual Studio320
I'm trying to create a Word document on the server via ASP, but am

getting the following error which I know is a result of the IUSR

account not having Read/Execute permissions to the relevant DLL:



Server object error 'ASP 0178 : 80070005'

Server.CreateObject Access Error

/techhelpdesk/test.asp, line 11

The call to Server.CreateObject failed while checking permissions.

Access is denied to this object



My question simply is: does anyone know which dll file is used when

creating a Word document? I've tried using Filemon to pin it down, but

it doesn't report a permissions error strangely enough.



Thanks for any help.


-
 

Re:Server.CreateObject - permissions error question

throat.wobbler.mangrove@gmail.com wrote:

Quote
I'm trying to create a Word document on the server via ASP, but am

getting the following error which I know is a result of the IUSR

account not having Read/Execute permissions to the relevant DLL:



Server object error 'ASP 0178 : 80070005'

Server.CreateObject Access Error

/techhelpdesk/test.asp, line 11

The call to Server.CreateObject failed while checking permissions.

Access is denied to this object



My question simply is: does anyone know which dll file is used when

creating a Word document? I've tried using Filemon to pin it down, but

it doesn't report a permissions error strangely enough.



Check out this article:

http://support.microsoft.com/default.aspx?scid" rel="nofollow" target="_blank">support.microsoft.com/default.aspx=KB;en-us;q257757



--

Microsoft MVP -- ASP/ASP.NET

Please reply to the newsgroup. The email account listed in my From

header is my spam trap, so I don't check it very often. You will get a

quicker response by posting to the newsgroup.





-

Re:Server.CreateObject - permissions error question

(Just for info, the line causing the "problem" is:



Set WordApp = server.CreateObject("word.application")



)



-

Re:Server.CreateObject - permissions error question

Thanks Bob, quite a useful article. This, together with several other

Google Groups threads on the same subject, has backed up my theory that

this is a permissions problem with a dll file. The only problem is

unfortunately I still don't know which SYSTEM32 dll file is used when

creating a Word document using

server.CreateObject("word.appl=ADication") - if anyone could help me

with this I'd be very grateful.



Thanks again



-