data set name is missing in the data region 'DataSetName'

hey guys. I got this error when working with reportviewer in local mode. Using a connection string and Dataset which is new I created another viewer with a .rdlc. Everything was working fine. I check in to source safe, close up, and re-load visual studio and now I get this weird message coming up saying:

\
  • An error occurred during local report processing.
    • The definition of the report 'Main Report' is invalid.
      • The data set name is missing in the data region ‘DataSetName’.

[3507 byte] By [MarkBennett] at [2008-1-1]
# 1

hjere is another instance of the error:

Error 1 The data set name is missing in the data region ‘DataSetName’. C:\Inetpub\wwwroot\PNP2\reportPreAssessments.rdlc 1

MarkBennett at 2007-9-12 > top of Msdn Tech,Visual Studio,Visual Studio Report Controls...
# 2

Mark, I am getting same error.

Did you ever get an answer?

JohnWP at 2007-9-12 > top of Msdn Tech,Visual Studio,Visual Studio Report Controls...
# 3

I solved the problem by filling a data set name in the field “Data Set name:” that appears in the tab General from the properties of the object List.

PTA at 2007-9-12 > top of Msdn Tech,Visual Studio,Visual Studio Report Controls...

Visual Studio

Site Classified