Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
ldelataille
New Member

Problem with connection to Sybase IQ database

Hi everyone,

I want to connect Power Bi to a Sybase IQ database but when I fill the connection form in the Sybase connector with the Server Name and the database name, a strange error appear. I've got the following error : "An error occured while reading the data. count' musn't be negative. Name of the parameter : count'", and I cannot connect to the database.

 

I've got some difficulty to understand the relation between the count parameter and the connection.

I've tried to change all the ids to connect to the database, with the IP adress and the port with this syntax : server_ip_adress:port, but I have the same error.

I can specify that I succeed to connect with the ODBC connector but I want to connect with the Sybase connector for a test.

Thanks in advance.

Lancelot.

4 REPLIES 4
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @ldelataille,

When you connect Sybase IQ database in Power BI desktop, which  Sybase connector did you use? Could you please share more details? 

For connecting Sybase IQ database, you can install SAP SQL Anywhere driver on your computer, make sure that the driver you install matches your Power BI Desktop installation (32-bit or 64-bit).  Then connect to Sybase IQ database by "Get Date"->"Sybase Database". For another thing, create a ODBC data source for your Sybase IQ database, more details, please follow the instructions in the article , then connect to the ODBC data source via ODBC entry in Power BI Desktop.

Best Regards,
Angelia

Hi Angelia.

Thank you for your reply.

Yes, I installed the SQL Anywhere Driver on my computer, and I followed all the steps that you mentioned. I can access to the connector and fill the identification form but I have an error on the "count parameter". I don't know what it means.

 

Hundreds of Users in my enterprise will use Power BI after this test and I want the procedure to be as easy as possible. That's why I want to use the "Sybase Database Connector" and avoid if possible the use of the ODBC connector.

 

Do you have any idea of what this "count parameter" means in this case ?

Thank you in advance.

Lancelot.

Anonymous
Not applicable

Hello there!!

 

Did you find the issue ?? I am giving it a try ...

 

PY

Anonymous
Not applicable

Hi Folks

 

I htink I have the solution...or at least the track to follow

SAP provided an OSS note (2491889) which explains that there is probably a bug in the network client. 

I did not have the chance to test, but I guess, the correction needs to be apply on the server side.

 

So, the way to connect to SAP IQ without issue is to use ODBC connection defined at the OS level after SQL anywhere has been installed. 

Then it works...

 

PY

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.