Showing posts with label return. Show all posts
Showing posts with label return. Show all posts

Friday, March 30, 2012

scheduling reports to refresh

Hi all!
Is it possible to schedule reports to refresh overnight? Particularly if
they take a long time to return data - for example in business objects i
would normally schedule a report to refresh overnight via the broadcast
agent console...is the same thing at all possible in reporting services?
does RS have sheduling functionality?
many thanks
GregYes, it has extensive functionality in this area.
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Greg" <Greg@.discussions.microsoft.com> wrote in message
news:5E5D3B2C-AE87-4ABB-8E84-469A51511863@.microsoft.com...
> Hi all!
> Is it possible to schedule reports to refresh overnight? Particularly if
> they take a long time to return data - for example in business objects i
> would normally schedule a report to refresh overnight via the broadcast
> agent console...is the same thing at all possible in reporting services?
> does RS have sheduling functionality?
> many thanks
> Greg|||ok.....anything further? lol
HOW DO I DO IT!!!
anyone'
"Bruce L-C [MVP]" wrote:
> Yes, it has extensive functionality in this area.
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
> "Greg" <Greg@.discussions.microsoft.com> wrote in message
> news:5E5D3B2C-AE87-4ABB-8E84-469A51511863@.microsoft.com...
> > Hi all!
> >
> > Is it possible to schedule reports to refresh overnight? Particularly if
> > they take a long time to return data - for example in business objects i
> > would normally schedule a report to refresh overnight via the broadcast
> > agent console...is the same thing at all possible in reporting services?
> > does RS have sheduling functionality?
> >
> > many thanks
> >
> > Greg
>
>|||It seemed like you just wondered if it was possible. I thought that maybe
you weren't using Reporting Services and were just making plans.
Anyway, a few of what you need to understand. Search in books online for
snapshot, schedule and history. Reading up on those things should get you
started. Here are a few links to get you rolling:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rsmain/htm/rsc_ov_using_v1_4u43.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rswork/htm/rms_catalog_v1_9zsm.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rswork/htm/rms_scheduling_v1_2qgk.asp
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Greg" <Greg@.discussions.microsoft.com> wrote in message
news:593EBCB8-9CA6-42BB-994C-CFAB8F44495F@.microsoft.com...
> ok.....anything further? lol
> HOW DO I DO IT!!!
> anyone'
> "Bruce L-C [MVP]" wrote:
>> Yes, it has extensive functionality in this area.
>> --
>> Bruce Loehle-Conger
>> MVP SQL Server Reporting Services
>> "Greg" <Greg@.discussions.microsoft.com> wrote in message
>> news:5E5D3B2C-AE87-4ABB-8E84-469A51511863@.microsoft.com...
>> > Hi all!
>> >
>> > Is it possible to schedule reports to refresh overnight? Particularly
>> > if
>> > they take a long time to return data - for example in business objects
>> > i
>> > would normally schedule a report to refresh overnight via the
>> > broadcast
>> > agent console...is the same thing at all possible in reporting
>> > services?
>> > does RS have sheduling functionality?
>> >
>> > many thanks
>> >
>> > Greg
>>

Tuesday, March 20, 2012

Scheduled Jobs failing, unknown owner?

The job failed. The owner () of job SetShopperSiteReleaseTimes does not have server access
The majority of our Jobs, run by the SQL agent, return teh above messages when running our scheduled DTS packages. We recently went through a domain migration from one domain name to another
I have changed everything that I can identify as being a problem. The server works normally for normal user, and it is only the scheduled jobs (when run by the agent) that have a problem
The Agent is running under a proper domain trust account, as it needs it to enable replication between a few other servers. Owners of the DTS packages were set to the wrong name, this has since been changed using the sp_reassign_dtsowner (or similar, I forgot exact name) stored procedure
I'm loath to believe it is a domain authentication issue with the new domain, because normal Windows authentication between SQL and other applications works just fine. It is only the agent which seems to be having a problem. The agent also runs replication successfully
I suspect something is not quite right with the DTS packages themselves, but I don't know more than this
Anybody have any ideas? Thanks.Who owns the jobs ? If you set the job owner to sa does the job run ok ?
--
HTH
Jasper Smith (SQL Server MVP)
I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org
"Jerry Haltom" <jhaltom@.feedbackplusinc.com> wrote in message
news:C2372C43-2874-4B6E-9865-5AFB7016962C@.microsoft.com...
The job failed. The owner () of job SetShopperSiteReleaseTimes does not
have server access.
The majority of our Jobs, run by the SQL agent, return teh above messages
when running our scheduled DTS packages. We recently went through a domain
migration from one domain name to another.
I have changed everything that I can identify as being a problem. The server
works normally for normal user, and it is only the scheduled jobs (when run
by the agent) that have a problem.
The Agent is running under a proper domain trust account, as it needs it to
enable replication between a few other servers. Owners of the DTS packages
were set to the wrong name, this has since been changed using the
sp_reassign_dtsowner (or similar, I forgot exact name) stored procedure.
I'm loath to believe it is a domain authentication issue with the new
domain, because normal Windows authentication between SQL and other
applications works just fine. It is only the agent which seems to be having
a problem. The agent also runs replication successfully.
I suspect something is not quite right with the DTS packages themselves, but
I don't know more than this.
Anybody have any ideas? Thanks.|||A job has an owner... You may open a job and see the owner on the first
tab... When a job is scheduled to run from SQL Agent, the first thing that
happens is that the owner is validated ( the owner must exist.)... If the
owner exists, the job runs, if the owner does NOT exist, the error you are
seeing is returned...
After the owner has been successfully validated, the job actually runs under
the permissions that SQL Agent runs with, ( Not the owners permissions.)
Try changing the owner of the job to someone you know exists ( like YOUR
login) and see if it fixes the problem..
--
Wayne Snyder, MCDBA, SQL Server MVP
Computer Education Services Corporation (CESC), Charlotte, NC
www.computeredservices.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Jerry Haltom" <jhaltom@.feedbackplusinc.com> wrote in message
news:C2372C43-2874-4B6E-9865-5AFB7016962C@.microsoft.com...
> The job failed. The owner () of job SetShopperSiteReleaseTimes does not
have server access.
> The majority of our Jobs, run by the SQL agent, return teh above messages
when running our scheduled DTS packages. We recently went through a domain
migration from one domain name to another.
> I have changed everything that I can identify as being a problem. The
server works normally for normal user, and it is only the scheduled jobs
(when run by the agent) that have a problem.
> The Agent is running under a proper domain trust account, as it needs it
to enable replication between a few other servers. Owners of the DTS
packages were set to the wrong name, this has since been changed using the
sp_reassign_dtsowner (or similar, I forgot exact name) stored procedure.
> I'm loath to believe it is a domain authentication issue with the new
domain, because normal Windows authentication between SQL and other
applications works just fine. It is only the agent which seems to be having
a problem. The agent also runs replication successfully.
> I suspect something is not quite right with the DTS packages themselves,
but I don't know more than this.
> Anybody have any ideas? Thanks.

Monday, March 12, 2012

scheduled dts return's 0 rows..

Hi all
After scheduling a dts, which retrieves data from a priority-tabula server
(using the tabula propriatary odbc driver) , no rows are transfared.
There is no error massage i can trace in sql server or in any of its logs,
the job just passes gracefully by the dts data transfare tasks, which all
return 0 rows..
If I execute the dts manually all is well...
Both the sql server and sqlserver agent user accounts are the domain
administrator.
Any idea will be greatly appriciated!
I've been fighting this phantom phenomena for a very l o n g time and still
have no clue.
Thank you
Rea
Rea,
to test if this is an authentication issue, can you log onto the SQL Server box as the same Domain user that the SQL Server Agent uses and then manually run the DTS package. This should be physically done on the server box. I'm expecting that this will re
turn zero records, but let's see... . If it doesn't return any rows, then try running the job manually as you reported in your first post and again log in as the SQL Server Agent's login. This will tell us if it is related to the existence of network shar
es etc.
HTH,
Paul Ibison

scheduled dts return's 0 rows..

Hi all
After scheduling a dts, which retrieves data from a priority-tabula server
(using the tabula propriatary odbc driver) , no rows are transfared.
There is no error massage i can trace in sql server or in any of its logs,
the job just passes gracefully by the dts data transfare tasks, which all
return 0 rows..
If I execute the dts manually all is well...
Both the sql server and sqlserver agent user accounts are the domain
administrator.
Any idea will be greatly appriciated!
I've been fighting this phantom phenomena for a very l o n g time and still
have no clue.
Thank you
ReaRea,
to test if this is an authentication issue, can you log onto the SQL Server
box as the same Domain user that the SQL Server Agent uses and then manually
run the DTS package. This should be physically done on the server box. I'm
expecting that this will re
turn zero records, but let's see... . If it doesn't return any rows, then tr
y running the job manually as you reported in your first post and again log
in as the SQL Server Agent's login. This will tell us if it is related to th
e existence of network shar
es etc.
HTH,
Paul Ibison