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


Problem with SSIS job running in SQL Agent


Problem with SSIS job running in SQL Agent

Author
Message
hogpen
hogpen
SSC Rookie
SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)

Group: General Forum Members
Points: 35 Visits: 323
I'm new in BI and technology in general so bear with me. I completed a lot of work in our development environment and made SSIS packages, SSAS cubes, and created tables in our datawarehouse.
I have a SQL Agent job that simply runs an SSIS package that unprocesses and processes a cube at 7:55 every morning. I recently moved everything from our development environment to test by scripting everything and having a third party vendor run those on the test databases.
Everything went well except for the SSIS cube process job. It failed this morning and fails when I try to manually run it with the following error:

"Source: Unprocess Cube Analysis Services Execute DDL Task Description: Errors in the metadata manager. Either the database with the ID of 'FeeAnalysisModel' does not exist in the server with the ID of 'xxxx'<c/> or the user does not have permissions to access the object."

I can manually run the job on dev without running into that error, but it fails for some reason on test. I think I know part of the problem, just don't know how or why it's happening.
When I originally created the SSAS project, I named it "FeeAnalysisModel" but later changed it to "FeeAnalysis" When viewing the project files on my local machine, I can see that there is an Analysis Services Project file titled, "FeeAnalysisModel" and a file titled "FeeAnalysis"

There isn't an SSAS database called FeeAnalysisModel on the dev server so I can't understand why it would run on dev but not test.

Sorry for the long story. Any help or ideas would be greatly appreciated!
hogpen
hogpen
SSC Rookie
SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)

Group: General Forum Members
Points: 35 Visits: 323
Nevermind, I fixed the problem. I didn't realize that changing the database name doesn't actually change the Database ID.
So I had to drop the SSAS db and deploy the SSAS db after changing the DB ID.
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