Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Ole Server Error related to Office 2007 installation

An Excel automation process that has worked dependably with Excel 2000 and
2003 for over 3 years no longer works for a client on systems that have been
upgraded to Office 2007 - but continues to work on their systems where
Office 2003 is installed. The application works on my development system
and on other systems here where Office 2007 is also installed.

The error is "OLE error code 0x80010105: The server threw an exception."

The code is:

oX=Createobject("Excel.application")
oBook= oX.Workbooks.Add() (fails on this line every time)

Any thoughts?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default Ole Server Error related to Office 2007 installation

I'd change it to

Set oX=Createobject("Excel.application")
Set oBook= oX.Workbooks.Add()

HTH,
Barb Reinhardt

"E F Leo" wrote:

An Excel automation process that has worked dependably with Excel 2000 and
2003 for over 3 years no longer works for a client on systems that have been
upgraded to Office 2007 - but continues to work on their systems where
Office 2003 is installed. The application works on my development system
and on other systems here where Office 2007 is also installed.

The error is "OLE error code 0x80010105: The server threw an exception."

The code is:

oX=Createobject("Excel.application")
oBook= oX.Workbooks.Add() (fails on this line every time)

Any thoughts?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Ole Server Error related to Office 2007 installation

Sorry I did not mention the language is MS Visual FoxPro (VFP) so
this suggestion will not work. The thing is that in VFP the syntax in use
is equivalent to your suggested change.

I now have more information from the client.

The installation of MS Office 2007 was customized by their IT department.

At this point I'm theorizing they did not include files needed for
automation when they built that installation for general distribution (huge
organization) and only 30 people use the VFP custom app and a handful of
those need the automation.

How does that stand up as a theory?

"Barb Reinhardt" wrote:

I'd change it to

Set oX=Createobject("Excel.application")
Set oBook= oX.Workbooks.Add()

HTH,
Barb Reinhardt

"E F Leo" wrote:

An Excel automation process that has worked dependably with Excel 2000 and
2003 for over 3 years no longer works for a client on systems that have been
upgraded to Office 2007 - but continues to work on their systems where
Office 2003 is installed. The application works on my development system
and on other systems here where Office 2007 is also installed.

The error is "OLE error code 0x80010105: The server threw an exception."

The code is:

oX=Createobject("Excel.application")
oBook= oX.Workbooks.Add() (fails on this line every time)

Any thoughts?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
An Error has Occurred during the Microsoft Excel 2007 installation Arvind Setting up and Configuration of Excel 0 January 8th 09 07:51 PM
Office Excel 2007 for SQL Server Analysis Services eysiperez Excel Discussion (Misc queries) 1 November 27th 06 04:50 PM
Office 2007 Installation george-v Excel Worksheet Functions 5 July 26th 06 08:06 AM
Installation of Office 2007 Ravindra Excel Discussion (Misc queries) 1 May 30th 06 10:01 PM
Installation of Office 2007 Ravindra Excel Discussion (Misc queries) 0 May 30th 06 09:37 AM


All times are GMT +1. The time now is 05:04 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"