Showing posts with label report. Show all posts
Showing posts with label report. Show all posts

Tuesday, March 27, 2012

Data Sources

Why do the data sources appear in Report Manager when deploying reports. How can they be hidden from the users?

In the properties window - choose "Hide in list view" - it will not be seen in the list view.
If you want to actually secure them - change the permissions to the data source to not include your end users. Only report publishers need to have access to the datasources.

Tudor

Data Sources

Why do the data sources appear in Report Manager when deploying reports. How can they be hidden from the users?

In the properties window - choose "Hide in list view" - it will not be seen in the list view.
If you want to actually secure them - change the permissions to the data source to not include your end users. Only report publishers need to have access to the datasources.

Tudor

sql

Data Sources

I have created a report, and would like to use the data contained in that report to create another report. In essence, one report would be the dataset for another report. I can't find any indication that this is possible. Can anyone give me a suggestion?This is possible but not easy. First, you would need to write (or purchase)
a data provider that accepts XML data input from a URL.
Then you would use that data provider to get an export of the report from
the report server in XML format (using URL access).
--
My employer's lawyers require me to say:
"This posting is provided 'AS IS' with no warranties, and confers no
rights."
"RptSrvQuests" <RptSrvQuests@.discussions.microsoft.com> wrote in message
news:188E428D-4979-4ADE-B1B9-441E47011558@.microsoft.com...
> I have created a report, and would like to use the data contained in that
report to create another report. In essence, one report would be the
dataset for another report. I can't find any indication that this is
possible. Can anyone give me a suggestion?|||The best place to start is the section of the documentation titled
"Implementing a Data Processing Extension".
It is also available in MSDN:
http://msdn.microsoft.com/library/en-us/RSPROG/htm/rsp_prog_extend_dataproc_5c2q.asp
--
My employer's lawyers require me to say:
"This posting is provided 'AS IS' with no warranties, and confers no
rights."
"RptSrvQuests" <RptSrvQuests@.discussions.microsoft.com> wrote in message
news:4B5F8B34-B05F-412E-9F19-62791C1CDE00@.microsoft.com...
> Can you provide an example of a data provider or what code it would be
written in? I would also like a more detailed description of how to carry
out the process. I'm still relatively new to RS, and need detailed
instructions on carrying out procedures.
> "Chris Hays [MSFT]" wrote:
> > This is possible but not easy. First, you would need to write (or
purchase)
> > a data provider that accepts XML data input from a URL.
> > Then you would use that data provider to get an export of the report
from
> > the report server in XML format (using URL access).
> >
> > --
> > My employer's lawyers require me to say:
> > "This posting is provided 'AS IS' with no warranties, and confers no
> > rights."
> >
> > "RptSrvQuests" <RptSrvQuests@.discussions.microsoft.com> wrote in message
> > news:188E428D-4979-4ADE-B1B9-441E47011558@.microsoft.com...
> > > I have created a report, and would like to use the data contained in
that
> > report to create another report. In essence, one report would be the
> > dataset for another report. I can't find any indication that this is
> > possible. Can anyone give me a suggestion?
> >
> >
> >

Data Sources

Is there anyway to use a Class File (VB.Net or C# class that generates a
DataSet) as the data source for a SQL Server 2005 Reporting Services report?
If there is, where are some examples or how-to's?
The only obvious way I see to generate a Data Source for a SQL report is a
sproc or dynamic query.
Thank You.Alex,
You want to use a Custom Data Processing Extension. You can even tie
the extension to an existing data layer.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/RSPROG/htm/rsp_prog_extend_dataproc_5c2q.asp
Andy Potter

Data source with a type of SSIS

I know that you can do this, because I have read about it in MSDN, but I'm not suer about the syntax.

I am creating a report that needs an SSIS type data source. I have deleted the comments in the relevant config files both on my local machine (development) and the reporting services server, and can see SSIS as data type. Now for the tricky bit!

I go to create a new data source. Give it a name, choose SSIS as a data type, and now for the connection string. I "think" I know what I would do if it were a file system SSIS package, but it is stored in the MSDB. What connection string do I use to connect to this data source? There are no DTSX files on the server. Somehow, I presume, I have to talk directly to the MSDB..... Any ideas anyone?

OK, so I gave up on trying to get data out of the MSDB! I capitulated to the MSDN way of doing things and saved my SSIS package as a file system object and attached in that way.

Works like a dream - surprisingly fast. I wonder how it will perform (if at all) when using report snapshots!

If anyone has been successful in reporting over an SSIS, MSDB data source, I would appreciate it if you could post the solution here.

Data Source View and Report Model

Guys,

I created a Data Source View that uses two different Data Source connections to two different databases. I was able to drop in the tables in the data source view designer from the two databases, but when I try to create the Report Model based on that data source view, it's complaining that it can't find table in the non-primary data source from the data source view.

Here is the error I'm getting:

An error occurred while executing a command.

Message: Invalid object name 'dbo.[tablename]'

Command:

SELECT COUNT(*) FROM [dbo].[tablename] t

Why can't it find the database to connect to since the data source view is already creating using two different databases. No problem in the data source view, but when it actually becomes a model, it complains. How come it can't find one of the tables in a different database?

Please help and any help is appreciated.

Enkh.

semantic queries currently do not support multiple data sources. you can create named query that would reference table from another database using db.schema.tablename notation.

Data Source Security

When a paticular user runs a report, she is getting an error that refers to
not having security to the data source.
I went to the Report Manager and added her to the properties>security of the
datasource. Also, I went into sql and gave her db.readerwrites to the
databases.
Am I missing something else? I have this problem on another project as
well. Any ideas?On Aug 14, 6:02 pm, Ryan Mcbee <RyanMc...@.discussions.microsoft.com>
wrote:
> When a paticular user runs a report, she is getting an error that refers to
> not having security to the data source.
> I went to the Report Manager and added her to the properties>security of the
> datasource. Also, I went into sql and gave her db.readerwrites to the
> databases.
> Am I missing something else? I have this problem on another project as
> well. Any ideas?
If you have default SQL authentication set for the datasource in the
Report Manager, you may want to make sure that the SQL account has
adequate permissions to execute stored procedures/queries in the
database, etc that the report is accessing and the correct password
and connection string. Hope this helps.
Regards,
Enrique Martinez
Sr. Software Consultant

Data source problem. Help! - remote report server

Hi guys,

I have project A with the data source name called 'dsyellow', which is a shared data source. The reports in this project were deployed and working fine.I created a new project(project B) and used the same dataset name (i.e.dsyellow), however this data source points to a different database. Accidentaly when I deploy project B, I overwrote the data source of Project B and I am unable to run the reports in project A. I am getting the following error message. I tried to re-deploy the the first datasource by overwriting the latest data source, however, when I run the report, I am getting the same problem. Please this is urgent. Let me know if you have any idea.

  • An error has occurred during report processing. (rsProcessingAborted)

  • Cannot create a connection to data source 'dsyellow'. (rsErrorOpeningConnection)

  • For more information about this error navigate to the report server on the local server machine, or enable remote errors

  • From Report Manager you can create a second data source that will work for Project B. Then go to the properties page for the report and select the Data Source tab and point it to this new Data source. For the Project A report, also make sure that on the Data Source tab you are pointing to the dsYellow shared data source, then go to the properties tab for the dsYellow shared datasource and make sure that the connection string and user information are what you expect.

    I hope this helps.

    |||

    I think what you said make sense. However, I am having one more issue that prevent me to do that. The issue is that I am not seeing the Data Source folder from the content page of the Report Manager. I think it seems that it is hidden. I hope I will be able to solve the problem if I am able to see the Data Source folder first. Do you have any idea about this?

    Appreciate it.

    |||

    hey! I figured out how to get back the hidden data source folder. I think I can do it now.

    Thanks for your help.

    |||Items are only hidden in the list view, if you click on the Detail View button, all items are visible. Is this what you found?|||

    Yea, that was what I found. But the issue is still there. Here is the thing,I created a new project with some reports in it. My data source is from a remote server. The report is also deployed on the same remote server. I am able to run the report from my development machine. However, the error comes after deploying it on the remote server and try to run it from the report server. I checked that my report is pointing to the right server name and database name. But no luck. Ohhhhhh it makes me crazy.

    |||Can you run the report on the actual report server so you can get the full error?|||

    I did. This is the error message:

  • An error has occurred during report processing. (rsProcessingAborted)

  • Cannot create a connection to data source 'dsyellow'. (rsErrorOpeningConnection)

  • For more information about this error navigate to the report server on the local server machine, or enable remote errors

  • |||The error is stating that you are not local so therefore it is not showing the full error stack. Can you look in the RS log files to get the actual error?|||Do you know which table shows the errors?|||

    Daniel is suggesting to look in the RS log files. They are located here:

    {Drive}:\Program Files\Microsoft SQL Server\MSSQL.{Instance_of_RS}\Reporting Services\LogFiles

    Jarret

    |||

    Hey guys,

    It may sounds crazy but I am having some previllage issue to access the report server machine to get the log file. Anyhow, let me put the problem this way. I have three servers, assume ServerA,ServerB, and ServerC. ServerA is where the database(datasource) is located. ServerB is used as a report server and Server C is my local machine where I design reports. So obviously I deployed the reports from my local machine(server C) to the remote report server(server B). Deployement was successful but I got the following error when I run the report from the report server. You might think that the report is not pointing to the right data source, I checked that several times and it is pointing to the right data source.

  • An error has occurred during report processing. (rsProcessingAborted)

  • Cannot create a connection to data source 'dsCallB'. (rsErrorOpeningConnection)

  • For more information about this error navigate to the report server on the local server machine, or enable remote errors|||

    Going along with Daniel's suggestion earlier, you should open up Internet Explorer from ServerB's desktop (the RS server), and go to http://localhost/ReportServer. Then navigate to your report and see if you get more information about your error.

    Another thing to check... Make sure your report's data source is setup correctly by doing this:

    Open http://ServerB/Reports and navigate to your report.
    Click on the 'Properties' tab, then select 'Data Source' from the left side.
    Double check your data source and initial catalog in your connection string.
    Then, select 'Credentials stored securely in the report server' in the 'Connect using...' section.
    Type in a domain account with sysadmin privileges (for this test) like DOMAIN\USERNAME, with its respective password.
    Check the box for 'Use as Windows credentials when connecting to the data source'.
    Click 'Apply' at the bottom, and then click the 'View' tab to run the report.

    Hope this helps.

    Jarret

    |||I did that so many times, but no luck.|||

    Hmmmm...

    Open up Reporting Services Configuration Manager and connect to ServerB. Click 'Database Setup' from the left pane. Make sure that the Server Name, Database Name, Credentials Type, Account Name, and Password are all correct.

    Log into ServerB directly and browse to http://localhost/Reports and paste the message you get when you try to run this report. It should give more information about your error.

    Do any other reports work from ServerB? If so, can you create another report pointing to the same database as dsCallB, with "select top 1 Name from sys.objects". Deploy it and see if it returns any data.

    Jarret

    sql
  • Data Source For Report Model Project

    When I tried to generate ad-hoc reports with Microsoft reporting services
    2005 (april CTP), it generally ask for the tables and views. Is there a way
    that I can just put in a stored procedure and use the results as a data
    feeder for the report model? Thanks.I don't think this is supported out of the box
    You can however create a named query as part of the data source view
    "Geek" wrote:
    > When I tried to generate ad-hoc reports with Microsoft reporting services
    > 2005 (april CTP), it generally ask for the tables and views. Is there a way
    > that I can just put in a stored procedure and use the results as a data
    > feeder for the report model? Thanks.sql

    Sunday, March 25, 2012

    Data Source Error

    When I click on a report, the following error occurs.
    How should I resolve this matter?
    ERROR:
    An error has occurred during report processing.
    Cannot create a connection to data source 'IPC_VISION_DEV'.
    For more information about this error navigate to the report server on the
    local server machine, or enable remote errorsAre you sure that the specified credentials for that data set are valid?|||Thanks!
    However, the user did not have dbread/write on backend database.
    Again, thanks!
    "F. Dwarf" wrote:
    > Are you sure that the specified credentials for that data set are valid?

    Data Source Credentials problem

    Hi guys.

    I've got an Xml DataSource in my report server, used to talk to a web service to retrieve it's data. Now, since this is an Xml DataSource that talks to a Web service, i shouldn't have to give it credentials to run with, or - since the web service runs on the machine right next to my report server - I could use Windows Integrated Auth.

    However ... when I try to use Windows Integrated auth. I get back the error:

    "This

    data source is configured to use Windows integrated security. Windows integrated

    security is either disabled for this report server or your report server is

    using Trusted Account mode. "


    And when I tried to use no credentials, before I can even see the report, I get the error:

    "the user data source credentials that are required to execute this report are

    not stored in the report server database." - where I just told it that it doesn't need credentials to run this datasource !!!

    For the first error you got, there are two possible causes:

    1. If you are running RS in sharepoint integrate mode, make sure the authentication mode you set in sharepoint central admin is Windows Integrated, not Trusted Account mode.

    2. If you are running RS in non-sharepoint integrate mode, make sure this system properties is set to be true: "EnableIntegratedSecurity".

    For the second error, if you set to be none, RS uses a fixed credential configured in Report Server config file to connect to your data source, you have to add it.

    |||For the second issue make sure that unattended execution account is initialized. Open Reporting Services Config Manager and goto Execution Account tab|||No, I'm not running in Sharepoint Integrated mode, but I'll try the second resolution and let you guys know what happened, thanx :)|||

    Well, here goes the whole story ...

    First of all, we're using the Forms Authentication sample in our installation. Thought I should mention that in view of the error I'm about to write ...

    Well, I've used the R. Services Configuration tool to set the execution account to a user in my domain. The config tool accepted it fine, only when I tried to run the report I got back:

  • |||

    Finally, i got it to work !!! I created a new user account fot the execution account, one that had no xml special characters in it's uname/pwd and it worked fine.

    Now, you guys should forward this to the implementing team because it's just rediculous ...

    If the username / password of the Execution Account has any sort of "XML special characters" in it, the WMIProvider will fail to set the exec. account details. Although those credentials actually get written encrypted in the xml config file, so that doesn't seem really necessary.

    Anyway, that WOULD be ok, u n l e s s ... if you try to type in the credentials, replacing those special characters with their &xxx; equivalents, the tool will succeed, and write out those details encrypted in the xml file. BUT !!! It won't replace the &amp; to an & in the encrypted string it writes out, so when you try to run reports, login will fail, and you're left there wondering what went wrong.

  • Data Source Connection String

    Is there any way to find out what the data souce connection string is at
    runtime?
    I have a report that is sent out to various sites, each with a common data
    schema, but various connection strings. The report uses custom code in the
    report rdl, so each time I deploy the report to a new site, I have to reset
    the custom code connection string to match the individual site I am deploying
    it to.
    I would like to be able to have it dynamically query the connection string
    so I can just pass it in to my code as a variable. Any ideas?
    MichaelI think the report only knows about the data source name (if using shared ds)
    What we have is a bunch of reports using the same data source.
    We then deploy to different folders, as long as you are not "overwriting
    data source" then you can just configure the different data sources in report
    manager.
    So 1 report gets deployed to 2 or more folders, each folder having its own
    datasource. (the config manager is not intuitive)
    We find this easier to manage 2 different regions using the same reports on
    2 different databases like this.
    We even have it so different sub regions have different sub folders using
    linked reports with their sub region 'hardcoded' as a linked report param -
    they are not even aware of the other sub regions' reports existing due to
    security setup
    You could always used linked reports to point back at the different folders
    if the users complain.
    "Michael C" wrote:
    > Is there any way to find out what the data souce connection string is at
    > runtime?
    > I have a report that is sent out to various sites, each with a common data
    > schema, but various connection strings. The report uses custom code in the
    > report rdl, so each time I deploy the report to a new site, I have to reset
    > the custom code connection string to match the individual site I am deploying
    > it to.
    > I would like to be able to have it dynamically query the connection string
    > so I can just pass it in to my code as a variable. Any ideas?
    > Michael|||Adolf,
    I too am trying to deploy my solution like you described, one folder for
    each region with it's own datasource. My problem is how do you get the
    reports to use the correct datasource? For example, my VS2005 solution has a
    shared data source which I use to build my reports. When the reports are
    deployed, the reports went to Region1 directory and the datasource went to
    Data Sources directory. I manually added a datasource in the Region1
    directory with the same name as the one in the Data Sources directory, but
    the reports aren't using it. How do I get them to use that one instead. I
    can't find anything that explains how to do this. Thank you.
    "adolf garlic" wrote:
    > I think the report only knows about the data source name (if using shared ds)
    > What we have is a bunch of reports using the same data source.
    > We then deploy to different folders, as long as you are not "overwriting
    > data source" then you can just configure the different data sources in report
    > manager.
    > So 1 report gets deployed to 2 or more folders, each folder having its own
    > datasource. (the config manager is not intuitive)
    > We find this easier to manage 2 different regions using the same reports on
    > 2 different databases like this.
    > We even have it so different sub regions have different sub folders using
    > linked reports with their sub region 'hardcoded' as a linked report param -
    > they are not even aware of the other sub regions' reports existing due to
    > security setup
    > You could always used linked reports to point back at the different folders
    > if the users complain.
    > "Michael C" wrote:
    > > Is there any way to find out what the data souce connection string is at
    > > runtime?
    > >
    > > I have a report that is sent out to various sites, each with a common data
    > > schema, but various connection strings. The report uses custom code in the
    > > report rdl, so each time I deploy the report to a new site, I have to reset
    > > the custom code connection string to match the individual site I am deploying
    > > it to.
    > >
    > > I would like to be able to have it dynamically query the connection string
    > > so I can just pass it in to my code as a variable. Any ideas?
    > >
    > > Michaelsql

    Data Source access

    Hi All,
    I'm looking to create an ad-hoc query generator so that I can create a
    report on the fly, but I would like to use RS Shared Data Sources for this.
    I have run into a problem though, in that I can't retrieve the password for
    the Shared Data Source. Is there any way to get the Data Source back as a
    connection to the database in ADO?
    Thanks in advacne,
    CathieNo you cannot get the data source back as connection. But you could try to
    implement a custom RS data extension and use it then in the shared data
    source.
    --
    This posting is provided "AS IS" with no warranties, and confers no rights.
    "Cathie" <cathie@.somewhere.com> wrote in message
    news:eqY8s64SFHA.2128@.TK2MSFTNGP14.phx.gbl...
    > Hi All,
    > I'm looking to create an ad-hoc query generator so that I can create a
    > report on the fly, but I would like to use RS Shared Data Sources for
    > this. I have run into a problem though, in that I can't retrieve the
    > password for the Shared Data Source. Is there any way to get the Data
    > Source back as a connection to the database in ADO?
    > Thanks in advacne,
    > Cathie
    >|||Hi Robert,
    I'm sorry I don't understand how a custom RS data extension would help me.
    I am want to be able to get any datasource's (within RS) tables, views,
    stored procedures etc. How would a custom RS data extension help?
    Cathie
    "Robert Bruckner [MSFT]" <robruc@.online.microsoft.com> wrote in message
    news:OIBjdIgTFHA.1404@.TK2MSFTNGP09.phx.gbl...
    > No you cannot get the data source back as connection. But you could try to
    > implement a custom RS data extension and use it then in the shared data
    > source.
    > --
    > This posting is provided "AS IS" with no warranties, and confers no
    > rights.
    >
    > "Cathie" <cathie@.somewhere.com> wrote in message
    > news:eqY8s64SFHA.2128@.TK2MSFTNGP14.phx.gbl...
    >> Hi All,
    >> I'm looking to create an ad-hoc query generator so that I can create a
    >> report on the fly, but I would like to use RS Shared Data Sources for
    >> this. I have run into a problem though, in that I can't retrieve the
    >> password for the Shared Data Source. Is there any way to get the Data
    >> Source back as a connection to the database in ADO?
    >> Thanks in advacne,
    >> Cathie
    >|||If you go through a custom data extension, you would need to implement our
    IDBConnection etc. interfaces. Hence, in the custom data extension you would
    see the actual connection string etc. used to connect to the data source.
    You could use this information to do then some adhoc query generation. What
    I'm basically saying is that you cannot easily do the adhoc query generation
    from within the report in RS 2000.
    -- Robert
    This posting is provided "AS IS" with no warranties, and confers no rights.
    "Cathie" <cathie@.somewhere.com> wrote in message
    news:e5GQ9F4TFHA.2712@.TK2MSFTNGP09.phx.gbl...
    > Hi Robert,
    > I'm sorry I don't understand how a custom RS data extension would help me.
    > I am want to be able to get any datasource's (within RS) tables, views,
    > stored procedures etc. How would a custom RS data extension help?
    > Cathie
    > "Robert Bruckner [MSFT]" <robruc@.online.microsoft.com> wrote in message
    > news:OIBjdIgTFHA.1404@.TK2MSFTNGP09.phx.gbl...
    >> No you cannot get the data source back as connection. But you could try
    >> to implement a custom RS data extension and use it then in the shared
    >> data source.
    >> --
    >> This posting is provided "AS IS" with no warranties, and confers no
    >> rights.
    >>
    >> "Cathie" <cathie@.somewhere.com> wrote in message
    >> news:eqY8s64SFHA.2128@.TK2MSFTNGP14.phx.gbl...
    >> Hi All,
    >> I'm looking to create an ad-hoc query generator so that I can create a
    >> report on the fly, but I would like to use RS Shared Data Sources for
    >> this. I have run into a problem though, in that I can't retrieve the
    >> password for the Shared Data Source. Is there any way to get the Data
    >> Source back as a connection to the database in ADO?
    >> Thanks in advacne,
    >> Cathie
    >>
    >

    data set reuse in the same report

    Is there a way to reuse a data set in a report?
    Example:
    report has 2 data sets, ds1 and ds2.
    ds1 calls a sproc that returns the data.
    ds2 use the same data but filters it and displays it in a different
    way.
    the queries that generate the data are long (over 1 hour) and I don't
    want to call the sproc again to generate the same data for ds2.
    is there a way to reuse the data from ds1?
    thanksOn Apr 10, 11:03 am, "jlemm" <beasyou...@.gmail.com> wrote:
    > Is there a way to reuse a data set in a report?
    > Example:
    > report has 2 data sets, ds1 and ds2.
    > ds1 calls a sproc that returns the data.
    > ds2 use the same data but filters it and displays it in a different
    > way.
    > the queries that generate the data are long (over 1 hour) and I don't
    > want to call the sproc again to generate the same data for ds2.
    > is there a way to reuse the data from ds1?
    > thanks
    You should be able to reference the data from ds1 via something (an
    expression) like this (if using a textbox control):
    =Sum(Fields!SomeFieldName.Value, "ds1")
    You should be able to reuse the dataset as well in another table
    control (via selecting ds1 as part of the general properties), etc;
    however, as far as, not re-executing it, I can't say. I would suggest
    trying to improve the performance of your query as well (via the Data
    Engine Tuning Advisor, SQL Profiler, etc). Hope this helps.
    Regards,
    Enrique Martinez
    Sr. Software Consultant

    Data Set returns but Report doesn't display

    I'm returning a data set from a stored procedure. When I go to preview the
    report I'm getting an error: An error has occured during report processing.
    Invalid attempt to read when no data is present. I made a minor change
    (added a parameter) to the stored procedure that wouldn't impact the data set
    being returned and the data set returns. The report parameter is set up
    correctly in the report but is not displayed anywhere on the report. The
    build succeeded. Does this error mean I need to drag & drop my fields back
    onto the report layout again?I was able to fix this issue. Re-ran the stored procedure and then re-added
    all of the fields. For some reason it didn't want to work when I tried it
    before.
    "patty" wrote:
    > I'm returning a data set from a stored procedure. When I go to preview the
    > report I'm getting an error: An error has occured during report processing.
    > Invalid attempt to read when no data is present. I made a minor change
    > (added a parameter) to the stored procedure that wouldn't impact the data set
    > being returned and the data set returns. The report parameter is set up
    > correctly in the report but is not displayed anywhere on the report. The
    > build succeeded. Does this error mean I need to drag & drop my fields back
    > onto the report layout again?

    data set problem in RTM Professional Edition - sql server 2005

    Hi,
    I create a report with the Report Wizard Designer and are able to pre-view and deploy it (it’s a simple table with an OLAP data source), but if I switch to the "Data" tab the related DataSet seems to be empty and then, if I go back to the "Pre-view" tab, I can't view the Report no more and have this kind of error: "

    [rsFieldReference] The Group expression for the table ‘table1’ refers to the field ‘Semestre’. Report item expressions can only refer to fields within the current data set scope or, if inside an aggregate, the specified data set scope.

    rsFieldReference] The Value expression for the textbox ‘Valore’ refers to the field ‘Valore’. Report item expressions can only refer to fields within the current data set scope or, if inside an aggregate, the specified data set scope.
    ..................

    Build complete -- 5 errors, 0 warnings
    "
    As if the DAta Set were empty, in effect. But I didn't make any changes in the "Data" tab, I only switch there to see the Data definition.
    Which can be the problem?
    Thank you very much.

    This is a known problem. It will be fixed in the next Service Pack. The workaround is not to use the Wizard to create the report. Instead use the Data tab to create your query.

    Thanks,
    Albertsql

    data set problem in RTM Professional Edition - sql server 2005

    Hi,
    I create a report with the Report Wizard Designer and are able to pre-view and deploy it (it’s a simple table with an OLAP data source), but if I switch to the "Data" tab the related DataSet seems to be empty and then, if I go back to the "Pre-view" tab, I can't view the Report no more and have this kind of error: "

    [rsFieldReference] The Group expression for the table ‘table1’ refers to the field ‘Semestre’. Report item expressions can only refer to fields within the current data set scope or, if inside an aggregate, the specified data set scope.

    rsFieldReference] The Value expression for the textbox ‘Valore’ refers to the field ‘Valore’. Report item expressions can only refer to fields within the current data set scope or, if inside an aggregate, the specified data set scope.
    ..................

    Build complete -- 5 errors, 0 warnings
    "
    As if the DAta Set were empty, in effect. But I didn't make any changes in the "Data" tab, I only switch there to see the Data definition.
    Which can be the problem?
    Thank you very much.

    This is a known problem. It will be fixed in the next Service Pack. The workaround is not to use the Wizard to create the report. Instead use the Data tab to create your query.

    Thanks,
    Albert

    data set name missing?

    Hi,
    I have added a paramter which takes it's values from a query. When I
    compile the report, I get the message
    The data set name is missing in the data region 'data set name'.
    What does this mean?
    thanksAh, data set was not assigned for table. Thanks anyway
    "Matt" <NoSpam:Matthew.Moran@.Computercorp.com.au> wrote in message
    news:e$5hNgYsEHA.2948@.TK2MSFTNGP12.phx.gbl...
    > Hi,
    > I have added a paramter which takes it's values from a query. When I
    > compile the report, I get the message
    > The data set name is missing in the data region 'data set name'.
    > What does this mean?
    > thanks
    >

    Thursday, March 22, 2012

    data secruity for Report Builder Models

    Does anyone know how to implement data secruity based on user id (forms
    authenication) for the report builder models.
    Basically, I have created an report model. And i want certain people to have
    access to certain data. The users are organized by the office where they
    work. Is there a way to do, this without creating an different model for each
    group of users?read this:
    http://blogs.msdn.com/bobmeyers/articles/Implementing_Data_Security_in_a_Report_Model.aspx
    "Ryan" <Ryan@.discussions.microsoft.com> wrote in message
    news:A0BE0C59-10DA-4C44-9120-CCC13E5EF84E@.microsoft.com...
    > Does anyone know how to implement data secruity based on user id (forms
    > authenication) for the report builder models.
    > Basically, I have created an report model. And i want certain people to
    > have
    > access to certain data. The users are organized by the office where they
    > work. Is there a way to do, this without creating an different model for
    > each
    > group of users?|||When I try to add a new expression or filter, i get the following error
    message
    Access to the path 'C:\Program Files\Microsoft Visual Studio
    8\Common7\IDE\config' is denied. (Microsoft Visual Studio)
    "Jeje" wrote:
    > read this:
    > http://blogs.msdn.com/bobmeyers/articles/Implementing_Data_Security_in_a_Report_Model.aspx
    >
    > "Ryan" <Ryan@.discussions.microsoft.com> wrote in message
    > news:A0BE0C59-10DA-4C44-9120-CCC13E5EF84E@.microsoft.com...
    > > Does anyone know how to implement data secruity based on user id (forms
    > > authenication) for the report builder models.
    > >
    > > Basically, I have created an report model. And i want certain people to
    > > have
    > > access to certain data. The users are organized by the office where they
    > > work. Is there a way to do, this without creating an different model for
    > > each
    > > group of users?
    >|||so, i wanted to do something like this as a filter or expression. But i don't
    know how to get this into the expression. Anything you can do would help
    SELECT *
    FROM tblBureauCode INNER JOIN
    tblPerson ON tblBureauCode.Bureau_CodeID =tblPerson.Bureau_CodeID INNER JOIN
    tblDataAccess ON tblBureauCode.Bureau_Code =tblDataAccess.Bureaus
    WHERE (tblDataAccess.Login = user!userid)
    "Jeje" wrote:
    > read this:
    > http://blogs.msdn.com/bobmeyers/articles/Implementing_Data_Security_in_a_Report_Model.aspx
    >
    > "Ryan" <Ryan@.discussions.microsoft.com> wrote in message
    > news:A0BE0C59-10DA-4C44-9120-CCC13E5EF84E@.microsoft.com...
    > > Does anyone know how to implement data secruity based on user id (forms
    > > authenication) for the report builder models.
    > >
    > > Basically, I have created an report model. And i want certain people to
    > > have
    > > access to certain data. The users are organized by the office where they
    > > work. Is there a way to do, this without creating an different model for
    > > each
    > > group of users?
    >

    Data Retrieval Question

    I have a report that queries a table in the database (using a stored procedure) and displays various things about a customer. The report is basically displaying the same information that one of the screens in our web app displays. The problem is that one of the fields that I need to display on the report is not stored in the database table it is calculated. The calculation is performed by doing some database calls and various other stuff. A method exists for this calculation in our data layer that I would like to call from the report. My question is what is the best way to go about doing this call? Can/Should I do this from a custom code assembly?
    Thanks...
    Spyork
    > Can I do this from a custom code assembly?
    Yes. Here's how. ( http://msdn.microsoft.com/sql/sqlwarehouse/reportingservices/default.aspx?pull=/library/en-us/dnsql2k/html/erscstcode.asp )

    > Should I do this from a custom code assembly?
    Yes. Unless you want to rewrite your code in the funny little Reporting Services text editor dialog that accepts VB code.

    - Ian