Cannot connect to TM1 Excel services.

Post Reply
davidball123
Posts: 1
Joined: Wed Mar 10, 2010 8:21 am
OLAP Product: TM1
Version: 9.1 SP3
Excel Version: 2003

Cannot connect to TM1 Excel services.

Post by davidball123 »

Newby trying to use TM1 web and TM1 9.1 SP3.
When I try to log in I get the error "Cannot connect to TM1 ExcelServices : No connection can be made because the target machine actively refused it."
I log in to a web server which then connects to a server running TM1. The TM1 Excel Service is running on the TM1 server with the correct credentials.

I have enabled DEBUG in the TM1ExcelServices.exe.config and the log file is reproduced below.

2010-03-10 09:03:19,473 [4888] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - OnStop begins
2010-03-10 09:03:19,488 [4888] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Socket stopped
2010-03-10 09:03:19,488 [4888] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - OnStop finished
2010-03-10 09:03:21,380 [4992] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Starting Main
2010-03-10 09:03:21,380 [4992] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Begin Constructing Excel Service
2010-03-10 09:03:21,380 [4992] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Begin Initializing Components
2010-03-10 09:03:21,380 [4992] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Done Initializing Components
2010-03-10 09:03:21,380 [4992] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Done Constructing Excel Service
2010-03-10 09:03:21,380 [4992] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - New ExcelService set to ServiceBase array of services to run
2010-03-10 09:03:21,395 [5024] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - OnStart Begins
2010-03-10 09:03:21,395 [5024] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Thread Constructed
2010-03-10 09:03:21,395 [5024] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Thread Started
2010-03-10 09:03:21,395 [5024] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - OnStartFinished
2010-03-10 09:03:21,395 [5028] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - MainThread Begins
2010-03-10 09:03:21,395 [5028] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Begin setting up service
2010-03-10 09:03:21,395 [5028] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Begin Setting Port Number
2010-03-10 09:03:21,395 [5028] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Done Setting Port Number
2010-03-10 09:03:21,395 [5028] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Begin Setting PDF Printer Name
2010-03-10 09:03:21,395 [5028] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Begin Printer setup
2010-03-10 09:03:21,395 [5028] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Begin Constructing ManagementScope
2010-03-10 09:03:21,442 [5028] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Done Construction of ManagementScope
2010-03-10 09:03:21,442 [5028] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Begin Scope connection
2010-03-10 09:03:21,458 [5028] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Done Scope connection
2010-03-10 09:03:21,458 [5028] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Begin Constructing ManagementObjectSearcher
2010-03-10 09:03:21,458 [5028] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Done Constructing ManagementObjectSearcher
2010-03-10 09:03:21,458 [5028] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Begin Printer Search
2010-03-10 09:03:21,630 [5028] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Getting printer 'ricoh_3228c_rpcs on dcbrussels (from mediacentre) in session 1'.
2010-03-10 09:03:21,630 [5028] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Getting printer 'pdfcamp printer (from mediacentre) in session 1'.
2010-03-10 09:03:21,630 [5028] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Getting printer 'microsoft xps document writer (from mediacentre) in session 1'.
2010-03-10 09:03:21,630 [5028] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Getting printer 'microsoft office document image writer (from mediacentre) in session 1'.
2010-03-10 09:03:21,630 [5028] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Getting printer 'pdfcamp printer'.
2010-03-10 09:03:21,630 [5028] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Printer setup finished
2010-03-10 09:03:21,630 [5028] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Done Setting PDF Printer Name
2010-03-10 09:03:21,630 [5028] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Begin Making Socket
2010-03-10 09:03:21,645 [5028] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Socket created
2010-03-10 09:03:21,661 [5028] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Socket started
2010-03-10 09:03:21,661 [5028] DEBUG Applix.TM1.ExcelServices.TM1ExcelService - Done setting up service


Can anyone help me troubleshoot this?
Wim Gielis
MVP
Posts: 3233
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.1.5
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: Cannot connect to TM1 Excel services.

Post by Wim Gielis »

Case closed since we have solved the case for this customer.

We installed the TM1 Web components (custom installation) on the Webserver, and disabled the Excelservices service on the tmserver.

Changed a few settings in the config file and off we go.

(It's always good practice to have the Excelservices service running on the web server.)
Best regards,

Wim Gielis

IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Post Reply