May 19, 2012  
   Login  
Forum  
 
ForumForumEnesys RS Data ...Enesys RS Data ...Support - RS Da...Support - RS Da...Object reference not set to an instance of an object. Enesys.reportingservices.ersde2008 Object reference not set to an instance of an object. Enesys.reportingservices.ersde2008
Previous Previous
 
Next Next
New Post
 7/2/2010 8:34 AM
 
 Modified By anonymous  on 7/2/2010 8:38:56 AM

Hi all,

I got following error when try to query a dataset in VS
Object reference not set to an instance of an object. Enesys.reportingservices.ersde2008

Below are the errors in Report server log when run the report:

w3wp!processing!1!7/2/2010-14:23:34:: w WARN: Data source 'DataSource1': Report processing has been aborted.
w3wp!processing!1!7/2/2010-14:23:34:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing., ;
Info: Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Enesys.ReportingServices.Ersde.ErsdeDataReader.GetOrdinal(String fieldName)
at Microsoft.ReportingServices.DataExtensions.MappingDataReader..ctor(String dataSetName, IDataReader sourceReader, String[] aliases, String[] fieldNames)
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.RunDataSetQuery()
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeReportDataSetNode.FirstPassInit()
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.FirstPassProcess(Boolean& closeConnWhenFinish)
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeReportDataSetNode.Process()
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.ProcessConcurrent(Object threadSet)

The codes:
<?xml version="1.0" encoding="utf-8"?>
<root xmlns="http://enesyssoftware.com/schemas">
<queryName></queryName>
<description></description>
<list useDisplayName="true" title="list1"
relativeSiteUrl="/submissions/" tableName="list1">
<fields></fields>
<query>
<Where>
<Eq>
<FieldRef Name="User Region" />
<Value Type="Text">@Region!</Value>
<IfNot>All</IfNot>
</Eq>
</Where>
</query>
</list>
<resultSet>list1</resultSet>
</root>

The above codes works fine until I change to refer to another list say "list2". Any hints on what was the problem ? Thanks

New Post
 7/2/2010 2:15 PM
 

Hi,

Not sure to understand.

Do you mean that the query is working properly until you change the list name? Do you mind writing the query that is not working properly?

When you change the list name, I suppose you do it within BIDS Query Designer. How does it work there? Do you get any error message?

Regards,


Frederic LATOUR
ENESYS
Previous Previous
 
Next Next
ForumForumEnesys RS Data ...Enesys RS Data ...Support - RS Da...Support - RS Da...Object reference not set to an instance of an object. Enesys.reportingservices.ersde2008 Object reference not set to an instance of an object. Enesys.reportingservices.ersde2008

 
You need to login for posting to the forums.
If you don't have a login, click here to register.
 
Copyright 2010 Enesys - All rights reserved Terms Of UsePrivacy Statement