K
KADE
Hi,
I've written code that opens an existing Excel file and
populates it with data from a database then closes it. I
tested it on my machine and it works fine (I have Office
XP installed), but when I port it to the server (which has
only Excel 2000 Sp3 installed), for some strange reason,
it always hangs at the point in where it's trying to open
the Excel file for edit.
Excel hangs and I usually have to stop it in task manager,
then I get the error code '800706be' on my browser for the
asp file. I've tried different things and I'm at a loss.
Any help would be much appreciated. The partial code is
below:
Set xlsApp = CreateObject("Excel.Application")
xlsApp.Visible = True
Set xlsBook = xlsApp.Workbooks.Open(xlsFile) *it hangs here
(xlsFile is a variable holding the filename and path of
the existing file)
I've written code that opens an existing Excel file and
populates it with data from a database then closes it. I
tested it on my machine and it works fine (I have Office
XP installed), but when I port it to the server (which has
only Excel 2000 Sp3 installed), for some strange reason,
it always hangs at the point in where it's trying to open
the Excel file for edit.
Excel hangs and I usually have to stop it in task manager,
then I get the error code '800706be' on my browser for the
asp file. I've tried different things and I'm at a loss.
Any help would be much appreciated. The partial code is
below:
Set xlsApp = CreateObject("Excel.Application")
xlsApp.Visible = True
Set xlsBook = xlsApp.Workbooks.Open(xlsFile) *it hangs here
(xlsFile is a variable holding the filename and path of
the existing file)