Showing posts with label deployed. Show all posts
Showing posts with label deployed. Show all posts

Wednesday, March 28, 2012

Parameter missing

Hi,

I was developed the rdl report and i deployed to the server, In my report having the single input parameter When i run the report

asking parameter value and i was gave the value it was generated the report it is working fine.

Then this rdl report bind to the reportviewer control using

Report viwer tasks :

Choose Report : < Server Report>

Server Report Url:http://localhost/reportserver

Report Path : /Sales/Details

then i run the error should shown:

  • An error has occurred during report processing.
  • Query execution failed for data set 'Details'.
  • Procedure 'Usp_Details' expects parameter '@.PId', which was not supplied.

    How i pass the parameter value in reportviewer.

    Plz any one would help to me.

    regards

    kumar

    First deploy it and go to the IIS and open the Report folder and browse it.You can find your report there.Run that report.If that is working fine so some other problem was there.Do like that way if it is working so the page should work fine.

    |||

    Hi,

    Thanks for your response

    I did you told that way it is working fine and i was bind the rdl report to Reportviewer in my webpage then i ran the error should occured

    An error has occurred during report processing.

  • Query execution failed for data set 'Details'.
  • Procedure 'Usp_Details' expects parameter '@.PId', which was not supplied|||

    ptParameters[0] =
    new Microsoft.Reporting.WebForms.ReportParameter("ClientId", sessParam );

    this.ReportViewer1.ServerReport.SetParameters(RptParameters);
    this.ReportViewer1.ServerReport.Refresh();

    check this article for more infohttp://www.codeproject.com/sqlrs/ReportViewer2005.asp

    |||

    It is working fine thanks lot

    regards

    kumar

    sql
  • Monday, March 26, 2012

    parameter entry / view report

    I'm fairly new to RS, but have created some reports and deployed them.
    I have parameter value list that is generate from a SELECT statement.
    To be a bit more user-friendly, I'd like the user to be able to click on an
    entry in the parameter list and have the sytem run the report without having
    to click the View Report .
    Is there a way to avoid having the user click the View Report ? It would
    save a step and is something that can become annoying as the user moves from
    one report to another based on the parameter chosen.
    TIA,
    DougIf you use the enter key the View Report button is the default. I do this
    instead of clicking on it sometime.
    RS does not know when you are on the last parameter, you need to either
    click on view report or use the enter key.
    Bruce Loehle-Conger
    MVP SQL Server Reporting Services
    "Doug" <Doug@.discussions.microsoft.com> wrote in message
    news:5F6FC4F0-F033-4B3D-9565-DE61F0FD0E34@.microsoft.com...
    > I'm fairly new to RS, but have created some reports and deployed them.
    > I have parameter value list that is generate from a SELECT statement.
    > To be a bit more user-friendly, I'd like the user to be able to click on
    > an
    > entry in the parameter list and have the sytem run the report without
    > having
    > to click the View Report .
    > Is there a way to avoid having the user click the View Report ? It would
    > save a step and is something that can become annoying as the user moves
    > from
    > one report to another based on the parameter chosen.
    > TIA,
    > Doug

    Parameter Does Not Work When Deployed

    This is my first attempt at using a second dataset to fill a drop-down
    parameter. This works fine inside of the designer but when I deploy to the
    report server, there are no values in the drop down.
    I thought perhaps it was because the data source name on the server is
    different. In the past I would just update it on the server after I deploy
    and it worked fine. After the deploy and after chaning the DS name, I edited
    the server RDL and found that not all of the DS names had been updated. I
    then edited the names in the RDL and uploaded manually thinking this was the
    problem but the DD list still does not work.
    Thanks for any help!Are you using a shared data source? This could be a credentials problem. I
    always use a shared datasource. Personally, I don't see much of a reason to
    ever not use a shared data source.
    Bruce Loehle-Conger
    MVP SQL Server Reporting Services
    "Mike Harbinger" <MikeH@.Cybervillage.net> wrote in message
    news:OJhRIuNjFHA.3256@.TK2MSFTNGP12.phx.gbl...
    > This is my first attempt at using a second dataset to fill a drop-down
    > parameter. This works fine inside of the designer but when I deploy to the
    > report server, there are no values in the drop down.
    > I thought perhaps it was because the data source name on the server is
    > different. In the past I would just update it on the server after I deploy
    > and it worked fine. After the deploy and after chaning the DS name, I
    > edited the server RDL and found that not all of the DS names had been
    > updated. I then edited the names in the RDL and uploaded manually thinking
    > this was the problem but the DD list still does not work.
    > Thanks for any help!
    >|||Bruce
    Thanks for your reply
    Yes, I have deployed other reports to the same folder, reset them to the
    same data source and it always has worked fine. What is different is this is
    the first time I used a second dataset in a report (to drive the lookup drop
    down). It may not be the datasource, that was just a guess on my part. Are
    there othe issues that could affect a query driven lookup such that it works
    in the designer but not when deployed?
    Thanks
    Mike
    "Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
    news:%23oQhumSjFHA.576@.TK2MSFTNGP15.phx.gbl...
    > Are you using a shared data source? This could be a credentials problem. I
    > always use a shared datasource. Personally, I don't see much of a reason
    > to ever not use a shared data source.
    >
    > --
    > Bruce Loehle-Conger
    > MVP SQL Server Reporting Services
    > "Mike Harbinger" <MikeH@.Cybervillage.net> wrote in message
    > news:OJhRIuNjFHA.3256@.TK2MSFTNGP12.phx.gbl...
    >> This is my first attempt at using a second dataset to fill a drop-down
    >> parameter. This works fine inside of the designer but when I deploy to
    >> the report server, there are no values in the drop down.
    >> I thought perhaps it was because the data source name on the server is
    >> different. In the past I would just update it on the server after I
    >> deploy and it worked fine. After the deploy and after chaning the DS
    >> name, I edited the server RDL and found that not all of the DS names had
    >> been updated. I then edited the names in the RDL and uploaded manually
    >> thinking this was the problem but the DD list still does not work.
    >> Thanks for any help!
    >|||It could be a security issue on the database side of things. I've been
    burned by that. I use one ID in development and then production is using
    another one and the table/store procedure does not have the correct rights
    for the production credentials. Take a look on the database at the table the
    query is going against and see what the security access rights are set to.
    Bruce Loehle-Conger
    MVP SQL Server Reporting Services
    "Mike Harbinger" <MikeH@.Cybervillage.net> wrote in message
    news:ulgIyGijFHA.3012@.TK2MSFTNGP12.phx.gbl...
    > Bruce
    > Thanks for your reply
    > Yes, I have deployed other reports to the same folder, reset them to the
    > same data source and it always has worked fine. What is different is this
    > is the first time I used a second dataset in a report (to drive the lookup
    > drop down). It may not be the datasource, that was just a guess on my
    > part. Are there othe issues that could affect a query driven lookup such
    > that it works in the designer but not when deployed?
    > Thanks
    > Mike
    >
    > "Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
    > news:%23oQhumSjFHA.576@.TK2MSFTNGP15.phx.gbl...
    >> Are you using a shared data source? This could be a credentials problem.
    >> I always use a shared datasource. Personally, I don't see much of a
    >> reason to ever not use a shared data source.
    >>
    >> --
    >> Bruce Loehle-Conger
    >> MVP SQL Server Reporting Services
    >> "Mike Harbinger" <MikeH@.Cybervillage.net> wrote in message
    >> news:OJhRIuNjFHA.3256@.TK2MSFTNGP12.phx.gbl...
    >> This is my first attempt at using a second dataset to fill a drop-down
    >> parameter. This works fine inside of the designer but when I deploy to
    >> the report server, there are no values in the drop down.
    >> I thought perhaps it was because the data source name on the server is
    >> different. In the past I would just update it on the server after I
    >> deploy and it worked fine. After the deploy and after chaning the DS
    >> name, I edited the server RDL and found that not all of the DS names had
    >> been updated. I then edited the names in the RDL and uploaded manually
    >> thinking this was the problem but the DD list still does not work.
    >> Thanks for any help!
    >>
    >|||Bruce
    The security seems ok and the main query for dataset-1 works fine. The same
    data source is used for dataset-1 and dataset-2 which drives the param
    drop-down list. Maybe it is not the data source since I am not getting any
    erorrs. This is what happens: the the drop down list is horizontally
    truncated and there are no values in displayed when you select it. It just
    displays 'Select Value'.
    Thanks
    Mike
    "Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
    news:%23fTmvMijFHA.3608@.TK2MSFTNGP12.phx.gbl...
    > It could be a security issue on the database side of things. I've been
    > burned by that. I use one ID in development and then production is using
    > another one and the table/store procedure does not have the correct rights
    > for the production credentials. Take a look on the database at the table
    > the query is going against and see what the security access rights are set
    > to.
    >
    > --
    > Bruce Loehle-Conger
    > MVP SQL Server Reporting Services
    > "Mike Harbinger" <MikeH@.Cybervillage.net> wrote in message
    > news:ulgIyGijFHA.3012@.TK2MSFTNGP12.phx.gbl...
    >> Bruce
    >> Thanks for your reply
    >> Yes, I have deployed other reports to the same folder, reset them to the
    >> same data source and it always has worked fine. What is different is this
    >> is the first time I used a second dataset in a report (to drive the
    >> lookup drop down). It may not be the datasource, that was just a guess on
    >> my part. Are there othe issues that could affect a query driven lookup
    >> such that it works in the designer but not when deployed?
    >> Thanks
    >> Mike
    >>
    >> "Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
    >> news:%23oQhumSjFHA.576@.TK2MSFTNGP15.phx.gbl...
    >> Are you using a shared data source? This could be a credentials problem.
    >> I always use a shared datasource. Personally, I don't see much of a
    >> reason to ever not use a shared data source.
    >>
    >> --
    >> Bruce Loehle-Conger
    >> MVP SQL Server Reporting Services
    >> "Mike Harbinger" <MikeH@.Cybervillage.net> wrote in message
    >> news:OJhRIuNjFHA.3256@.TK2MSFTNGP12.phx.gbl...
    >> This is my first attempt at using a second dataset to fill a drop-down
    >> parameter. This works fine inside of the designer but when I deploy to
    >> the report server, there are no values in the drop down.
    >> I thought perhaps it was because the data source name on the server is
    >> different. In the past I would just update it on the server after I
    >> deploy and it worked fine. After the deploy and after chaning the DS
    >> name, I edited the server RDL and found that not all of the DS names
    >> had been updated. I then edited the names in the RDL and uploaded
    >> manually thinking this was the problem but the DD list still does not
    >> work.
    >> Thanks for any help!
    >>
    >>
    >

    Monday, February 20, 2012

    Page reloaded automatically and rapidly

    Hi,

    I'm new to the reporting service. I followed the tutorial from the online book and created the basic report. After I deployed the report and opened it in the browser, it kept reloading the page automatically. Seems to me the page is reloaded at least 5 times per second. I turned off the Autorefresh for the report. It still behaves the same. That causes the CPU of my computer runs on 100% constantly. Can anyone help me to solve the problem?

    Thanks,

    Jia

    Jia,

    One way to get a report to refresh is the 'Autorefresh' property (Report Properties, General Tab, Autorefresh checkbox). You've already verified that that checkbox is unchecked (this is a design time property).

    A report can also be refreshed based on the Report Server's caching property. To change this setting, you can use the Report Manager. Make sure that you've got the following radio buttons selected and no others (available when you deploy to the report manager, run the report, select the Properties tab, and the Execution page):

    Always run this report with the most recent data|||

    Hi Tnx1m,

    I did as what you said. Unfortunately they didn't work.

    After the first page is loaded, the page starts to *flash*. I use SQL Profiler to check on the backend. There is no query sent to the database. It looks like the page is in an infinite loop to be refreshed but not sending any commands to the database. Any idea why it is like that?

    Thanks,

    Jia

    |||

    Hi Hia,

    seems like you are running IE 7 Beta 3 :-) Look here for more information about this: http://sqlserver2005.de/SQLServer2005/MyBlog/tabid/56/EntryID/10/Default.aspx

    HTH, Jens Suessmeyer.

    http://www.sqlserver2005.de

    |||

    Hi Jen,

    That's exactly where the problem comes from. Thanks so much!

    Jia