User Problem IIS, PHP, Access Module, Word.Application and RUNAS cmd using batch filed.

  • Thread starter Thread starter HatchmanFloyd
  • Start date Start date
H

HatchmanFloyd

Guest
I have a program running in ACCESS trigger by a macro that calls Word.Application. The program works great when trigger directly, through the cmd line and with the php intrepreter. Each instance I am able to use a user with appropriate access. I need to trigger the application through the web browser.

I can open the database and run the macro. No problem. The problem is the Word.Application.Documents.Open returns an error (91). The obsurb something is wrong error. I have tracked in down by capturing the user and basically all the other method use the appropriate user but php from the browser executing a batch with which use the runas command does not work. The user is always the local system user. (NCS-003$).

I have follow all the tips I can find. I am using a custom user in the Application pool inside of IIS. If I do a whoami command it is using the right user. But if I run a batch file to capture the user information the user changes to the system user.

Any ideas???

Continue reading...
 
Back
Top