Announcement

Migration of this forum

Dear users of this forum,

we are pleased to inform you that we will be updating the software behind this forum in the near future.

Existing posts, users and categories will remain untouched.

Important:

  • Each user will need to reset their password.
  • Please select "I forgot my password".
  • Enter the email address you used to register in this forum.
  • You will receive an email with a link to set a new password.
  • Please choose a new (secure) password and confirm the process.

We will keep you informed in the pinned thread.

Kind regards,
Your ReportServer Team


Migration des Forums

Liebe Nutzer dieses Forums,

wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.

Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!

Wichtig:

  • Jeder Nutzer muss sein Passwort neu vergeben.
  • Wählt dazu einfach "Ich habe mein Passwort vergessen".
  • Gebt die E-Mail-Adresse ein, mit der ihr registriert seid.
  • Ihr erhaltet eine E-Mail mit einem Link zur Passwortvergabe.
  • Bitte wählt ein neues (sicheres) Passwort und bestätigt den Vorgang.

Wir halten euch im angepinnten Beitrag auf dem Laufenden!

Mit vielen Grüßen
Euer ReportServer Team

#1 2016-12-02 10:51:56

coshin
Member
Registered: 2016-12-02

SaikuReport error SQLServerException: Invalid object name 'dbo.XX'

I try to create Mondrian Datasource to review data in Saiku Report but prompted error in execution with SQLServerException: Invalid object name 'dbo.GLPOST'.
Hope that anyone able to help.

Mondrian Datasource configure as below ;-
URL : jdbc:mondrian:Jdbc=jdbc:sqlserver://192.8.8.21:1433

Properties :
type=OLAP
name=192.8.8.21
driver=mondrian.olap4j.MondrianOlap4jDriver
jdbcDrivers=com.microsoft.sqlserver.jdbc.SQLServerDriver

Schema created from Jasper Workbench 4.0 as below:
<Schema name="PackingList">
  <Cube name="GLS" cache="true" enabled="true">
    <Table name="GLPOST" schema="dbo" alias="GL">
    </Table>
    <Dimension type="StandardDimension" foreignKey="ACCTID" name="accounts">
      <Hierarchy name="Default" hasAll="true" primaryKey="ACCTID">
        <Table name="GLPOST" schema="dbo">
        </Table>
        <Level name="Account" table="GLPOST" column="ACCTID" uniqueMembers="false">
        </Level>
        <Level name="Year" table="GLPOST" column="FISCALYR" uniqueMembers="false">
        </Level>
        <Level name="Period" table="GLPOST" column="FISCALPERD" uniqueMembers="false">
        </Level>
      </Hierarchy>
    </Dimension>
    <Measure name="amount total" column="TRANSAMT" datatype="Numeric" aggregator="sum" visible="true">
    </Measure>
    <Measure name="account number" column="ACCTID" datatype="Numeric" aggregator="count" visible="true">
    </Measure>
  </Cube>
</Schema>

Offline

#2 2017-02-17 12:59:21

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: SaikuReport error SQLServerException: Invalid object name 'dbo.XX'

Hi coshin,

did you solve this problem?
If not, please try using jdbc:mondrian:Jdbc=jdbc:sqlserver://192.8.8.21:1433;jdbc.databaseName=yourDB  as a  connection URL. (note the jdbc prefix before your databaseName parameter)
If this doesn't work, you can select the default database for the user your are connecting from in SQL Server -> Security -> Logins -> your user. But the URL should work.
Please let me know if this works.

Cheers,
Eduardo

Offline

#3 2017-05-22 10:31:02

mahdsip
Member
Registered: 2016-10-11

Re: SaikuReport error SQLServerException: Invalid object name 'dbo.XX'

Hello,

I am experimenting exactly the same problem, I tried with the URL extension but it didnt worked. Affortunatly it worked with the second solution.

thanks.

Offline

#4 2017-05-22 11:03:50

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: SaikuReport error SQLServerException: Invalid object name 'dbo.XX'

Hi mahdsip,
did you write "jdbc.databaseName=yourDB" or "databaseName=yourDB" ?
Could you please post the URL that is not working?

The URL works in my test case.

Cheers,
Eduardo

Offline

#5 2017-05-22 11:06:39

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: SaikuReport error SQLServerException: Invalid object name 'dbo.XX'

For completeness:

The correct URL should be:
jdbc:mondrian:Jdbc=jdbc:sqlserver://127.0.0.1;jdbc.databaseName=TEST_DW

Cheers,
Eduardo

Offline

Board footer

Powered by FluxBB