TI can't open Data Source Files

Post Reply
par3
Posts: 82
Joined: Tue Sep 09, 2008 7:05 am

TI can't open Data Source Files

Post by par3 »

Hi Guys/Ladies

Of this morning I can't seem to load new data, I keep getting the error message : Error: Prolog procedure line (0): Unable to open data source "Current Month\Issues 08-09.csv".

The path to the file is correct and the preview within TI as well. All permissions are correct, I can even open the file.

Does anyone have any ideas, please!

Thanx!
User avatar
Steve Rowe
Site Admin
Posts: 2464
Joined: Wed May 14, 2008 4:25 pm
OLAP Product: TM1
Version: TM1 v6,v7,v8,v9,v10,v11+PAW
Excel Version: Nearly all of them

Re: TI can't open Data Source Files

Post by Steve Rowe »

Usually there are two problems

1.A user has the file open and so the TI process cant open it
2.Path or permissions are not correct, remember it's the path from the servers view point not the client. So just becuase you cane see it in the TI preview pain it does not mean the sever can

HTH
Technical Director
www.infocat.co.uk
User avatar
Martin Ryan
Site Admin
Posts: 2003
Joined: Sat May 10, 2008 9:08 am
OLAP Product: TM1
Version: 10.1
Excel Version: 2010
Location: Wellington, New Zealand
Contact:

Re: TI can't open Data Source Files

Post by Martin Ryan »

Steve Rowe wrote: 2.Path or permissions are not correct, remember it's the path from the servers view point not the client. So just becuase you cane see it in the TI preview pain it does not mean the sever can
To expand on this, it's generally a good idea to use UNC paths (\\server\folder\folder) rather than mapped drives (N:\folder).

Also, as Steve alludes to, if you're running TM1 as a service/application then the security that is applied is the security settings for the user that the service/application is running as.

Martin
Please do not send technical questions via private message or email. Post them in the forum where you'll probably get a faster reply, and everyone can benefit from the answers.
Jodi Ryan Family Lawyer
par3
Posts: 82
Joined: Tue Sep 09, 2008 7:05 am

Re: TI can't open Data Source Files

Post by par3 »

The source file is not open while running the TI process. I am also using the correct server path and not a mapped drive.

The server however is started as a service. Where can I have a look at the security settings that you mentioned above?
User avatar
Michel Zijlema
Site Admin
Posts: 713
Joined: Wed May 14, 2008 5:22 am
OLAP Product: TM1, PALO
Version: both 2.5 and higher
Excel Version: 2003-2007-2010
Location: Netherlands
Contact:

Re: TI can't open Data Source Files

Post by Michel Zijlema »

par3 wrote:The source file is not open while running the TI process. I am also using the correct server path and not a mapped drive.

The server however is started as a service. Where can I have a look at the security settings that you mentioned above?
You can check on the server in the services list under which account the TM1 Service is running. If this is a local system account it will not have access to files that are not on the same machine as the TM1 service. If it is a domain user you need to check the access rights of this user.

Michel
par3
Posts: 82
Joined: Tue Sep 09, 2008 7:05 am

Re: TI can't open Data Source Files

Post by par3 »

The service is started as a local account. All the data files is on the same server as well. Any other ideas?
User avatar
Steve Vincent
Site Admin
Posts: 1054
Joined: Mon May 12, 2008 8:33 am
OLAP Product: TM1
Version: 10.2.2 FP1
Excel Version: 2010
Location: UK

Re: TI can't open Data Source Files

Post by Steve Vincent »

long shot, but try using a file where the full file path has no spaces in it. i remember some time ago having issues with a TI and it turned out to be spaces in the file name, although it's not always a problem... :?
If this were a dictatorship, it would be a heck of a lot easier, just so long as I'm the dictator.
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet
User avatar
paulsimon
MVP
Posts: 808
Joined: Sat Sep 03, 2011 11:10 pm
OLAP Product: TM1
Version: PA 2.0.5
Excel Version: 2016
Contact:

Re: TI can't open Data Source Files

Post by paulsimon »

Hi

If possible I would try logging on with the same account that the server is running under and check that you can access that file, or at least check that the user id has local admin rights on the server. We has a case recently where everything failed, and it turned out that someone in IT had been 'tidying up' security. Is this a file that you have been able to access before and now cannot access, or is it a new file?

Regards

Paul
ScottW
Regular Participant
Posts: 152
Joined: Fri May 23, 2008 12:08 am
OLAP Product: TM1 CX
Version: 9.5 9.4.1 9.1.4 9.0 8.4
Excel Version: 2003 2007
Location: Melbourne, Australia
Contact:

Re: TI can't open Data Source Files

Post by ScottW »

If you have checked out file permissions and file paths and everything seems to check out then a file lock is looking more likely as your cause.

The file doesn't have to be open in another application to prevent TI being able to open it, the OS just needs to think that some other application has a lock on the file even when it really shouldn't. I would check to make sure this is not the case. In the past I have found this can be a common cause of TI not being able to access text sources, especially CSV files created or edited from within MS Excel. It can be very irritating as sometimes the only remedy is to restart either TM1 or the server itself if all other methods of disconnecting the locking thread fail.
Cheers,
Scott W
Cubewise
www.cubewise.com
par3
Posts: 82
Joined: Tue Sep 09, 2008 7:05 am

Re: TI can't open Data Source Files

Post by par3 »

Paul,

This is not a new file, and we have been loading it before. Only since we have started the server as a service are we experiencing this problem.
User avatar
Steve Rowe
Site Admin
Posts: 2464
Joined: Wed May 14, 2008 4:25 pm
OLAP Product: TM1
Version: TM1 v6,v7,v8,v9,v10,v11+PAW
Excel Version: Nearly all of them

Re: TI can't open Data Source Files

Post by Steve Rowe »

I'd strongly suspect that the rights of the account the service is running under are not sufficent. If it's just the LocalSystem account then this is proabaly the issue.

Cheers,
Technical Director
www.infocat.co.uk
mastertito4
Posts: 35
Joined: Fri Oct 15, 2010 7:29 pm
OLAP Product: IBM Cognos TM1
Version: 9.5+
Excel Version: 2007 and 2003
Location: Minneapolis, MN, USA

Re: TI can't open Data Source Files

Post by mastertito4 »

I found a problem with Excel 2003 saving my CSV file without quotes around the values, so when previewing everything was fine but when TI actually tried to load the data it was Unable to open datasource. All I did was erase the " (double Quote character) from Quote Char Options box.
User avatar
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 can't open Data Source Files

Post by macsir »

I had same issue this morning. It turned out to be an read right issue. The service account can't read the file because the OS security. The only way to check that is using the service account to login into the machine and try to open the file from there.
In TM1,the answer is always yes though sometimes with a but....
http://tm1sir.blogspot.com.au/
Post Reply