Can't open Excelfile, error code 213

Hi I have a Lotus Script code like this

FilePath=“C:\temp\FILENAME.XLS”

Set excelAppObject = CreateObject( “Excel.Application” )

excelAppObject.Workbooks.Open(FilePath)

I want to open an Excelfile on the server and change some cells in the file. This code runs on the server.

  • There is an excelfile in my filepath

  • The access to the path and file are that everyone has read/write access.

If I run my server as an service i get error code 213. Excel failed to open the file. If I run the server as a “program” it works.

Where is the problem? Any access right on the Windows server?

I use Windows 2008 32-bit and Excel 2003