Unix Technical Forum

Jobs, DTS and OLAP

This is a discussion on Jobs, DTS and OLAP within the SQL Server forums, part of the Microsoft SQL Server category; --> I have a job which runs on one of our servers overnight. For 3 months or so it has ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 05:58 PM
James Aitchison
 
Posts: n/a
Default Jobs, DTS and OLAP

I have a job which runs on one of our servers overnight. For 3 months
or so it has run successfully. In the last 12 days it has failed 9
times, curiously running successfully at the weekend and on one other
occasion.

The job has 4 steps and always fails on the 4th step which runs a DTS
package which contains 2 OLAP tasks, a full proccess of all shared
dimensions and a full process of all cubes, with workflow.

When it fails the message generated by SQL AGENT is always the same
type of message as follows;

************************************************** **************************
Executed as user: ISSQL1\SQLAdmin. DTSRun: Loading... DTSRun:
Executing... DTSRun OnStart: DTSStep_DTSOlapProcess.Task_1 DTSRun
OnError: DTSStep_DTSOlapProcess.Task_1, Error = -2147221389
(80040073) Error string: File error [during the Open operation]
'C:\Program Files\Microsoft Analysis Services\Data\BIS_MI_LIVE\Payment
Term'S.dim The process cannot access the file because it is being used
by another process. ' Error source: Payment Term Help
file: Help context: 1000440 Error Detail Records:
Error: 0 (0); Provider Error: 0 (0) Error string: File error
[during the Open operation] 'C:\Program Files\Microsoft Analysis
Services\Data\BIS_MI_LIVE\Payment Term'S.dim The process cannot access
the file because it is being used by another process. ' Error
source: Payment Term Help file: Help context: 1000440
DTSRun OnFinish: DTSStep_DTSOlapProcess.Task_1 DTSRun: Package
execution complete. Process Exit Code 1. The step failed.
************************************************** **************************

I cannot find any reference to this either on the net or in Books
online. We did install several security patches in the days before it
started to fail, but I don't know what they were.

Anyone seen this before?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 05:59 PM
AMIT
 
Posts: n/a
Default Re: Jobs, DTS and OLAP

Hi,

I think job is failing because a resource used by job is locked by
some process or application. You can use SQL Server Profiler to watch
activity going on server when job runs.

Also, note that job must be designed with administrator user of sql
server other wise job may not execute. but this is not happening in
your case as you specified job was running earlier.

I feel SQL Server Profiler will solve assit in digging cause of
failure.

Thanks & Regards,
Amit

james.aitchison@budgetinsurance.com (James Aitchison) wrote in message news:<d272ef98.0309180329.2e70e049@posting.google. com>...
> I have a job which runs on one of our servers overnight. For 3 months
> or so it has run successfully. In the last 12 days it has failed 9
> times, curiously running successfully at the weekend and on one other
> occasion.
>
> The job has 4 steps and always fails on the 4th step which runs a DTS
> package which contains 2 OLAP tasks, a full proccess of all shared
> dimensions and a full process of all cubes, with workflow.
>
> When it fails the message generated by SQL AGENT is always the same
> type of message as follows;
>
> ************************************************** **************************
> Executed as user: ISSQL1\SQLAdmin. DTSRun: Loading... DTSRun:
> Executing... DTSRun OnStart: DTSStep_DTSOlapProcess.Task_1 DTSRun
> OnError: DTSStep_DTSOlapProcess.Task_1, Error = -2147221389
> (80040073) Error string: File error [during the Open operation]
> 'C:\Program Files\Microsoft Analysis Services\Data\BIS_MI_LIVE\Payment
> Term'S.dim The process cannot access the file because it is being used
> by another process. ' Error source: Payment Term Help
> file: Help context: 1000440 Error Detail Records:
> Error: 0 (0); Provider Error: 0 (0) Error string: File error
> [during the Open operation] 'C:\Program Files\Microsoft Analysis
> Services\Data\BIS_MI_LIVE\Payment Term'S.dim The process cannot access
> the file because it is being used by another process. ' Error
> source: Payment Term Help file: Help context: 1000440
> DTSRun OnFinish: DTSStep_DTSOlapProcess.Task_1 DTSRun: Package
> execution complete. Process Exit Code 1. The step failed.
> ************************************************** **************************
>
> I cannot find any reference to this either on the net or in Books
> online. We did install several security patches in the days before it
> started to fail, but I don't know what they were.
>
> Anyone seen this before?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:51 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com