all groups > sql server reporting services > may 2006 >
You're in the

sql server reporting services

group:

Error using rs.FireEvent


Error using rs.FireEvent Shrinivas
5/19/2006 6:06:12 AM
sql server reporting services:
Hi all ,

I am using rs.fireevent () class for firing an event but I a getting an
error

My script code is
Sub Main
Dim rs As New ReportingService()
rs.Credentials = System.Net.CredentialCache.DefaultCredentials
Dim subs As Subscription() =
rs.ListSubscriptions("/Reports/Report1", Nothing)

try
rs.FireEvent("TimedSubscription", subs(0).SubscriptionID)
Catch ex As Exception
Console.WriteLine(ex.Message)
End Try
End Sub
Whenever I run this script using Rs.utility in command prompt Like
"rs -i NewSubscription.rss -s http://mercury/reportserver -e mgmt2000"

I get an error as
"The permissions granted to user 'sb\svaddadi' are insufficient for per
forming this operation."

Even though I have administrator privliges to server I am getting this
error.
Any suggestion will be apprecaible

Sonu
RE: Error using rs.FireEvent Amarnath
5/20/2006 12:55:01 AM
Hi,
Sorry I didn;t see your earlier post and replied that you need to write the
code . Now that you tried writing code in this post. Gr8. Try giving -u and
-p values as well.

Amarnath

[quoted text, click to view]
AddThis Social Bookmark Button