TI Process: Unable to open data source
-
- Posts: 97
- Joined: Mon Sep 27, 2010 6:49 am
- OLAP Product: IBM Cognos TM1
- Version: v9.4.1
- Excel Version: Microsoft Excel 2003
TI Process: Unable to open data source
Hello All,
I have created a TI process to build a dimension from a CSV file, the source path for this file is stored in a cube of TM1. I have created a parameter in Prolog tab to store the path of this file, when I run the TI process it throws an error unable to open data source. I tried the below options
Created a new TI job - not working
Running TM1 Service under service account which has admin access.
Able to access the path of the source files from command prompt.
Please help me to resolve the issue
Thanks,
Radhika
I have created a TI process to build a dimension from a CSV file, the source path for this file is stored in a cube of TM1. I have created a parameter in Prolog tab to store the path of this file, when I run the TI process it throws an error unable to open data source. I tried the below options
Created a new TI job - not working
Running TM1 Service under service account which has admin access.
Able to access the path of the source files from command prompt.
Please help me to resolve the issue
Thanks,
Radhika
-
- MVP
- Posts: 3241
- 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: TI Process: Unable to open data source
Hi
You are sure that you don't have a typo... We've all encountered this type of human errors in the past.
Did you do a AsciiOutput to guarantee the validity of the file path and filename?
Is the CSV file closed?
You are sure that you don't have a typo... We've all encountered this type of human errors in the past.
Did you do a AsciiOutput to guarantee the validity of the file path and filename?
Is the CSV file closed?
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
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
-
- Site Admin
- Posts: 6667
- Joined: Sun May 11, 2008 2:30 am
- OLAP Product: TM1
- Version: PA2.0.9.18 Classic NO PAW!
- Excel Version: 2013 and Office 365
- Location: Sydney, Australia
- Contact:
Re: TI Process: Unable to open data source
In addition to what Wim said, is the CSV file on a local drive, or on a network share?
If it's on a network share then the fact that the account that you're using to run the server has local Admin rights is irrelevant; it would also need to have permissions to access that share. Similarly this would raise the question of whether you did the command prompt check on the server box that TM1 is running on, using the account that the TM1 server is running under. If you did it on your local machine, that doesn't guarantee anything. Remember that in checking access you need to look at everything from the server's point of view, not your own.
If it's on a network share then the fact that the account that you're using to run the server has local Admin rights is irrelevant; it would also need to have permissions to access that share. Similarly this would raise the question of whether you did the command prompt check on the server box that TM1 is running on, using the account that the TM1 server is running under. If you did it on your local machine, that doesn't guarantee anything. Remember that in checking access you need to look at everything from the server's point of view, not your own.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
- macsir
- MVP
- Posts: 785
- Joined: Wed May 30, 2012 6:50 am
- OLAP Product: TM1
- Version: PAL 2.0.9
- Excel Version: Office 365
- Contact:
Re: TI Process: Unable to open data source
Maybe a snapshot from your TI interface can tell us.
-
- Posts: 97
- Joined: Mon Sep 27, 2010 6:49 am
- OLAP Product: IBM Cognos TM1
- Version: v9.4.1
- Excel Version: Microsoft Excel 2003
Re: TI Process: Unable to open data source
Thank you all for your response.
@Wim, ASCII output gives me the exact file path.
@Alan, I have the CSV file on my local machine.
Here I have attached the screen shot of the Path, System Info Cube and the script in the metadata tab.
Thanks,
Radhika
@Wim, ASCII output gives me the exact file path.
@Alan, I have the CSV file on my local machine.
Here I have attached the screen shot of the Path, System Info Cube and the script in the metadata tab.
Thanks,
Radhika
- Attachments
-
- Error.docx
- (121.22 KiB) Downloaded 762 times
-
- MVP
- Posts: 2836
- Joined: Tue Feb 16, 2010 2:39 pm
- OLAP Product: TM1, Palo
- Version: Beginning of time thru 10.2
- Excel Version: 2003-2007-2010-2013
- Location: Atlanta, GA
- Contact:
Re: TI Process: Unable to open data source
Well, unless the TM1 server is also running on your local machine how do you suppose it's going to access the file? D:\GL Source Files sounds like a local drive letter. Is that the D: drive on the TM1 server, your local machine, or both?Radhika wrote:@Alan, I have the CSV file on my local machine.
- macsir
- MVP
- Posts: 785
- Joined: Wed May 30, 2012 6:50 am
- OLAP Product: TM1
- Version: PAL 2.0.9
- Excel Version: Office 365
- Contact:
Re: TI Process: Unable to open data source
Just check this to sort it out.
http://www.tm1forum.com/viewtopic.php?f=3&t=445&start=0
http://www.tm1forum.com/viewtopic.php?f=3&t=445&start=0
-
- Posts: 97
- Joined: Mon Sep 27, 2010 6:49 am
- OLAP Product: IBM Cognos TM1
- Version: v9.4.1
- Excel Version: Microsoft Excel 2003
Re: TI Process: Unable to open data source
@tomok, both d rive and TM1 server are on my local machine.
- macsir
- MVP
- Posts: 785
- Joined: Wed May 30, 2012 6:50 am
- OLAP Product: TM1
- Version: PAL 2.0.9
- Excel Version: Office 365
- Contact:
Re: TI Process: Unable to open data source
Try this in your Prolog,
Code: Select all
Datasourcenameforserver = cImportFile;
-
- Site Admin
- Posts: 6667
- Joined: Sun May 11, 2008 2:30 am
- OLAP Product: TM1
- Version: PA2.0.9.18 Classic NO PAW!
- Excel Version: 2013 and Office 365
- Location: Sydney, Australia
- Contact:
Re: TI Process: Unable to open data source
I think that this comes back to Wim's original question about whether you're certain that the file is closed. You'll get that error if you still have the file open in an application whuch has a lock on it, like Excel.Radhika wrote:@tomok, both d rive and TM1 server are on my local machine.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
- macsir
- MVP
- Posts: 785
- Joined: Wed May 30, 2012 6:50 am
- OLAP Product: TM1
- Version: PAL 2.0.9
- Excel Version: Office 365
- Contact:
Re: TI Process: Unable to open data source
No, Alan. The problem in his code is that he assigned PATH rather than FILE to datasourcenameforserver in his prolog.I think that this comes back to Wim's original question about whether you're certain that the file is closed. You'll get that error if you still have the file open in an application whuch has a lock on it, like Excel.

-
- Site Admin
- Posts: 6667
- Joined: Sun May 11, 2008 2:30 am
- OLAP Product: TM1
- Version: PA2.0.9.18 Classic NO PAW!
- Excel Version: 2013 and Office 365
- Location: Sydney, Australia
- Contact:
Re: TI Process: Unable to open data source
Quite right; I didn't look at his Word attachment before but the mistake is visible in there.macsir wrote:No, Alan. The problem in his code is that he assigned PATH rather than FILE to datasourcenameforserver in his prolog.I think that this comes back to Wim's original question about whether you're certain that the file is closed. You'll get that error if you still have the file open in an application whuch has a lock on it, like Excel.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.