Hi,
I wasn't sure of the location of this as it spans quite a few areas.
I have created a DTS package with Dynamic Parameters. The package is going to process the Dimensions of a cube therefore I have a dynamic property :
DimFolder -> String -> myServer\myCube\DimFolder
Which sets the TreeKey of the Analysis Services Processing Task to set the DimFolder to the correct server.
When I click on the parameters task and run is it works fine. If I then click on all the individual tasks within the DTS they all work fine as well.
However, when I click the play button to run the whole package is one go, I get
"Need to run the object to perform this operations. Code execution exception: EXCEPTION_ACCESS_VIOLATION".
I can't understand how this can happen as clicking each individual task and running each individual task works fine.
Any suggestions...
Jayne

DTS Package with Dynamic Properties running Analysis Services Processing
Smriti
Also you may find that you have to use a scripting task rather than the dynamic properties task. Because of some binding issues I found when I was writing SSABI that I had to use a script task and walk the object model by-hand --- that the dynamic properties task returned errors , even when it was set to run on the main thread. You mileage may vary, but if the main thread setting doesn't work, try using a script task.
_-_-_ Dave
jpopp
Hi Jayne,
You may be encountering the problem described below, so try setting the Workflow Poperties of the Dynamic Properties task to "Execute on Main Thread":
http://support.microsoft.com/default.aspx scid=kb;en-us;282966
>>
DTS Package Fails with Dynamic Properties Task and OLAP Processing Task
SYMPTOMS
CAUSE
>>