Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Subscription not setting up in SQL SERVER AGENT Expand / Collapse
Author
Message
Posted Monday, August 20, 2007 8:53 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, August 20, 2007 7:44 AM
Points: 3, Visits: 1
I'm having an issue whereby I can't get a report to create a subscription.  The issue seems to stem from the tbl SysCategories in the msdb does not contain the category_id '100'.  I"ve tried inserting the catID into the table, but it seems to error no matter what I try to submit.  Can anybody tell me how to correct this?
Post #392091
Posted Monday, August 20, 2007 9:04 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, August 20, 2007 7:44 AM
Points: 3, Visits: 1

I finally got this error resolved.  the resolution is to turn off the identy column within the sysCategories table in msdb, do an insert as follows insert into syscategories(categor_id, category_class, Category_type, Name)

values(100, 1, 1, 'Report Server')

 

Then TURN BACK ON THE IDENTY COLUMN TO YES in the actual table.

 

Post #392098
Posted Thursday, September 13, 2007 10:08 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, July 2, 2014 3:43 PM
Points: 3, Visits: 113

I had the same type of error ("The specified @category_id ('101') does not exist. () (.Net SqlClient Data Provider)") which nearly drove me to tears! Thanks to your help I was able to fix this error and my reporting services schedules now work perfectly. Still not sure why this entry didn't exist in the SysCategories table in the first place, but nonetheless...

The only thing missing from your script above is allowing configuration of a sys table.  

My complete script is as follows:

sp_configure 'allow update', 1
go
reconfigure with override
go

SET
IDENTITY_INSERT syscategories ON
go

insert
into syscategories(category_id, category_class, Category_type, Name)
values
(101, 1, 1, 'Report Server')
go

SET
IDENTITY_INSERT syscategories OFF
go

exec
sp_configure 'allow update', 0
go

reconfigure
with override
go

 

Post #399010
Posted Tuesday, March 17, 2009 10:00 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, December 23, 2013 6:28 AM
Points: 263, Visits: 507
Hi,

I had the same error when creating a subscription in Reporting Services.

Your code fixed my problem!!! Thanks.

I was a bit confused about the allow updates configuration option as Books Online for 2005 say that its functionaility is unavailable in 2005. But it worked anyway!?!

This option is still present in the sp_configure stored procedure, although its functionality is unavailable in Microsoft SQL Server 2005 (the setting has no effect). In SQL Server 2005, direct updates to the system tables are not supported.
Post #677637
Posted Wednesday, April 15, 2009 10:14 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, April 23, 2009 12:33 AM
Points: 1, Visits: 3
Thank you buddies,

My problem fixed too! it is not more than a week that i have been engaged with Reporting Service and from the first day I found so many issues and bugs and errors.. I do not underestand why we developers are so crazy about microsoft tools! ?? just wasting the time on the 'Microsoft' problems.... may be it is the only choice!

good luck
Post #698132
Posted Saturday, April 18, 2009 11:40 AM
Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Wednesday, July 2, 2014 9:41 AM
Points: 3,433, Visits: 14,421
My problem fixed too! it is not more than a week that i have been engaged with Reporting Service and from the first day I found so many issues and bugs and errors.. I do not underestand why we developers are so crazy about microsoft tools! ?? just wasting the time on the 'Microsoft' problems.... may be it is the only choice!


The issue is not Microsoft tools problem but rather Reporting Services which is an add on to SQL Server which comes with a designer with many issues. There are many that I call known issues but yes some are bugs that needs to be fixed. And it is free so you will get more from it if you write clean T-SQL code.

I am also not aware of other Reporting tools providing subscription, I think SSRS provide it because Microsoft owns the relational engine used to execute the reports. The Agent is what I call the automation subsystem when your problems are related to the Agent it is not SSRS issue, yes SQL Server but not SSRS.



Kind regards,
Gift Peddie
Post #700067
Posted Friday, June 29, 2012 2:38 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Monday, September 3, 2012 12:30 PM
Points: 14, Visits: 92
This fix my error to.

Tkz!

Post #1323298
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse