Quantcast
Viewing all articles
Browse latest Browse all 16689

Cannot create new analysis view for created datasources

I'm trying to create an analysis view for two data sources but I keep getting the message "This page cannot be accessed directly. It must be linked to from other pages".

I created the first datasource with the schema workbench (which works as expected on the schema workbench with MDX queries), then I published it on the bi server user console with no problem. When I go to the New Analysis view on the user console I can select it from the drop down list, but then I get the above error message.

The same happens with the otther datasource, that I created through the user console --> Create New Data Source. Connection ton Mysql server is ok and the new datasource is created as well.

I have checked the datasources.xml and the catalogs for both the data sources are listed in it. The definition tags contain the correct paths for both of them, and they use the same data connection which is configured and tested properly on the administrator console

<Catalog name="betnwin">
<DataSourceInfo>Provider=mondrian;DataSource=bwin</DataSourceInfo>
<Definition>solution:/bwin/betnwin.xml</Definition>
</Catalog>
<Catalog name="bwin">
<DataSourceInfo>Provider=mondrian;DataSource=bwin</DataSourceInfo>
<Definition>solution:admin/resources/metadata/bwin.mondrian.xml</Definition>
</Catalog>

I'm looking at the pentaho.log and I can point out these lines of the stack trace:

2014-02-20 18:25:23,201 ERROR [org.pentaho.platform.util.logging.Logger] Error end:
2014-02-20 18:25:23,202 ERROR [org.pentaho.platform.util.logging.Logger] misc-MondrianModelComponent: MondrianModel.ERROR_0001 - getInitialQuery(): Connection is not valid: {DataSource=bwin, PoolNeeded=false, Provider=mondrian, Catalog=solution:/bwin/betnwin.xml}
2014-02-20 18:25:23,202 ERROR [org.pentaho.platform.plugin.action.mondrian.PivotViewComponent] 98f90c6c-9a4b-11e3-82ff-01fd8d273dc9:COMPONENT:context-68214025-1392913523093:1392913522860.analysisview.xactionPivotView.ERROR_0010 - Query generation failed

I googled as a maniac during the last days but I cannot resolve this error... Is there any other file, like the datasources.xml that I should configure as well? I mean something like mondrianconnection.properties maybe?

I'm using Mysql server and bi server 4.8.0 stable version.

I have attached the full log file.

Thank you in advance for your time
Attached Files
  • Image may be NSFW.
    Clik here to view.
    File Type: log
    pentaho.log (21.0 KB)

Viewing all articles
Browse latest Browse all 16689

Trending Articles