Microsoft KB Archive/837816

= FIX: You receive an error when you try to update the fields in the dataset of a report in Report Designer =

Article ID: 837816

Article Last Modified on 10/25/2005

-

APPLIES TO


 * Microsoft SQL Server 2000 Reporting Services

-





SYMPTOMS
In Report Designer, if you use a graphical user interface control such as the Refresh Fields button in the Data view of a report, and you try to update the fields of the dataset of the report, you may receive an error message that is similar to the following:

Could not generate a list of fields for the query.

Check the query syntax or click Refresh Fields on the query toolbar.

ORA-06550: line 1, column 7

PLS-00703: multiple instances of named argument in list

ORA-06550: line 1, column 7

PL/SQL: Statement ignored

The problem occurs if the following conditions are true:
 * The dataset of the report uses a stored procedure to retrieve the data from an Oracle data source.
 * The report uses Oracle data extensions to configure the Oracle data source.



CAUSE
In the Oracle stored procedure, the NULL value is passed for the parameters of the number data type or the varchar data type. When you call an Oracle stored procedure by using the Microsoft .NET Managed Provider for Oracle, you must explicitly use the DBNull object to pass a NULL value for the parameters of the number data type or the varchar data type.



RESOLUTION
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft SQL Server 2000 Reporting Services service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version            Size    File name --  19-Feb-2004  15:32  8.0.750.0       6,815,744  Microsoft.reportingservices.designer.dll 19-Feb-2004 15:32  8.0.750.0         266,240  Microsoft.reportingservices.diagnostics.dll Note Because of file dependencies, the most recent hotfix or feature that contains these files may also contain additional files.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section. This bug was corrected in Microsoft SQL Server 2000 Reporting Services Service Pack 1.

