Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Subscriptions from Reporting Services get unintelligable job names in SQL Server Agent


Subscriptions from Reporting Services get unintelligable job names in SQL Server Agent

Author
Message
Paul.Mitchell.
Paul.Mitchell.
Valued Member
Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)

Group: General Forum Members
Points: 51 Visits: 105

Steve,

Thanks again for your help - you are a star!

Couple of questions, forgive me, I'm still learning.

If I copy and paste all of the above into the SQL pane to create a view I get a couple of messages back:

First I got "The Query Designer does not support the USE ReportServer SQL construct." If I OK that I get "Line 1: Incorrect syntax near 'GO'"

So I experimented and took out the "USE ReportServer
GO" bit. I got another message saying SQL does not support the CASE construct - I've seen this before, I think, so ignored it. It returned the 8 fileds of data - yay! (I thought...)

However, when I go to save my view I get "View definition includes no output columns or no items in the FROM clause". Bummer. So I fiddled a bit, putting "dbo." in front of all the from bits (as you had this in your previous statement). Still no luck... I notice that no daigram of tables links is created like in the previous example - presume this is related to the error message.

Can you (or anyone) spare the time to help a bit more? Thanks again!

Paul.


stevefromOZ
stevefromOZ
SSCommitted
SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)

Group: Moderators
Points: 1929 Visits: 3754

Hey Paul,

You might want to try creating the view within Query Analyser, saves you from the graphical designer errors. The first error was raised because the graphical designer doesn't require the USE DATABASE statement - you've already specified the DB because you were in one and selected 'create new view'. The second error is as you guessed - the graphical designer doesn't support case statements graphically but it doesn't stop you from using them - you just don't get a 'picture' ofyour query (ie the tables and the joins aren't shown like in a straight select).

THe last error is strange, every column has an alias in the query i posted, so i'm not sure how/where the columns lost their aliases. You may want to take the entire script and paste it into query analyser. To create the view, between tthe USE DATABASE ... GO statement and the start of the select, add the create view statement like CREATE VIEW vwMySnazzyView AS

so a short version of creating the view to give you an idea of the entire structure read s like ->
use database ReportServer
go
create view mySnazzyView AS
select top 5 * from ReportSchedule



Steve.
Paul.Mitchell.
Paul.Mitchell.
Valued Member
Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)

Group: General Forum Members
Points: 51 Visits: 105
All sorted now, thanks Steve.
JMarx
JMarx
SSC Veteran
SSC Veteran (295 reputation)SSC Veteran (295 reputation)SSC Veteran (295 reputation)SSC Veteran (295 reputation)SSC Veteran (295 reputation)SSC Veteran (295 reputation)SSC Veteran (295 reputation)SSC Veteran (295 reputation)

Group: General Forum Members
Points: 295 Visits: 692
FYI: I just tried this on SSRS 2005 (no SP) and it still works. Saved me a ton of time, too!

Thanks..

..jeremy.
Jason Selburg
Jason Selburg
SSCrazy
SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)

Group: General Forum Members
Points: 2803 Visits: 4101

I humbly submit this link to my article. This is one methiod that allows you to name and manage your subscriptions, as well as adding the ability to have Data Driven subscriptions.

http://www.sqlservercentral.com/columnists/jselburg/2824.asp



______________________________________________________________________

Personal Motto: Why push the envelope when you can just open it?

If you follow the direction given HERE you'll likely increase the number and quality of responses you get to your question.

Jason L. Selburg
Prakash.Bhojegowda MCSE, MCSA...
Prakash.Bhojegowda MCSE, MCSA (SQL 2012)
SSC Rookie
SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)

Group: General Forum Members
Points: 40 Visits: 602
Hi Steve,
I had the same problem as Andrew. I renamed the GUID with the report that was being generated. Later, I found out that there were two jobs running: one which i renamed and another one with the GUID. I got rid of the job that I renamed and the subcritpion worked just fine.

Prakash Bhojegowda MCSE, MCSA (SQL2012)
Prakash.Bhojegowda MCSE, MCSA...
Prakash.Bhojegowda MCSE, MCSA (SQL 2012)
SSC Rookie
SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)

Group: General Forum Members
Points: 40 Visits: 602
Hello,

I have a Network Load Balanced Web Farm ( 2 Nodes configured as Active - Active) with SQL Reporting services installed. Report Server database is on the SQL server. When I subscribe a report on the cluster, it appears on bothe nodes. My question is: Will the report be kicked off on both the nodes of the web farm?

Any help would be appreciated.

Thanks

Prakash BhojeGowda

Prakash Bhojegowda MCSE, MCSA (SQL2012)
Prakash.Bhojegowda MCSE, MCSA...
Prakash.Bhojegowda MCSE, MCSA (SQL 2012)
SSC Rookie
SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)

Group: General Forum Members
Points: 40 Visits: 602
Hello Jason,

Your article holds good for subscription via email but not subsscriptions to a share. Hope there is a way to do it

Thanks

Prakash BhojeGowda

Prakash Bhojegowda MCSE, MCSA (SQL2012)
Jason Selburg
Jason Selburg
SSCrazy
SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)

Group: General Forum Members
Points: 2803 Visits: 4101
There is a way, and someone emailed me a link to that article. I'll search for it tonight and post it once I find it.

______________________________________________________________________

Personal Motto: Why push the envelope when you can just open it?

If you follow the direction given HERE you'll likely increase the number and quality of responses you get to your question.

Jason L. Selburg
Prakash.Bhojegowda MCSE, MCSA...
Prakash.Bhojegowda MCSE, MCSA (SQL 2012)
SSC Rookie
SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)

Group: General Forum Members
Points: 40 Visits: 602
Thanks Jason,

Would you mind taking a look at another question that I have?

I have a Network Load Balanced Web Farm ( 2 Nodes configured as Active - Active) with SQL Reporting services installed. Report Server database is on the SQL server. When I subscribe a report on the cluster, it appears on bothe nodes. My question is: Will the report be kicked off on both the nodes of the web farm?

Any help would be appreciated.

Thanks

Prakash BhojeGowda

Prakash Bhojegowda MCSE, MCSA (SQL2012)
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search