Author Topic: Metric import failed  (Read 2157 times)

Offline joe123

  • Full Member
  • ***
  • Posts: 21
  • Forum Citizenship: +0/-0
Metric import failed
« on: 12 Jul 2010 07:36:51 pm »
Hello,

i successfully created and initialized the metric store (cognos 8.4.1 + oracle 10g),
but its not possible to import any metric files (created with metric export wizzard)

For each single file i got the DIS-RUN-3272 error.
Then the whole package fails with DIS-RUN-3261.
The logs in <...>\cognos\c8\logs\MetricMaintenance are empty.

So i have no clue where the problem could be.

Best regards

Offline MFGF

  • Never knowingly correct
  • Super Moderator
  • Statesman
  • ******
  • Posts: 2,898
  • Forum Citizenship: +137/-1
  • Cognos Software Muppet
Re: Metric import failed
« Reply #1 on: 14 Jul 2010 08:22:08 pm »
What format have you specified for the import files?
Meep!

Offline Erik

  • Full Member
  • ***
  • Posts: 14
  • Forum Citizenship: +2/-0
Re: Metric import failed
« Reply #2 on: 15 Jul 2010 09:59:04 pm »
A good place to start would be to go to www.ibm.com and enter the error codes into the Search field and you should find a number of documents returned.

Offline joe123

  • Full Member
  • ***
  • Posts: 21
  • Forum Citizenship: +0/-0
Re: Metric import failed
« Reply #3 on: 16 Jul 2010 07:26:43 pm »
Thank you.

@ MFGF: The files are UTF8.
@ Erik: I've gone through the documents. They are interesting but not helpful in that case.

Some IBM support guys took a look to the system - everything looks fine.
Within the first second the import fails and the 2-BulkLoad folder stays empty.
I wonder if there is another way to log what happen?




Offline MFGF

  • Never knowingly correct
  • Super Moderator
  • Statesman
  • ******
  • Posts: 2,898
  • Forum Citizenship: +137/-1
  • Cognos Software Muppet
Re: Metric import failed
« Reply #4 on: 16 Jul 2010 08:49:08 pm »
The files are UTF8.

Sorry - I should have been clearer.  If you go to Tools -> Import Sources within Metric Studio, and edit the properties of your import source, there is a dropdown that allows you to select the file format from a list of supported formats (8.4.2, 8.4.1, 8.3.1, 8.2.1, 8.1.2MR2, 8.1.2MR1, 8.1.1, 2.2).

Do you definitely have the correct format selected for the export files you are trying to read from?

Regards,

MF.
Meep!

Offline joe123

  • Full Member
  • ***
  • Posts: 21
  • Forum Citizenship: +0/-0
Re: Metric import failed
« Reply #5 on: 20 Jul 2010 08:24:52 pm »
Yes, i checked everything twice. IBM told me to use for cognos 8.4.1 exports the 8.4.2  import setting.
To make sure, i tried other settings too - no success.

Another strange thing: we copied on database level an existing (and working) metric store to our oracle db.
Its possible to access that store but read only - can't change any data.

edit: i noticed that i can make exports from that store, but no way to import or modify data
« Last Edit: 21 Jul 2010 02:59:30 pm by joe123 »

Offline MFGF

  • Never knowingly correct
  • Super Moderator
  • Statesman
  • ******
  • Posts: 2,898
  • Forum Citizenship: +137/-1
  • Cognos Software Muppet
Re: Metric import failed
« Reply #6 on: 21 Jul 2010 05:19:15 pm »
When you initialize a metric store database from within Cognos 8, it not only creates the objects and data in the database, but also sets up security privileges.

I'd suggest it's worth setting up an entirely new metric store database, initializing it from within Cognos 8, then trying your import from file again.

Good luck!

MF.
Meep!

Offline joe123

  • Full Member
  • ***
  • Posts: 21
  • Forum Citizenship: +0/-0
Re: Metric import failed
« Reply #7 on: 26 Jul 2010 06:33:11 pm »
I got it. I had to modify the SQL*Net connect string.

Offline joe123

  • Full Member
  • ***
  • Posts: 21
  • Forum Citizenship: +0/-0
Re: Metric import failed
« Reply #8 on: 22 Sep 2010 03:43:21 pm »
For actual reason, never ever use SQL*Net connect string like (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=<SERVERNAME>)(PORT=1521)))(CONNECT_DATA=(SID=<INSTANCE>))) for any data source if you need to access with Metric. Although Cognos BI will unstand that, Metric doesn't. Simply use the SID from TNSNAMES.ORA and everything will work fine.
« Last Edit: 22 Sep 2010 05:20:55 pm by joe123 »