Showing posts with label creating. Show all posts
Showing posts with label creating. Show all posts

Monday, March 26, 2012

Report Viewer Redistribution

I am creating a .NET WinForm app and would like to include the files required for the ReportViewer component (SP1). Can someone tell me where I can find these files? Also, can I simply drop these files in the folder where the rest of my app is going to reside, or does an installation have to take place?

Thanks - Amos.

http://prologika.com/CS/blogs/blog/archive/2007/03/27/report-viewer-sp1-redistributables.aspx|||

Teo,

Is the ReportViewer.Exe file the only alternative I have if I want to install the Viewer as part of my application? I would rather not force my uses to install my application and then install ReportViewer.Exe as a separate install step.

Amos.

|||You can drop the ReportViewer assemblies in your application bin folder.|||

Teo,

That was the point of my original question. What are all the required assemblies, and where are they? When I ran the ReportViewer.exe, it installed the assemblies but I couldn't tell what they were or where they went.

Amos.

|||

I appologize for missing your point. Go to GAC (C:\Windows\assembly). The assemblies whose names start with Microsoft.ReportViewer.* are the ReportViewer assemblies. There are six of them but depends on the your application technology you won't need all of them, e.g. you won't need the WebDesign and WebForms assemblies with Windows Forms applications.

To extract the assemblies from GAC you can use the GACViewer utility.

|||

Teo,

Thank you very much!

Amos.

Report Viewer Redistribution

I am creating a .NET WinForm app and would like to include the files required for the ReportViewer component (SP1). Can someone tell me where I can find these files? Also, can I simply drop these files in the folder where the rest of my app is going to reside, or does an installation have to take place?

Thanks - Amos.

http://prologika.com/CS/blogs/blog/archive/2007/03/27/report-viewer-sp1-redistributables.aspx|||

Teo,

Is the ReportViewer.Exe file the only alternative I have if I want to install the Viewer as part of my application? I would rather not force my uses to install my application and then install ReportViewer.Exe as a separate install step.

Amos.

|||You can drop the ReportViewer assemblies in your application bin folder.|||

Teo,

That was the point of my original question. What are all the required assemblies, and where are they? When I ran the ReportViewer.exe, it installed the assemblies but I couldn't tell what they were or where they went.

Amos.

|||

I appologize for missing your point. Go to GAC (C:\Windows\assembly). The assemblies whose names start with Microsoft.ReportViewer.* are the ReportViewer assemblies. There are six of them but depends on the your application technology you won't need all of them, e.g. you won't need the WebDesign and WebForms assemblies with Windows Forms applications.

To extract the assemblies from GAC you can use the GACViewer utility.

|||

Teo,

Thank you very much!

Amos.

Friday, March 23, 2012

Report viewer and Visual Studio 2005

Hi, I developed ASP.Net web site project with Report Viewer,and i published the project and put it another system in my LAN, after creating the virtual directory in IIS i tried to browse. I am getting the following error:

[WebException: The request failed with HTTP status 401: Access Denied.] Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.GetSecureMethods() +211

The report server of my machine can be accessed thru http://sys40/reportserver from that system. But the published website is showing the above mentioned error, so i created the a new project, same as the one created in my system, in the other system. While debugging the project i am able to access the report server and view the report but wen the website is published and then browsed the above mentioned error is displayed.

Even the identity impersonate = true condition was made in web config file..

How can this issue be solved...

Thanks in advance.. Somu

HI,radmoorthy :

You can give it a try with these following steps:

1. Verify your NTFS permissions for the users on the folder C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer.

He should have ("Read & Execute", "List Folder Content" and "Read").

2.In IIS for Reports and ReportServer app set Authenication method to "Basic authentication" from "Integrated Windows authentication".

If i misunderstand you about your question, please feel free to correct me and i will try to help you with more information.

I hope the above information will be helpful. If you have any issues or concerns, please let me know. It's my pleasure to be of assistance

|||

HI,radmoorthy :

We are marking this issue as "Answered". If you have any new findings or concerns, please feel free to unmark the issue.
Thank you for your understanding!

Wednesday, March 21, 2012

Report to a text file

Hi !
When creating a maintenance plan, I can activate the option "Report to a
text file" available on the last page. How can I enable this option after
the maintenance plan was created ?
Thank you !
HugoDear Hugo,
Thank you for posting here.
We can manually enable the option "Report to a text file" by the steps
below:
1. Right click on the Maintenance Plan that you would like to enable the
option -> Click Modify.
2. In the right panel of the screen, we will find a button named "Reporting
and Logging" (just besides the "Manage Connections" button) on the design
Tab.
3. Click on this button, enable the option "Generate a test file report"
and then specify the location.
4. Click OK to apply the settings.
If anything is unclear regarding above steps, please don't hesitate to let
me know.
Have a nice day!
Best regards,
Adams Qu
MCSE, MCDBA, MCTS
Microsoft Online Support
Microsoft Global Technical Support Center
Get Secure! - www.microsoft.com/security
=====================================================When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================This posting is provided "AS IS" with no warranties, and confers no rights.
--
| From: "Hugo" <newschrg@.noemail.noemail>
| Subject: Report to a text file
| Date: Mon, 24 Sep 2007 14:08:26 -0400
| Lines: 11
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
| Message-ID: <OfApmXt$HHA.5424@.TK2MSFTNGP05.phx.gbl>
| Newsgroups: microsoft.public.sqlserver.server
| NNTP-Posting-Host: isis.reg03.rtss.qc.ca 142.84.196.21
| Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP05.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl microsoft.public.sqlserver.server:26187
| X-Tomcat-NG: microsoft.public.sqlserver.server
|
| Hi !
|
| When creating a maintenance plan, I can activate the option "Report to a
| text file" available on the last page. How can I enable this option after
| the maintenance plan was created ?
|
| Thank you !
|
| Hugo
|
|
||||Thank you !
Hugo
"Adams Qu [MSFT]" <v-adamqu@.online.microsoft.com> a écrit dans le message de
news: yU9jbNy$HHA.240@.TK2MSFTNGHUB02.phx.gbl...
> Dear Hugo,
> Thank you for posting here.
> We can manually enable the option "Report to a text file" by the steps
> below:
> 1. Right click on the Maintenance Plan that you would like to enable the
> option -> Click Modify.
> 2. In the right panel of the screen, we will find a button named
> "Reporting
> and Logging" (just besides the "Manage Connections" button) on the design
> Tab.
> 3. Click on this button, enable the option "Generate a test file report"
> and then specify the location.
> 4. Click OK to apply the settings.
> If anything is unclear regarding above steps, please don't hesitate to let
> me know.
> Have a nice day!
> Best regards,
> Adams Qu
> MCSE, MCDBA, MCTS
> Microsoft Online Support
> Microsoft Global Technical Support Center
> Get Secure! - www.microsoft.com/security
> =====================================================> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> =====================================================> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> --
> | From: "Hugo" <newschrg@.noemail.noemail>
> | Subject: Report to a text file
> | Date: Mon, 24 Sep 2007 14:08:26 -0400
> | Lines: 11
> | X-Priority: 3
> | X-MSMail-Priority: Normal
> | X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
> | X-RFC2646: Format=Flowed; Original
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
> | Message-ID: <OfApmXt$HHA.5424@.TK2MSFTNGP05.phx.gbl>
> | Newsgroups: microsoft.public.sqlserver.server
> | NNTP-Posting-Host: isis.reg03.rtss.qc.ca 142.84.196.21
> | Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP05.phx.gbl
> | Xref: TK2MSFTNGHUB02.phx.gbl microsoft.public.sqlserver.server:26187
> | X-Tomcat-NG: microsoft.public.sqlserver.server
> |
> | Hi !
> |
> | When creating a maintenance plan, I can activate the option "Report to a
> | text file" available on the last page. How can I enable this option
> after
> | the maintenance plan was created ?
> |
> | Thank you !
> |
> | Hugo
> |
> |
> |
>|||Dear Hugo,
We wanted to see if the information provided was helpful. Please keep us
posted on your progress and let us know if you have any additional
questions or concerns.
We are looking forward to your response.
Have a nice day!
Best regards,
Adams Qu
MCSE, MCDBA, MCTS
Microsoft Online Support
Microsoft Global Technical Support Center
Get Secure! - www.microsoft.com/security
=====================================================When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================This posting is provided "AS IS" with no warranties, and confers no rights.
| X-Tomcat-ID: 40360268
| References: <OfApmXt$HHA.5424@.TK2MSFTNGP05.phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: v-adamqu@.online.microsoft.com (Adams Qu [MSFT])
| Organization: Microsoft
| Date: Tue, 25 Sep 2007 03:22:48 GMT
| Subject: RE: Report to a text file
| X-Tomcat-NG: microsoft.public.sqlserver.server
| Message-ID: <yU9jbNy$HHA.240@.TK2MSFTNGHUB02.phx.gbl>
| Newsgroups: microsoft.public.sqlserver.server
| Lines: 53
| Path: TK2MSFTNGHUB02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl microsoft.public.sqlserver.server:26212
| NNTP-Posting-Host: tomcatimport2.phx.gbl 10.201.218.182
|
| Dear Hugo,
|
| Thank you for posting here.
|
| We can manually enable the option "Report to a text file" by the steps
| below:
|
| 1. Right click on the Maintenance Plan that you would like to enable the
| option -> Click Modify.
| 2. In the right panel of the screen, we will find a button named
"Reporting
| and Logging" (just besides the "Manage Connections" button) on the design
| Tab.
| 3. Click on this button, enable the option "Generate a test file report"
| and then specify the location.
| 4. Click OK to apply the settings.
|
| If anything is unclear regarding above steps, please don't hesitate to
let
| me know.
|
| Have a nice day!
|
| Best regards,
|
| Adams Qu
| MCSE, MCDBA, MCTS
| Microsoft Online Support
|
| Microsoft Global Technical Support Center
|
| Get Secure! - www.microsoft.com/security
| =====================================================| When responding to posts, please "Reply to Group" via your newsreader so
| that others may learn and benefit from your issue.
| =====================================================| This posting is provided "AS IS" with no warranties, and confers no
rights.
| --
| | From: "Hugo" <newschrg@.noemail.noemail>
| | Subject: Report to a text file
| | Date: Mon, 24 Sep 2007 14:08:26 -0400
| | Lines: 11
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
| | X-RFC2646: Format=Flowed; Original
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
| | Message-ID: <OfApmXt$HHA.5424@.TK2MSFTNGP05.phx.gbl>
| | Newsgroups: microsoft.public.sqlserver.server
| | NNTP-Posting-Host: isis.reg03.rtss.qc.ca 142.84.196.21
| | Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP05.phx.gbl
| | Xref: TK2MSFTNGHUB02.phx.gbl microsoft.public.sqlserver.server:26187
| | X-Tomcat-NG: microsoft.public.sqlserver.server
| |
| | Hi !
| |
| | When creating a maintenance plan, I can activate the option "Report to
a
| | text file" available on the last page. How can I enable this option
after
| | the maintenance plan was created ?
| |
| | Thank you !
| |
| | Hugo
| |
| |
| |
|
|sql

Tuesday, March 20, 2012

Report Table Styles

When creating a Report using the Report Wizard you are asked to select a
Table Style from Bolb, Casual, Compact etc.
I read somewhere that you can add your own Table Style by editing a XML
File, but I can't remember where or what the XML File Name was.
Does anybody know?
Many thanks in advance.\Program Files\Microsoft SQL Server\80\Tools\Report Designer\Business
Intelligence Wizards\Reports\Styles\StyleTemplates.xml
Enjoy!
Mike G.
"John" <John@.discussions.microsoft.com> wrote in message
news:6EB19567-6F02-4B26-A705-ED9AD1ECC898@.microsoft.com...
> When creating a Report using the Report Wizard you are asked to select a
> Table Style from Bolb, Casual, Compact etc.
> I read somewhere that you can add your own Table Style by editing a XML
> File, but I can't remember where or what the XML File Name was.
> Does anybody know?
> Many thanks in advance.|||Thanks Mike.
"Mike G." wrote:
> \Program Files\Microsoft SQL Server\80\Tools\Report Designer\Business
> Intelligence Wizards\Reports\Styles\StyleTemplates.xml
> Enjoy!
> Mike G.
>
> "John" <John@.discussions.microsoft.com> wrote in message
> news:6EB19567-6F02-4B26-A705-ED9AD1ECC898@.microsoft.com...
> > When creating a Report using the Report Wizard you are asked to select a
> > Table Style from Bolb, Casual, Compact etc.
> >
> > I read somewhere that you can add your own Table Style by editing a XML
> > File, but I can't remember where or what the XML File Name was.
> >
> > Does anybody know?
> >
> > Many thanks in advance.
>
>

Monday, March 12, 2012

Report SnapShot Creation Programmatically through Java

Hi,

I am facing some issues while creating report snapshots programmatically using axis (Java platform for creating and deploying web services applications).

To create a report snapshot what should be the methods called ? I tried using UpdateReportExecutionSnapshot() but didn't find any parameters to set the schedule information which would say when the execute the report snapshot. Can you please guide me for this ?

Also I had one more doubt regarding report snapshots. If a parameterized report is configured as snapshot then we would require to set default parameters for the report.

Is there a way to create snapshots of the same report with different parameters ?

eg : The employee information report displays the information based on the employee id taken as a parameter. So is it possible to create snapshots with different employee id's ?

Thanks,

Amit Shah.

For configuring snapshots programmatically you can call SetReportHistoryOptions SOAP API. But for the task as you described you better pre-populate cache using subscriptions with Null Delivery Provider. You can create multiple ordinal subscriptions with different parameter sets or create one data-driven subscription which will iterate through different parameter sets (e.g. users) via query. Then configure report execution options to allow rendering the report from the cache. See: http://msdn2.microsoft.com/en-us/library/ms155927.aspx and http://msdn2.microsoft.com/en-us/library/ms155876.aspx

|||

Thanks for the replies.

I tried create a report snapshots and saving it in the report history by using the CreateReportHistorySnapshot() method call, but facing some issues with it.

The report being used to create the snapshot is a parameterized report. Hence before calling CreateReportHistorySnapshot() I call setReportParameters(). I pseudo code is something like this :

for( int i=0; i<10; i++) {

reportSnapshot.setParameters(parameterValue)

reportSnapshot.createReportHistorySnapShot().

}

But when I check the report History it has only 4 snapshots created (instead of 10). I confirmed that the report parameters are set properly by calling getReportParameters().

One more important point is that the last report was not having the latest parameter values passed i.e the snapshot was not having the values which are passed during the 10th iteration. It was having values passed during the 7th iteration(this was also not consistent).

Can anyone please guide me.

Thanks in advance.

|||

I don’t have an explanation why you’re missing some reports in the history snapshots. Analyze warnings returned by this API and log file. But history snapshots are not used as cached reports anyways. I would advise exploring Null Delivery Provider for pre-populating the cache as I pointed in my previous reply.

-Igor|||Just to add to my previous posting. The likely reason you are missing some reports in the history is the following. By design RS keeps unique index on ReportID+SnapshotCreateDate in History table, and timestamp’s granularity is in seconds. If report’s default parameters are changed and new snapshot is being created within same second as previously created snapshot, then the last one will be discarded. The bad thing is that RS won’t return an error on CreateReportHistorySnapshot call. This is the known issue.|||

I liked this thread so much, I just blogged about it. Here's the post:

http://blogs.msdn.com/lukaszp/archive/2007/01/12/per-user-snapshots-or-multiple-snapshots-for-a-report-each-with-different-parameters-at-the-same-time.aspx

-Lukasz

|||

Thanks a lot for the replies.

But as you mentioned that :

If report’s default parameters are changed and new snapshot is being created within same second as previously created snapshot, then the last one will be discarded. The bad thing is that RS won’t return an error on CreateReportHistorySnapshot call. This is the known issue.

So if I dont change the parameters or create a snapshot of a report which does not have any parameters, then will more than one snapshots get created in one second ?

I tried this programmatically but the snapshot was not getting created for a parameterless report & also when the reports parameters were not changed. Just wanted to confirm on whether I was doing some thing wrong or it is because of the timestamp's granularity is set in seconds.

Thanks in advance.

|||I believe nothing wrong with your code - it happens because timestamp's granularity is set in seconds.

Report SnapShot Creation Programmatically through Java

Hi,

I am facing some issues while creating report snapshots programmatically using axis (Java platform for creating and deploying web services applications).

To create a report snapshot what should be the methods called ? I tried using UpdateReportExecutionSnapshot() but didn't find any parameters to set the schedule information which would say when the execute the report snapshot. Can you please guide me for this ?

Also I had one more doubt regarding report snapshots. If a parameterized report is configured as snapshot then we would require to set default parameters for the report.

Is there a way to create snapshots of the same report with different parameters ?

eg : The employee information report displays the information based on the employee id taken as a parameter. So is it possible to create snapshots with different employee id's ?

Thanks,

Amit Shah.

For configuring snapshots programmatically you can call SetReportHistoryOptions SOAP API. But for the task as you described you better pre-populate cache using subscriptions with Null Delivery Provider. You can create multiple ordinal subscriptions with different parameter sets or create one data-driven subscription which will iterate through different parameter sets (e.g. users) via query. Then configure report execution options to allow rendering the report from the cache. See: http://msdn2.microsoft.com/en-us/library/ms155927.aspx and http://msdn2.microsoft.com/en-us/library/ms155876.aspx

|||

Thanks for the replies.

I tried create a report snapshots and saving it in the report history by using the CreateReportHistorySnapshot() method call, but facing some issues with it.

The report being used to create the snapshot is a parameterized report. Hence before calling CreateReportHistorySnapshot() I call setReportParameters(). I pseudo code is something like this :

for( int i=0; i<10; i++) {

reportSnapshot.setParameters(parameterValue)

reportSnapshot.createReportHistorySnapShot().

}

But when I check the report History it has only 4 snapshots created (instead of 10). I confirmed that the report parameters are set properly by calling getReportParameters().

One more important point is that the last report was not having the latest parameter values passed i.e the snapshot was not having the values which are passed during the 10th iteration. It was having values passed during the 7th iteration(this was also not consistent).

Can anyone please guide me.

Thanks in advance.

|||

I don’t have an explanation why you’re missing some reports in the history snapshots. Analyze warnings returned by this API and log file. But history snapshots are not used as cached reports anyways. I would advise exploring Null Delivery Provider for pre-populating the cache as I pointed in my previous reply.

-Igor|||Just to add to my previous posting. The likely reason you are missing some reports in the history is the following. By design RS keeps unique index on ReportID+SnapshotCreateDate in History table, and timestamp’s granularity is in seconds. If report’s default parameters are changed and new snapshot is being created within same second as previously created snapshot, then the last one will be discarded. The bad thing is that RS won’t return an error on CreateReportHistorySnapshot call. This is the known issue.|||

I liked this thread so much, I just blogged about it. Here's the post:

http://blogs.msdn.com/lukaszp/archive/2007/01/12/per-user-snapshots-or-multiple-snapshots-for-a-report-each-with-different-parameters-at-the-same-time.aspx

-Lukasz

|||

Thanks a lot for the replies.

But as you mentioned that :

If report’s default parameters are changed and new snapshot is being created within same second as previously created snapshot, then the last one will be discarded. The bad thing is that RS won’t return an error on CreateReportHistorySnapshot call. This is the known issue.

So if I dont change the parameters or create a snapshot of a report which does not have any parameters, then will more than one snapshots get created in one second ?

I tried this programmatically but the snapshot was not getting created for a parameterless report & also when the reports parameters were not changed. Just wanted to confirm on whether I was doing some thing wrong or it is because of the timestamp's granularity is set in seconds.

Thanks in advance.

|||I believe nothing wrong with your code - it happens because timestamp's granularity is set in seconds.

Report Services and Web Services?

Hi All,
I have spent the last few weeks working with SQL Server 2000 Reporting
Services and have gotten to the point of successfully creating EMail
Subscriptions. I now want to extend this so this process is performed
automatically, ie by clicking an 'Add me to this Reports Subscription list'
from within ur web application along side the link to run the report.
I'm aware of the RS.EXE utility but I'm not sure this is the answer, I'm
thinking this might lie within Web Services, as I hear Reporting Services is
basically a collection of such WSs which the localhost reporting services
interface plugs into.
So I'm wondering if this is correct and if so how I go about plugging into
the WSs to script the creation of a Report Subscription. I'm guessing it
might be possible to create the required subscriptions and then just use the
script/WSs to add a users email to the email list for the subscription,
although I'm wondering if it'll be that simple!
Thanks in advance,
Stephen
.ive done this using the reporting services soap api (although i am
using 2005, it was available in 2000)
heres a starting point ..
http://msdn2.microsoft.com/en-US/library/microsoft.wssux.reportingserviceswebservice.rsmanagementservice2005.reportingservice2005.createsubscription.aspx
its not too difficult, especially if your contriving much of the
schedule type values in your app rather than having to recreate a
scheduling interface for the user.
db
http://www.osix.net
the open source institute
home of the geek programming challenges
StephenMcC wrote:
> Hi All,
> I have spent the last few weeks working with SQL Server 2000 Reporting
> Services and have gotten to the point of successfully creating EMail
> Subscriptions. I now want to extend this so this process is performed
> automatically, ie by clicking an 'Add me to this Reports Subscription list'
> from within ur web application along side the link to run the report.
> I'm aware of the RS.EXE utility but I'm not sure this is the answer, I'm
> thinking this might lie within Web Services, as I hear Reporting Services is
> basically a collection of such WSs which the localhost reporting services
> interface plugs into.
> So I'm wondering if this is correct and if so how I go about plugging into
> the WSs to script the creation of a Report Subscription. I'm guessing it
> might be possible to create the required subscriptions and then just use the
> script/WSs to add a users email to the email list for the subscription,
> although I'm wondering if it'll be that simple!
> Thanks in advance,
> Stephen
> .|||Thanks for the reply bb, but is this .Net, migth it be poss to plug into this
from VB6 or Classic ASP, as the app is in old school VS?!
Thanks,
Sephen
"bb" wrote:
> ive done this using the reporting services soap api (although i am
> using 2005, it was available in 2000)
> heres a starting point ..
> http://msdn2.microsoft.com/en-US/library/microsoft.wssux.reportingserviceswebservice.rsmanagementservice2005.reportingservice2005.createsubscription.aspx
> its not too difficult, especially if your contriving much of the
> schedule type values in your app rather than having to recreate a
> scheduling interface for the user.
> db
>
> http://www.osix.net
> the open source institute
> home of the geek programming challenges
>
>
> StephenMcC wrote:
> > Hi All,
> >
> > I have spent the last few weeks working with SQL Server 2000 Reporting
> > Services and have gotten to the point of successfully creating EMail
> > Subscriptions. I now want to extend this so this process is performed
> > automatically, ie by clicking an 'Add me to this Reports Subscription list'
> > from within ur web application along side the link to run the report.
> >
> > I'm aware of the RS.EXE utility but I'm not sure this is the answer, I'm
> > thinking this might lie within Web Services, as I hear Reporting Services is
> > basically a collection of such WSs which the localhost reporting services
> > interface plugs into.
> >
> > So I'm wondering if this is correct and if so how I go about plugging into
> > the WSs to script the creation of a Report Subscription. I'm guessing it
> > might be possible to create the required subscriptions and then just use the
> > script/WSs to add a users email to the email list for the subscription,
> > although I'm wondering if it'll be that simple!
> >
> > Thanks in advance,
> >
> > Stephen
> >
> > .
>

report services

hi all I'm in the Microsoft Visual Studio creating a report and I noticed I cant bring a function over, am I doing something wrong. I wanted to make a report based on a function. its a table valued function

ALTER FUNCTION [dbo].[Beginning_EndingFinals](@.StartFINALSUITDONE datetime,
@.EndFINALSUITDONE datetime)
RETURNS TABLE
AS
RETURN ( SELECT TM#, LASTNAME, FIRSTNAME, CONDITIONAL, DATEOFCONDITIONAL, FINALSUITDONE
FROM dbo.EmployeeGamingLicense
WHERE (FINALSUITDONE BETWEEN @.StartFINALSUITDONE AND @.EndFINALSUITDONE) )why not make it a sproc?

I don't know if that matters or not|||Are you attempting to execute the ALTER FUNCTION code within text of the dataset?

Or are you making the call to the function within the text (ie, SELECT * from dbo.MyFunction(MyParameter)).

You might consider setting up a stored procedure instead (just set the command type in the Data Set to StoredProcedure).

Regards,

hmscott|||You might consider setting up a stored procedure instead (just set the command type in the Data Set to StoredProcedure).

Brilliant!|||this is the message I'm getting inside the Sql Server business intelligence studio|||this is the message I'm getting inside the Sql Server business intelligence studio

Ummmmm..what message|||Ummmmm..what message

My Bad, hope this helps

Friday, March 9, 2012

Report service and automatically creating a PDF report.

woundering if there's a way for the user to automatically create a PDF report
via a report button.
Currently when users click the report button the users web interface opens
(would like to not the the web interface just create the PDF without any
interaction) then the user is prompted to open/saved/cancel.
Is it possible to click on the so called report button and automatically
create the PDF? no dialog boxes appering just create the PDF?
Is this a workstation issue with internet exploier?
Running the 2000 version of SQL & it's counter part of reporting services.
All workstations all XP Pro Sp2
MikeHi Mike,
Well I'm using RS 2005 and all the latest stuff here, so I'm not sure
if it'll work but here goes. From a website, my users click a button
and I then do this in C# my code :
//*******************************
string url;
int idStage =3D Convert.ToInt32(lblIdStage.Text);
int annee =3D Convert.ToInt32(lblAnnee.Text);
int idTrimestreAdmission =3D
Convert.ToInt32(lblIdTrimestreAdmission.Text);
url =3D
"http://xxxxx.xxxxx.ca/ReportServer?/Rapport_xxxx/Etxxxge";
url +=3D "&rs:Format=3DPDF";
url +=3D "&idStage=3D" + idStage;
url +=3D "&annee=3D" + annee;
url +=3D "&idTrimestreAdmission=3D" + idTrimestreAdmission;
url +=3D "&idDomaineFormation=3D" +
Convert.ToInt32(Session["IdDomaineFormation"]);
Response.Redirect(url);
//*******************************
This basically pop up a acrobat reader with my report in it.
Hope it helps, cheers.
Mike a =E9crit :
> woundering if there's a way for the user to automatically create a PDF re=port
> via a report button.
> Currently when users click the report button the users web interface opens
> (would like to not the the web interface just create the PDF without any
> interaction) then the user is prompted to open/saved/cancel.
> Is it possible to click on the so called report button and automatically
> create the PDF? no dialog boxes appering just create the PDF?
> Is this a workstation issue with internet exploier?
> Running the 2000 version of SQL & it's counter part of reporting services.
> All workstations all XP Pro Sp2 > > Mike

Wednesday, March 7, 2012

report server refresh question

Hello

I'm new at creating reports in reporting services and I have a basic question.
My problem is that for some reason my reports don't refresh right away, even after I press the recycle button.

I change a value on the table on a database and click on the refresh button of the report. But I have to give it sometime and click the refresh in order for the report to show the changed data.

I have some charts in the report as well, so maybe I'm missing a configuration setting somewhere.

Please help a newbie out.

Thanks
Peter

For clarification,

1. Is your reports pointing to the same table to which you are doing the update?

Another thing to try is to go back and refresh the page and now click on the report name again to reload. See, if this works.

|||

Please make sure that the recycle button you are pushing is the small green one in the top of the ReportViewer control and not the browser refresh.

Check the Properties of the deployed report under Execution and see if caching has been turned on.

Larry

|||The rendered report is cached based on the CleanUpCycle config entry and it is not advisable to modify that from the default 10 [mins]. Try to use add "&rs:ClearSession" to the url of the report and check if the report is refreshed with latest data.|||Hi,
You can do one thing,After any modification in the Database.Come to VS 2005,refresh the Dataset Window(you will get from View Tool Bar).
Probably the changed will be reflected.

Cheers,
Shri|||great thank you for all the responses. All the tips have been usefull.