473,397 Members | 1,972 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

IBM DB2 UDB 2005 Reporting Services

I wrote a SQL Stored procedure on the Iseries (AS400) V5R4 in Iseries Navigator and I am trying to call it from 2005 SQL Reporting Services and I am trying to use the OLE DB managed provider from IBM Client Access V5R4 "IBMDA400 OLE DB Provider" to make the connection inside reporting services. When I test the connection, it is OK, but when I test the call to the Stored procedure when creating the data set, I get an error "Object Reference not set to instance of an object". I tried the same thing with an ODBC driver and it worked fine. I even wrote a C# program and used the "IBMDA400 OLE DB Provider" to call the stored procedure and it worked fine. It seems that Reporting services has a problem with the driver. Has anyone figured out to make this work????
Oct 9 '07 #1
2 4129
I wrote a SQL Stored procedure on the Iseries (AS400) V5R4 in Iseries Navigator and I am trying to call it from 2005 SQL Reporting Services and I am trying to use the OLE DB managed provider from IBM Client Access V5R4 "IBMDA400 OLE DB Provider" to make the connection inside reporting services. When I test the connection, it is OK, but when I test the call to the Stored procedure when creating the data set, I get an error "Object Reference not set to instance of an object". I tried the same thing with an ODBC driver and it worked fine. I even wrote a C# program and used the "IBMDA400 OLE DB Provider" to call the stored procedure and it worked fine. It seems that Reporting services has a problem with the driver. Has anyone figured out to make this work????
Hey Mi name is John, so I have the same problem. Could you show me how to the c# program solve this problem ?
Feb 27 '08 #2
Bwill
1
Assuming you can connect to your ISeries, set up your data set and use Text for the command type. Then, enclose your query string in curly braces:

{call lib.object(parm)} Use ? for the parms and seperate mult parms by a comma.

In my case I had one parameter: {call RT_DB.RPT_HHQVOL(?)}

Works like a champ.
Apr 23 '09 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: ad | last post by:
I found that there is reporting service bundle with SQLSever 2005 express. Can VS2005 express can use the reporting service in SQLSever 2005 express?
2
by: Martin Widmer | last post by:
Hi guys I am looking for the best way to generate new reports with reporting services for SQL server 2005. The reports will be generated programmatically from a .Net VB application. So far I see...
1
by: iThinkData | last post by:
Should these 3 items, .Net 2.0 Website, SQLServer 2005, Reporting Services 2005. all reside on the same computer? I know that the website issues a configuration error saying it can't find...
1
by: rmk | last post by:
How can I get the 2000 and 2005 versions of SQL Server Reporting Services both working on my development laptop ????? I have ASP.NET 1.1 and 2.0 installed on my laptop. I have Visual Studio...
3
by: joeB545 | last post by:
I am an Access developer considering using vb.net 2005 to develop a database application. What options are available for creating reports in vb.net 2005 in the various versions, such as Stardard...
1
by: Roy | last post by:
Hey all, This came up in a meeting and I can't find any firm answers online, so I figured I'd come to you. :) Essentially, what's the difference between VS 2005 Crystal Reports and SQL Server 2005...
1
by: yhafeez1 | last post by:
We are in the process of doing a side by side installation of the SQL server 2000 and SQL server 2005 on the same server. To install the Reporting services feature of SQL server 2005 requires IIS....
3
by: Blasting Cap | last post by:
I'm using VS 2005, SQL 2005 reporting services. SQL reporting services is working, and I have it both on my local computer, as well as on a server. I've created a report in the SQL Business...
0
by: Michael Burgess | last post by:
Hi there, I have a problem that's beginning to do my head in and hope someone can help!!! I've got a SQL Server 2005 database which is partly encrypted (certain columns per table are...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.