Script task error during the creation of partition by reading a table and using AMO - SSAS 2012

Hi,
I need to create SSAS (tabular) and process partitions in an authomatic manner. Moreover, the partitioning is respect to a category, an year and a month.
Category, year and month are resident on a table to read to create the SSAS partitions.
So, in a SSIS pkg:
a. I've created a data flow task to read the SQL Server table having category, year and month data,
b. I've connected the output of the ole db source as the input for a recordset destination, associated to an object variable,
c. I've used a for each loop container (ado enumerator) specifying the object variable and three variables, for category, year and month,
d. inside the for each loop container I've created a script task using AMO (visual basic) to control for any existing partitions, if not presents to create the new ones and then to process them.
For the first iteration, a new partition has been created and processed successfully, but then, for other category, year and month values the script task fails. I've controlled the code many times and I've tried to put returning messageboxes but I've found
anything. The error is a generic one and no other info are returned.
Well, any suggests to me in order to solve this issue, please?
Many thanks

Hi, thanks, I've solved adding to the code end the SSAS server connection termination.
Bye

Similar Messages

  • BAM Error - during the creation of BAM Activity and View in EXCEL

    I'm getting an error "The Cube could not be created successfully. Please edit the view and validate the inputs" during the creation of BAM Activity and VIEW in MS Excel for BAM
    Error Details:
    Error Description:
    The following system error occurred:  Invalid class string .
    Error Source:
    Microsoft OLE DB Provider for Analysis Services 2008.
    Please help me in resolving the issue. Thanks in Advance!!

    Hi Ramesh,
    Below link has the information related to all the prerequisites for using BAM Add-In for Excel.
    Kindly ensure that you have all the files in place before creating BAM Activity and View.
    http://msdn.microsoft.com/en-us/library/aa560476.aspx
    Rachit
    Please mark it as Answer if this answers your question

  • Error during the creation of notification

    Dear All,
    We are facing the error when we are carrying out the transaction EG90
    for collective creation of notification for device replacement say out of 1000 equipments 998 notifications  were created automatically but for rest two device locations the follwing error comes "internal error during determination of pm plant for device with equipment number  xyz
    error message EG621 .
    I have cheked the master data of the  equipments all maintended properly
    can you give me some idea what coulld be the problem .
    Regards
    chan

    There are quite a few OSS Messages for TCode EG90.
    See if any of them are suitable.
    PeteA

  • Error during the creation of a Substitution (GGb0)

    Dear all,
    I'm facing the following problem. I'm tring to create a new Substitution (GGB0).
    But when I have tried to create the STEP, the system display this error
    " You may not substitute any fields for this Event"
    I think that I have to define the fields, but how to do this?
    Thanks in advance
    Alberto

    Hi,
    It is probably that the one or both of the following situations
    apply:
    1)  please check the value for field BEXCLUDE in table GB01 for the
    relevant field(s).  If the field has the value X then it cannot be
    substituted in the standard system.
    Please refer to the attached note 42615 regarding this.
    2) please check if any of these substitutions involved a modification
    at callup point 3.
    See the attached note 386896, where it states:
    "As of Release ERP 2004, you can no longer use the source code
    corrections as these can cause inconsistencies between the entry
    view and the general ledger view.
    As of Release ERP 2004 you can also use the AC_DOCUMENT BADI for
    postings using the accounting interface."
    Reg
    Madhu M

  • Error during the creation of a delivery note

    Hi,
    While creating the delivery, an error is produced when i saw the log . It was as follows
    "An Item with no delivery quantity is not permitted. Item will be deleted"
    The material is unrestricted, not reserved for any other orders except my PO .
    any idea about this error?
    Thanks and regards

    Hi. The issue was solved. It was related with an incorrect value in the material master record (availability check field).
    Thanks and regards

  • Error during the creation of transport request

    Hi
    After collection of the objects in transport connection and clicking on the truck icon. the follwing msg is being displayed and cannot more furthur with all objects.
    Edit objects separately since they belong to different original systems
    after clicking on the display icon...The followin msg is being displayed
    The objects R3TR IOBJ 0SOURSYSTEM und R3TR IOBJ 0LOGSYS cannot be edited together because the 1st object's original is in this system, whereas the 2nd object's original resides in another system.
    Did anyone come across this issue. Plz help me with the solution.
    Regards
    Annie

    Hi
    Sorry for late reply. I did maintain the conversion of logical system name in my production. In my production system, the error is 12 and in method exeuction is:
    Post-import methods for change/transport request: RBDK900062
    Post-import method RSOD_SBEL_AFTER_IMPORT started for SBEL L, date and time: 20070502202742
    Start of the after-import method   for object type(s) SBEL (Metadata Documents)
    Post-import method RS_AFTER_IMPORT started for APCO L, date and time: 20070502202743.
    These are the msgs in method execution after importing.
    Regards
    Annie
    Program terminated (job: RDDEXECL, no.: 20274200)
       See job log
    Execution of programs after import (XPRA)
    End date and time : 20070502203033
    Ended with return code:  ===> 12 <===

  • Error during PO creation "Total BED % rate exceeds 100 % "

    Hi.
    Its concerned to Indian Excice.
    Error during the creation of PO is " Total BED % rate exceeds 100 % " ,
    ( Message no. 8I453).
    And you pls note in J1ID its 16% maintained for that perticular chapter id and its 100% for BED in tax code.
    Can you pls tell me the reason for this error.
    Regds

    Hi Santosh,
    362 is not maintained for BASB,but its maintained for condition type JMO1(IN:A/P BED Deductable) & JMO2(IN: A/P BED non deduct )in <b>AltCTy</b> field.
    And For BASB 605 is maintained in the field AltCBV.
    Can you Pls explain the significance of this alternative calculation type.
    Regds

  • Error during the submit process

    I am trying to download an eBook for course, and it does not let me log in with my network username and password. It gives me an "error during the submit process".
    I have charter internet, and we contacted them to make sure my signal strength was strong enough. Reset password. I am using Adobe Reader X.

    I am also facing same error.
    Please let me know if you have resolved problem.

  • Analysis Services failing to Start . File system error: Error occurred during the creation of directory

    Hello All,
    Posting this problem here and hoping for a solution from the experts in this forum.
    When i have restarted the Analysis Services , i see that it has been stopped but never started back. It fails with an error
    "The SQL Server Analysis Services (MSSQLSERVER) service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs."
    When Checked the Event Viewer i see the following error -
    The service cannot be started: The following system error occurred:  The filename, directory name, or volume label syntax is incorrect.  File system error: Error occurred during the creation of directory: '\\?\E:\OLAP\MSSOLAPFactory\OlapData;M:\Test
    Backup'.
    I remember changing the BackupDir value of Analysis Services few days back, and i think it could have impacted. Can you please help me how can i change back the BackupDir value and have the server back?
    Let me know if you need any more details
    SG

    Is this still an issue? If so, I would find msmdsrv.ini and make sure you don't have two folders listed in the BackupDir (or DataDir or TempDir). You'll have to runas Administrator to edit the msmdsrv.ini file and save changes. Once you fix that, it should
    succeed.
    http://artisconsulting.com/Blogs/GregGalloway

  • ERROR ODI-40837: An error occurred during the creation of the schema

    Hi I am trying to test an xml file server and keep getting the following error.
    ERROR ODI-40837: An error occurred during the creation of the schema: ODI-40738: A SAXException was caught while reading the model saying: Expected 'DOCTYPE'.
    JDBC URL jdbc:snps:xml?f=C:/Projects/prd.xml&ro=true&DOD=YES
    anybody could help as i dont find any blog or documentation about this error?.
    Thanks
    Edited by: user626688 on May 31, 2013 1:26 PM

    There seems to be some problem with your xml file. Please work with support channel to investigate this issue.
    You can also check the xml driver parameters details at http://docs.oracle.com/cd/E28280_01/integrate.1111/e12644/appendix_xml_driver.htm#CHDECBHH

  • Script task error: exception has been thrown by the target of an invocation

    Hi, 
    I have a script task which find the sheet name in an excel and assigned it to variable, this package works perfect while executing using BIDS but when I try to execute it using project deployment it throws the error.
    Script task error: exception has been thrown by the target of an invocation

    Hi Shoaib,
    You use the Microsoft.Office.Interop.Excel namespace in the Script Task, right? If so, please check whether you can find the Microsoft.Office.Interop.Excel.dll in the following folder on the SSIS server:
    %ProgramFiles%\Microsoft Visual Studio XX.X\Visual Studio Tools for Office\PIA\OfficeXX
    (or %ProgramFiles(x86)%\Microsoft Visual Studio XX.X\Visual Studio Tools for Office\PIA\OfficeXX on 64-bit operating systems)
    To install Office primary interop assemblies (PIAs), you can use one of the following methods:
    Install the .NET Programmability Support feature when installing Microsoft Office.
    Install the
    Microsoft Office 2010: Primary Interop Assemblies Redistributable.
    Regards,
    Mike Yin
    TechNet Community Support

  • Warning: Compiler errors during type creation

    Hello all,
    when I run the following little script in my Oracle 8.1.7 SQL plus spreadsheet I get the following error message:
    "Warning: Compiler errors during type creation". (This is my offhand translation from German, since I have a German version)
    There is no further hint as to what the nature of the error is or how I can fix it, but for sure I can't use the type I tried to define.
    Can anybody help?
    Here is the code:
    set serveroutput on ;
    create or replace type DataPoint as object(
    name varchar2(20)
    create or replace type DataPointList as table of DataPoint ;
    create or replace type ElementType as object (
    TypeName varchar(20),
    Datapoints DataPointList
    create or replace type ElementList as table of ElementType ;
    Regards,
    Norbert Ploett
    null

    create or replace type DataPoint as object(
    name varchar2(20)
    create table DataPointList of DataPoint ;
    create or replace type ElementType as object (
    TypeName varchar(20),
    Datapoints DataPointList
    create table ElementList of ElementType ;
    This should work in the given case
    Ravi
    Regards,
    Norbert Ploett
    Regards,
    Norbert Ploett
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Norbert.Ploett:
    Hello all,
    when I run the following little script in my Oracle 8.1.7 SQL plus spreadsheet I get the following error message:
    "Warning: Compiler errors during type creation". (This is my offhand translation from German, since I have a German version)
    There is no further hint as to what the nature of the error is or how I can fix it, but for sure I can't use the type I tried to define.
    Can anybody help?
    Here is the code:<HR></BLOCKQUOTE>
    null

  • RSA1 Error during the retrieval of the logon data stored in secure storage

    Hi Gurus,
    when i go and check Source system the connection is OK, and RFC's from BI to R/3  and R/3 to BI is OK (including Authentication).
    but when i go and check Info provider there one customized object ZDTSYS01 is there when i check and and activate it it is giving error as below.
    All DDIC objects have been activated / deleted
    Post Processing/Checking the Activation for DataStore Object ZDTSYS01
    Creating Export DataSource and dependent Objects
    The creation of the export DataSource failed
    Reading the Metadata of ZDTSYS01 ...
    Creating DataSource 8ZDTSYS01 ...
    Error during the retrieval of the logon data stored in secure storage
    Error during the retrieval of the logon data stored in secure storage
    Error when creating the export DataSource and dependent Objects
    Program ID DC4B105KR4QT1KDW9HD7AXYEO retrieved for DataStore object ZDTSYS01
    Error when activating DataStore Object ZDTSYS01
    Deletion of Unused Dictionary Objects ( 3)
    please help me solve this issue
    Thanks in advance
    venkat

    Hi,
    1). Looks like SM59 Remote user has some issues. Can you check whether the user's are locked ?
    2). You can also correct this is TA STMS. Here you navigate to "System Overview (Shift+F6)".
    On the following screen, you select "Generate RFC DESTINATIONS" which can be found under "Extras".
    3). Please click on source system and restore the BW source system
    Please check the below 2 SAP Notes.
    538052 and 644015.This might solve your problem.
    Thanks,
    Arjun

  • Throw error during PO creation if a material is not extended to storage loc

    Hi,
    Users require for SAP to throw an error during PO creation if a material is not extended to the storage location that is entered on the PO.
    Presently it neither gives warning or error message.
    Please advise.
    Regards,
    Pratap

    SAP does not validate that, if you want it, then you have to do such check in a user exit.
    SAP can be customized to create the material master storage location segment itself when posting the goods receipt, so it is not necessary to check this in the PO.
    Further this design  speeds up the process, you can already order before others have finished the material master maintenance.

  • Regarding Performance concerns during the creation of Infocube

    hai
    im going to create the infocube on top of ODS.
    Pls tell me some design tips for performance things during the creation of Infocube like partitioning , Indexes...
    Basically im loading from Oracle Databasetables by using DB-COnnect .
    pls tell me
    i ll assing the points
    bye
    rizwan

    hi Rizwan,
    check these:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1955ba90-0201-0010-d3aa-8b2a4ef6bbb2
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ce7fb368-0601-0010-64ba-fadc985a1f94
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4c0ab590-0201-0010-bd9a-8332d8b4f09c
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3a699d90-0201-0010-bc99-d5c0e3a2c87b
    assign points if useful ***
    Thanks,
    Raj

Maybe you are looking for

  • Help in the ABAP query

    Hi Friends, I am having issue in the ABAP query in the HR report, i can able to change the column Heading in the report, but the same header is not coming in the layout details fields(after executing the ALV report we have layout options where we cou

  • Change color for trim and registration mark

    The trim and registration marks are having the color name "All" in the generated pdf from InDesign. Any one help me out on how to change the color to K (black) while generating PDF out of InDesign.

  • PS CS4 64 causes BSOD on Win7 64

    I am having a problem with 64 bit CS4 on Windows 7 Home Premium 64 bit - when I open a bunch of RAW files in ACR from Bridge (but ACR opens in PS not Bridge), at the time after doing all the adjustments I hit Open to move from ACR to PS, whole comput

  • Delayed response while calling the process web service

    I have four managed servers in a cluster and the ip addresses are managed_server_1 -20.20.40.21 managed_server_2 -20.20.40.22 managed_server_3 -140.20.40.23 managed_server_4 -140.20.40.24 The admin server is on 20.20.40.21 I start the managed server

  • Roundtripping to PSE: "the file appears to be unsupported or damaged"

    Hi all, After using Aperture for four years, I thought I would give Lightroom another try.  With Lightroom 5 and Photoshop Elements 11, when I roundtrip an image to PSE, it comes back to Lightroom, but I get a warning that says "the file appears to b