Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8844587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T11:31:30+00:00 2026-06-14T11:31:30+00:00

I have to connect to Db2 data source from SSRS and create reports.I installed

  • 0

I have to connect to Db2 data source from SSRS and create reports.I installed latest Db2 client on my system.

While adding datasources in SSRS I selected “OLEDB” Datasource and then “IBM OLEDB Provider”, after entering the servername,Username,pwd…it throws an error saying..

The database alias couldn’t be found in db2dsdriver.cfg
configuration file.

Can some one point me in right direction

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T11:31:31+00:00Added an answer on June 14, 2026 at 11:31 am

    The IBM documentation on that particular file can be found here. It explains what it is, and explains how to edit it.

    Essentially, you’ll need to edit the file on your Report Server and add the server name.

    Exerpt:

    The db2dsdriver.cfg configuration file can be edited. However, the
    file must be edited manually. In addition, after editing the file, you
    must restart the application for the changes to take effect. The
    configuration file is created in one of the following paths: for a
    data server client, the configuration file is created in a folder
    named cfg under the instance path:

    • On AIX®, HP-UX, Linux, or Solaris operating systems, instance_path/cfg
    • On Windows operating systems, instance_path\cfg

    for a data server driver, the configuration file is created in a
    folder named cfg under the installation path:

    • On AIX, HP-UX, Linux, or Solaris operating systems, installation_path/cfg
    • On Windows operating systems, installation_path\cfg

    A sample configuration file is shipped to help you get started. It is
    located in the sqllib/cfg directory. The configuration file contains
    the following sections:

    • the data source name section contained within the DSN_Collection tags,
    • the database information section contained within the databases tags,
    • the global attributes section contained within the parameters tags.
    <configuration>
        <DSN_Collection>
            <dsn alias="alias1" name="name1" host="server1.net1.com" port="50001"/>
            <!-- Long aliases are supported -->
            <dsn alias="longaliasname2" name="name2" host="server2.net1.com" port="55551">
                <parameter name="Authentication" value="Client"/>
            </dsn>
        </DSN_Collection>
        <databases>
            <database name="name1" host="server1.net1.com" port="50001">
                <parameter name="CurrentSchema" value="OWNER1"/>
                <WLB>
                    <parameter name="enableWLB" value="true"/>
                    <parameter name="maxTransports" value="50"/>
                </WLB>
                <ACR>
                    <parameter name="enableACR" value="true"/>
                </ACR>
            </database>
            <!-- Local IPC connection -->
            <database name="name3" host="localhost" port="0">
                <parameter name="IPCInstance" value="DB2"/>
                <parameter name="CommProtocol" value="IPC"/>
            </database>
        </databases>
        <parameters>
            <parameter name="GlobalParam" value="Value"/>
        </parameters>
    </configuration>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have 2 databases - DB1 & DB2. Can I create a table in
We have need to connect to an AS/400 from .NET (C#) and access (read
I have the following snippet in a bash script: db2 connect to $DB var=$(db2
I've installed Squirrle and connect to DB2. Yet in my install I don't get
I'm using SQL Server 2005 with Reporting Services. I have many reports installed, some
I have code to retrieve data from a database into a form but it
We have 3 databases providers we use to connect to our databases: DB2, MS
I am trying to get the DB2 data provider from a 32-bit .Net application
We have a mixture of .Net apps that connect through ODBC and DB2 Connect
I'm trying to connect to a remote IBM DB2 9.7 database from a java

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.