Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

aimee_johnson
New Contributor III

Invalid object name

Hi everyone,

I have a script which has a connection string and then select all from a table from the database which is fine, everything works :-)

When I add in a second connection string to a separate database I get the following error:

ErrorSource: Microsoft OLE DB Provider for SQL Server, ErrorMsg: Invalid object name

The error specifically mentions my first query and runs the second one, when I run the first one in silo it works... any ideas anyone?

Thanks,

1 Solution

Accepted Solutions
vvira1316
Valued Contributor II

Re: Invalid object name

3 Replies
sureshqv
Esteemed Contributor III

Re: Invalid object name

Hi,

are you using two databases?

if yes ---- give connection string  on each table  [means alll tables of each server one connection string]

and try

if not  put exit script and try,

if not debug the application check which table is not loading

if not  try to reload the table from database again and check.

vvira1316
Valued Contributor II

Re: Invalid object name

aimee_johnson
New Contributor III

Re: Invalid object name

This worked. Makes sense. Thank you.

Community Browser