SSIS Admin Task 2008

Hi All:
I am currently trying to setup a new admin task to process and optimize applications in BPC 7.5.  I have multiple Applications Sets and I am trying to connect to a new one, but the Admin task is not recognizing the different applications in the app set.  There is little to no documentation on how to use the Admin Task 2008 tool in SSIS.  Does anyone know what is happening and why it won't pick up the existing aplpications as a choice?

Hi Brent,
Those admin tasks should work.
Have you placed the Osofttasks in the ..\DTS\Tasks folder and added the tasks to the BIDS Toolbox Items?
When you drag an "Admin Task 2008" to your Control Flow in BIDS, right click on it and select properties.
Then update the AppSet and UserID properties to the correct values.
After you do this, double click on the Admin Task 2008 and choose the "Process Application" option. Now are you able to see the Applications in the Application area?
You can also just update the APPLICATIONLIST variable (right click --> properties) with a comma delimited list of applications in your AppSet.
Thanks,
John

Similar Messages

  • Admin Task 2008 fails while executing from BIDS environment

    Hello,
    we developed a custom SSIS pcakge for automating master data load in BPC 7.5 MS.
    The packages works fine when running form Data Managaer.
    When executing the package from Business Intelligense development studio environement, only Admin Task 2008 with Create Dimension based on the SQL table option fails.
    The user id has full authrozation in BPC.
    Another information is that even this works fine when executing the package inside the server network.
    But fails when executing this by logging to application server remotely.
    Note that Run32bit property is already set to false.
    Error message it gives is : The Task Create Dimension Fails
    any expert thoughts are welcome.

    0x80070047 = "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept."
    You must have some non-standard policy or restriction applied to the system hosting the share.
    Jason | http://blog.configmgrftw.com

  • Create BPC - Dimension with SSIS Admin Task

    Hallo experts,
    I am figuring out features for BPC - Packages and wanted to create a dimension within a SSIS Package.
    The "Admin Task" offers this feature, but unfortunately I can't find any documentation about the SQL Source Table,
    which ist needed when configuring and executing this task.
    Help is appreciated about the structure, location and naming-conventions for this table.
    Another Question:
    Where does the Admin Console store the dimension structure e.g. of the account dim?
    Thanks in advance
    Jochen Kowalski
    P.S: I'm working with BPC 5.1 SP3 and SQL-Server 2005

    Brian, your explanation is sound and i understand your requirements.
    Essentially you need to run a dimension process on both your Prod/Dev servers.
    At one of our clients, we customised the Dimension excel sheet with some VBA. Administrators could still process the dimension sheet normally but they could click a command button that dumped the excel file to dev and then launched an SSIS package - the main problem is that we used XPCMDSHELL to kick the package off that processed the dimension in dev.
    see http://social.msdn.microsoft.com/forums/en-US/sqlintegrationservices/thread/d4d69654-e2cc-4aa7-90f3-701b8180de36/
    After much thought we decided it was best to use SQL to keep the databases mirrored, SSIS to keep the OLAP procssed [in dev] and we used a batch script to transfer the webfolders.
    You may notice that the final solution is very much like the automated backup solutions that many BPC practitioners have gone with in the past.

  • How to get the Admin Task to Process Members from Member Sheet?

    Hey guys!
    I've been successful getting the Custom SSIS Admin Task to process a Dimension using a SQL staging table.  However, we have a few dimensions that are best managed in the Excel Member sheets.  When we have changes to these member sheets, is it possible to process the dimension using the SSIS Admin Task.  If so, how do I go about doing this?  What settings do I need to use within the task?
    I've tried using the "Scheduled Members Process" option (I honestly don't even know what this option does and I've found no documentation), but when this option is selected the task simply fails without any messages.  And I've tried putting the path directly to the Member Spreadsheet in the "SQL Source Table" box.  Using this method, the package returns a successful status code, but it's not really processing anyway.  It finishes in less than 2 seconds. 
    Thanks much!
    Sean

    I don't understand why you want to do this -- if you're maintaining some dimensions manually in the XLS member sheet, then you should process the changes manually too, using the Admin Console. No DTS is required, and you also get the benefits of validation & error messages right away.
    Having said that, if you feel it's necessary, you could set up a DTS package which uses the XLS member sheet, via an Excel connection manager, as a data source which is loaded into your custom dimension staging table. Then this staging table is the source of the admin dimension processing task.
    Beware, though, that this means every time you add or modify dimension properties, you will need to update the columns in both the Excel connection manager and the staging table. I've always found this to be a very frustratingly manual process in BI Dev Studio, to get the data fields to properly refresh. I usually end up deleting the source & destination data flow objects, just to get the new fields to show up. (Maybe there's a better way, but I haven't found it.)
    I always consider the dimension-processing decision on automation to be all or nothing for each dimension. If you're maintaining the dimension manually in the member sheet, use the admin console to process it.

  • NameSpace for XML But in SSIS Script Task

    Hello, 
    I am creating an xml Document that pulls information from a staging table in sql. However the issue I am having is that i need  a namespace or a start element to handle a ':' but i keep getting its not a hexadecimal blah blah. 
    I feel like I have tried everything for this. 
    So maybe someone can help me  
           writer.WriteStartDocument()
     writer.WriteComment("edited with XMLSpy v2010 rel. 3 (http://www.altova.com) by MESMERiZE (MSM)")
    writer.WriteComment("Samply XML file generated by XMLSpy v2010 rel. 3 (http://www.altova.com)")
    So i have the comments show up fine but then i need it to show 
    <mssext:sendWarrantyContractBatch xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mssext="http://jlrint.com/mss/message/sendwarrantycontract/1" xsi:schemaLocation="http://jlrint.com/mss/message/sendwarrantycontract/1
    FRS_000143-SendWarrantyContractMessages.xsd">
     I can get the websites and all the xmlns to show up fine that is not the issue the issue is the mssext:sendWarrantyContractBatch 
    IS there any way to get the Colon to show up ?? 
    Remember this is in a ssis script task with visual basic 2008 code 

    check this link. it has a method specified in the comments section
    http://blogs.lessthandot.com/index.php/datamgmt/dbprogramming/create-xml-files-out-of-sql-server-with/
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Admin Task - Optimization application

    Hey Experts,
    I am trying to build an SSIS package to optimize a BPC application using the Admin Task tool.  I am enter the AppSet and Server\UserID.  I select my Application in the application box. 
    I am simply trying to select 'Full' as my 'Optimize method'.  However, I do not want to do a 'Compress database'.  When I close the admin task and go back into editing the admin task, I see that the 'Compress Database' box is checked.  It appears that if I uncheck the box and close and run the SSIS package, it appears that the package is doing the full optimization, but it still compresses the main fact table even though I unchecked the 'Compress Database' box.
    Why is the AdminTask in SSIS checking the 'Compress Database' box even though I am checking it off?  How can I do a Full Optimization without a 'Compress Database' in SSIS?
    Any help is appreciated.
    P.S. We're running BPC 5.1 with SQL Server 2005.

    I have found that not all the custom bpc task dialogs work as expected.   You could set the value manual in the properties pane within ssis instead of using the dialog (COMPRESSDATABASE value to 0). 
    Or you could set the task values for the appropriate properties in the Advanced tab editor via eData > Organize package list. 
    A good place to look is in the examples package at the Admin_Optimize.dtsx package.  Then you just hardcode the value for the property and remove the associated Prompt.
    TASK(Admin_Optimize,COMPRESSDATABASE,0)

  • SSIS : Read Rows from an Object variable in SSIS Script Task which is looped many times.

    Hello All,
    Here is what I am trying to do...
    1. I am having two rows, one column in an Object Variable. (vLoopCountObj).
    2. I am having 30 Rows, 2 Columns in my second Object  Variable (vTableRowsObj)
    3. I have a FOR EACH LOOP which will run for number of rows in vLoopCountObj i.e 2 times here.
    4. I have a Script Task inside the FOR EACH LOOP to display all the rows of vTableRowsObj.
    5. When I execute, 30 Rows gets displayed only once. It will not display when the loop goes for second iteration. Please help me to display for second time.
    6. I have used below code to display the rows whithin the script task which is in SSIS dataflow task.
    Imports System
    Imports System.Data
    Imports System.Math
    Imports Microsoft.SqlServer.Dts.Runtime
    Imports System.Xml
    Imports System.Collections
    Imports System.Data.OleDb
    Public Class ScriptMain
    Public Sub Main()
    Dim oleDA As New OleDbDataAdapter
    Dim dt As New DataTable
    Dim col As DataColumn
    Dim row As DataRow
    Dim sMsg As String
    oleDA.Fill(dt, Dts.Variables("vTableRowsObj").Value)
    MsgBox("Number of Rows " + dt.Rows.Count.ToString())
    For Each row In dt.Rows
    For Each col In dt.Columns
    sMsg = sMsg & col.ColumnName & ": " & row(col.Ordinal).ToString & vbCrLf
    Next
    MsgBox(sMsg)
    sMsg = ""
    Next
    Dts.TaskResult = Dts.Results.Success
    End Sub
    End Class

    Hi Raj,
    It is verrrry interesting issue. I can also confirm that it doesnt loop again. I've made a simple test and figured that in the second loop even you fill the Dataadapter, record count is zero. Which brings me up to the idea: Somehow, after you read the object
    variable resultset, you can not read it again in the for each loop.
    Strange, probably a bug or a technical issue that is beyond my existing knowledge.
    I can provide a workaround. You can also loop in script task for first variable. (Nested loops)
    Let other members to examine and comment on this.
    Regards
    Onur
    (For others who also wants to test, here is my scenario
    Execute SQL Task 1:
    Query: SELECT 1 as Cnt UNION ALL SELECT 2 as Cnt
    Resultset: Full Resultset
    ResultSet Tab: Name: 0, Variable Name: User::vLoopCountObj;
    Execute SQL Task 2:
    Query: SELECT 1 as ColA, 2 as ColB UNION ALL SELECT 3 as ColA, 4 as ColB UNION ALL SELECT 5 as ColA, 6 as ColB
    Resultset: Full Resultset
    ResultSet Tab: Name: 0, Variable Name: User::vTableRowsObj;
    For Each Loop Container:
    Collection: Enum: ForEach ADO Enum
    Source Object: User::vLoopCountObj
    Enum Mode: Rows n the first Table
    Script Task:
    ReadOnlyVariables: User::vTableRowsObj
    Script Source:
    Imports System
    Imports System.Data
    Imports System.Math
    Imports Microsoft.SqlServer.Dts.Runtime
    Imports System.Xml
    Imports System.Collections
    Imports System.Data.OleDb
    Public Class ScriptMain
    Public Sub Main()
    Dim oleDA As New OleDbDataAdapter
    Dim dt As New DataTable
    Dim col As DataColumn
    Dim row As DataRow
    Dim sMsg As String
    oleDA.Fill(dt, Dts.Variables("vTableRowsObj").Value)
    Dts.Events.FireInformation(-1, "START!!!!!!!!!!!!!!", "START LOOP", "", 0, True)
    Dts.Events.FireInformation(1, "RowCount: ", dt.Rows.Count.ToString(), "", 0, True)
    For Each row In dt.Rows
    For Each col In dt.Columns
    sMsg = sMsg & col.ColumnName & ": " & row(col.Ordinal).ToString & vbCrLf
    Next
    Dts.Events.FireInformation(1, "Msg: ", sMsg, "", 0, True)
    sMsg = ""
    Next
    Dts.TaskResult = ScriptResults.Success
    End Sub
    End Class
    BI and ERP Senior Consultant @ Nexum Bogazici
    If it is, Please dont forget to mark as answered or at least vote as helpful if the post helps you in any ways.

  • The sun-appserv-admin task doesn't support

    Help! - this is driving me nuts! I am trying to build the bookstore example and get this error on asant steps that involve the admin-command-common target (such as "asant deploy-war").
    I am running Studio Creator with SunAppServer8 under it. The command looks right. If I remove the passwordfile line from the admin-command-common target, I get the same error on another attribute in the command.
    The password file exists where it should and contains valid information, including the correct password.
    I have run this same bookstore example build on another workstation and it worked, but on that box, there was an instance of SunAppserver 7 (not under Studio Creator). That build was successful so I assume this is a configuration issue, but I don't know what it is. I am attaching the error and the listprops. If anyone knows what is wrong I sure would appreciate your help
    Thanks!
    Robert Hill
    C:\j2eetutorial14\examples\web\bookstore1>asant deploy-war
    Buildfile: build.xml
    deploy-war:
    admin_command_common:
    [echo] Doing admin task deploy bookstore1.war
    BUILD FAILED
    file:C:/j2eetutorial14/examples/common/targets.xml:36: The <sun-appserv-admin> t
    ask doesn't support the "passwordfile" attribute.
    Total time: 1 second
    C:\j2eetutorial14\examples\web\bookstore1>
    C:\j2eetutorial14\examples\web\bookstore>asant listprops
    Buildfile: build.xml
    listprops:
    [echo] Path information
    [echo] j2ee.home = C:/Sun/Creator/SunAppServer8
    [echo] j2ee.tutorial.home = C:/j2eetutorial14
    [echo] j2ee.home = C:/Sun/Creator/SunAppServer8
    [echo] env.Path = .;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
    ;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Common Fil
    es\Adaptec Shared\System;c:\Program Files\Microsoft SQL Server\90\Tools\Binn\;c:
    \j2sdk1.4.2_06\bin;C:\Sun\Creator\SunAppServer8\bin;C:\j2sdk1.4.2_06
    [echo] env.PATH = ${env.PATH}
    [echo] Classpath information
    [echo] classpath = C:\j2sdk1.4.2_06
    [echo] Admin information
    [echo] admin.password =
    [echo] admin.password.file = C:/j2eetutorial14/examples/common/admin-passwo
    rd.txt
    [echo] admin.host = localhost
    [echo] admin.user = admin
    [echo] admin.port = 14848
    [echo] https.port = 18181
    [echo] Domain information
    [echo] domain.resources = "domain.resources"
    [echo] domain.resources.port = 18080
    [echo] Database information
    [echo] db.root = C:/Sun/Creator/SunAppServer8/pointbase
    [echo] db.driver = com.pointbase.jdbc.jdbcUniversalDriver
    [echo] db.host = localhost
    [echo] db.port = 19092
    [echo] db.sid = sun-appserv-samples
    [echo] db.url = jdbc:pointbase:server://localhost:19092/sun-appserv-samples
    [echo] db.user = pbpublic
    [echo] db.pwd = pbpublic
    [echo] url.prop = DatabaseName
    [echo] ds.class = com.pointbase.jdbc.jdbcDataSource
    [echo] db.jvmargs = -ms16m -mx32m
    BUILD SUCCESSFUL
    Total time: 1 second
    C:\j2eetutorial14\examples\web\bookstore>
    clipped from targets.xml
    <target name="admin_command_common">
    <echo message="Doing admin task ${admin.command}"/>
    <sun-appserv-admin
    command="${admin.command}"
    user="${admin.user}"
    passwordfile="${admin.password.file}"
    host="${admin.host}"
    port="${admin.port}"
    asinstalldir="${j2ee.home}" />
    </target>

    Dude!
    Try this.
    change that target I was talkin about to
    <target name="admin_command_common">
         <property file="${j2ee.home}/j2eetutorial14/examples/common/admin-password.txt"/>
    <echo message="Doing admin task ${admin.command} with password"/>
    <sun-appserv-admin
    command="${admin.command}"
    user="${admin.user}"
    password="${AS_ADMIN_PASSWORD}"
    host="${admin.host}"
    port="${admin.port}"
    />
    </target>
    Reason?
    well, the blinkin 'asinstalldir' attrib is ... optional!
    The build succeeds and deploys the war.
    C:\java\Sun\Appserver\j2eetutorial14\examples\web\bookstore1>asant deploy-war
    Buildfile: build.xml
    deploy-war:
    admin_command_common:
    [echo] Doing admin task deploy bookstore1.war with password
    [sun-appserv-admin] Executing: deploy port 4848 host localhost --password ad
    min123 --user admin bookstore1.war
    [sun-appserv-admin] Command deploy executed successfully.
    BUILD SUCCESSFUL
    Total time: 7 seconds

  • Running a Select query against multiple sql servers using SSIS script task.

    Hi Guys,
    I need to fetch data from multiple sql servers using  SSIS scirpt task inside a foreach container.
    is there anyway i can build dynamic sql connections using ssis variables inside SSIS script task in each loop
    Please guide me or refer any blogs so that i will try..
    Thanks in advance.

    Your only options is using .net code, then it will be no different than using a console app in a loop.
    using (SqlConnection connection = new SqlConnection(connectionString))
    connection.Open();
    Console.WriteLine("ServerVersion: {0}", connection.ServerVersion);
    Console.WriteLine("State: {0}", connection.State);
    and so forth for each connection string
    the connection string would come from the ForEach loop
    Arthur My Blog

  • Consuming Web Services in SSIS Script Task

    Hello
    Sorry for my English, I' ll try to explain my problem.
    I am new to SSIS. Using this article http://blogs.msdn.com/b/dataaccesstechnologies/archive/2010/01/28/consuming-web-services-in-ssis-script-task.aspx I have tried to consume web service.
    1. I have created proxy class using VS Command Prompt
    2. A have added proxy class to Script Task
    3. But when I  want to create the instance of the proxy class, it can be accessed from the ScriptMain.cs. 
    I will be very pleased for the help!

    perhaps you missed this step:
    --> Modify the code and add Credentials before calling the web method:
    Public
    SubMain()
    Dim
    ws As NewService1
    ws.Credentials =
    New System.Net.NetworkCredential("user name",
    "password",
    "domain name")
    MsgBox("Square
    of 2 = "& ws.Square(2))
    Dts.TaskResult = Dts.Results.Success
    End
    Sub
    Arthur
    MyBlog
    Twitter

  • How to run admin tasks with non-admin account ?

    Hello,
    The title says it all: I want to allow some non-administrative accounts to run admin tasks which must be run as root.
    A solution would be to use 'sudo' and give rights to those non-admin accounts on the binaries used by the tasks. But I notably use 'chmod' and 'chown' in those tasks, and I would not want to give to non-admin accounts rights to run those commands as root outside the admin task scripts. But from my understanding of 'sudo', if I do it, non-admin accounts will be able to use chmod and chown outside the scripts. Is this right ?
    The sid bit could have been a solution I think, but sadly it is not supported on Mac OSX 10.5.
    Thanks

    I am trying to use the sudo route add command in a script, which should run as part of a vpn connection config file. I get an unable to run script error in the log.
    I searched and found the following older discussion
    http://discussions.apple.com/thread.jspa?messageID=1986808
    I tried that but I get a syntax error when trying to save the sudoers file I chose to save anyway.
    Tried to run the command from the terminal and got the following error
    postdrop warning: unable to look up public/pickup:no such file or directory.
    Can you give me an example of your sudoers file with the correct syntax etc.
    Thanx

  • Sample for Business Objects Web Services for Admin Tasks

    Hi,
    Anyone has any idea that where can I get a sample using Business Objects Web Services for Admin Tasks like:
    - How To Set Security Rights
    - How To Manage Categories
    - How To Manage User Accounts
    - How To Manage User Groups
    Thanks,
    Harshad

    Samples are available at:
    https://www.sdn.sap.com/irj/sdn/businessobjects?rid=/webcontent/uuid/e02e0a54-6471-2b10-c99c-d66e07fab102&startindex=21
    Check BOSAP notes and other samples page for more info.

  • Error when loading actuals re: admin task exception thrown

    The "admin task" step (#176 below) of an actuals load package we run is failing and yielding the error message  "exception has been thrown by the target of an invocation". We have seen this error ourselves in the past on the front end when we try to simply log in to the admin console, and our workaround has been to simply try again.  The current log in management console shows this entry at the time of failure: <BR><BR>
    ==============[System Error Tracing]==============<BR>
    [System  Name] - ApplicationService<BR>
    [Message Type] - ErrorMessage<BR>
    [Job Name]     - OSoft.Services.Webservice.ApplicationService.ApplicationService.Query()<BR>
    [DateTime]     - 3-17-2010 7-11-12 PM<BR>
    [UserId]       - <BR>
    [Exception] <BR>
        DetailMsg  - {Exception has been thrown by the target of an invocation.}<BR>
    ==============[System Error Tracing  End ]==============<BR><BR><BR>
    Here are the juicy details from the view status package log in excel data manager:<BR><BR>
    TOTAL STEPS  1<BR>
    1. Get Current Period:                               completed in 0 sec.<BR>
    2. Clear Table:                                      completed in 0 sec.<BR>
    3. Clear Table:                                      completed in 0 sec.<BR>
    4. Clear Table:                                      completed in 0 sec.<BR>
    5. Data Flow Task:                                   completed in 41 sec.<BR>
    6. Data Flow Task:                                   completed in 41 sec.<BR>
    7. LoadPSAcronymInfo:                                completed in 41 sec.<BR>
    8. LoadAcctAorInfo:                                  completed in 41 sec.<BR>
    9. Execute Package LoadPSAcronym:                    completed in 41 sec.<BR>
    10. Execute Package LoadAcctAor:                      completed in 41 sec.<BR>
    11. Data Flow Task:                                   completed in 57 sec.<BR>
    12. LoadOSStoreInfo:                                  completed in 57 sec.<BR>
    13. Execute Package LoadOSStore 2007:                 completed in 57 sec.<BR>
    14. Delete Current Pd Data:                           completed in 109 sec.<BR>
    15. Prepare SQL:                                      completed in 1 sec.<BR>
    16. Data Flow Task:                                   completed in 83 sec.<BR>
    17. LoadLedgerInfo:                                   completed in 83 sec.<BR>
    18. Execute Package LoadLedger:                       completed in 83 sec.<BR>
    <
    19. Get DALA Info Sequence:                           completed in 83 sec.
    20. Get Current Period (string):                      completed in 0 sec.<BR>
    21. Clear Table:                                      completed in 0 sec.<BR>
    22. Load Manual Adj (not Klx):                        completed in 0 sec.<BR>
    23. Process_ManOthAdj:                                completed in 0 sec.<BR>
    24. Execute Package Process_ManOthAdj:                completed in 0 sec.<BR>
    25. Drop table(s) SQL Task:                           completed in 0 sec.<BR>
    26. Preparation SQL Task:                             completed in 0 sec.<BR>
    27. Data Flow Task:                                   completed in 1 sec.<BR>
    28. Update rpt_line with 'NO_RPT_LINE':               completed in 0 sec.<BR>
    29. Process_GLFix:                                    completed in 0 sec.<BR>
    30. Execute Package Process_GLFix:                    completed in 0 sec.<BR>
    31. Get Current Period:                               completed in 0 sec.<BR>
    32. Get Current Period:                               completed in 0 sec.<BR>
    33. Get Current Period:                               completed in 0 sec.<BR>
    34. Clear Table:                                      completed in 0 sec.<BR>
    35. Clear Table:                                      completed in 0 sec.<BR>
    36. Prepare Actuals SQL:                              completed in 0 sec.<BR>
    37. Prepare Actuals SQL:                              completed in 0 sec.<BR>
    38. Clear Table:                                      completed in 0 sec.<BR>
    39. Prepare Stats SQL:                                completed in 0 sec.<BR>
    40. Data Flow Task:                                   completed in 2 sec.<BR>
    41. Process_Stats:                                    completed in 2 sec.<BR>
    42. Execute Package Process_Stats:                    completed in 2 sec.<BR>
    43. Get Current Period:                               completed in 0 sec.<BR>
    44. Clear Table:                                      completed in 2 sec.<BR>
    45. Prepare Actuals SQL:                              completed in 0 sec.<BR>
    46. Data Flow Task:                                   completed in 0 sec.<BR>
    47. Process_Direct:                                   completed in 0 sec.<BR>
    48. Execute Package Process_direct:                   completed in 0 sec.<BR>
    49. Data Flow Task:                                   completed in 27 sec.<BR>
    50. Data Flow Task:                                   completed in 0 sec.<BR>
    51. Process_Other:                                    completed in 0 sec.<BR>
    52. Execute Package Process_Other:                    completed in 0 sec.<BR>
    53. Get Current Period:                               completed in 0 sec.<BR>
    54. Get Current Period:                               completed in 0 sec.<BR>
    55. Clear Table:                                      completed in 0 sec.<BR>
    56. Clear Table:                                      completed in 0 sec.<BR>
    57. Prepare Actuals SQL:                              completed in 0 sec.<BR>
    58. Prepare Actuals SQL:                              completed in 0 sec.<BR>
    59. Update Store Exceptions - AcctAOR:                completed in 2 sec.<BR>
    60. Update Store Exceptions - Store Type:             completed in 4 sec.<BR>
    61. Process_Stores:                                   completed in 4 sec.<BR>
    62. Execute Package Process_stores:                   completed in 4 sec.<BR>
    63. Data Flow Task:                                   completed in 21 sec.<BR>
    64. Process_Khalix_SP:                                completed in 21 sec.<BR>
    65. Execute Package Process_Khalix:                   completed in 21 sec.<BR>
    66. Data Flow Task:                                   completed in 26 sec.<BR>
    67. Process_Khalix_SP2:                               completed in 26 sec.<BR>
    68. Execute Package Process_Khalix2:                  completed in 26 sec.<BR>
    69. Clear FD_CorpID_Assign Table:                     completed in 0 sec.<BR>
    70. Merge all Raw tables into One:                    completed in 304 sec.<BR>
    71. Refresh Backup Copy FD_CorpID_Assign_Bak:         completed in 260 sec.<BR>
    72. Merge_Unassigned:                                 completed in 260 sec.<BR>
    73. Execute Package Merge_Extracts:                   completed in 260 sec.<BR>
    175. Verify All Records Processed:                     completed in 0 sec.<BR>
    176. Admin Task:                                       Failed in 5,541 sec.<BR>
    177. Admin_Optimize_FullwCompress:                     completed in 5,541 sec.<BR>
    178. Execute Package Admin Full Optimize:              completed in 5,541 sec.<BR>
    [Messages]<BR>
    Exception has been thrown by the target of an invocation.<BR>
    [EvModifyScript Detail]<BR>
    03-17-2010  17:05:55 - Debug turned ON<BR>
    INFO(%APPSET%, FINPLAN)<BR>
    INFO(%APP%, FINANCE)<BR>
    INFO(%DEFAULT_MEASURE%, PERIODIC)<BR>
    INFO(%MEASURES%, Periodic,QTD,YTD,Periodic_RL,QTD_RL,YTD_RL)<BR>
    INFO(%OLAPSERVER%, lenvssas02\a02)<BR>
    INFO(%SQLSERVER%, lenvssds05\s05\)<BR>
    INFO(%APPPATH%,
    LEN-FILE\OSoft\WebFolders\FINPLAN\FINANCE\)<BR>
    INFO(%DATAPATH%,
    LEN-FILE\OSoft\WebFolders\FINPLAN\FINANCE\DataManager\DataFiles\)<BR>
    INFO(%DATAROOTPATH%,
    LEN-FILE\OSoft\WebFolders\)<BR>
    INFO(%SELECTIONPATH%,
    LEN-FILE\OSoft\WebFolders\FINPLAN\FINANCE\DataManager\SelectionFiles\)<BR>
    INFO(%CONVERSIONPATH%,
    LEN-FILE\OSoft\WebFolders\FINPLAN\FINANCE\DataManager\ConversionFiles\)<BR>
    INFO(%TEMPPATH%,
    LEN-FILE\OSoft\WebFolders\FINPLAN\FINANCE\PrivatePublications\gvadlamu\TempFiles\)<BR>
    INFO(%LOGICPATH%,
    LEN-FILE\OSoft\WebFolders\FINPLAN\Adminapp\FINANCE\)<BR>
    INFO(%TRANSFORMATIONPATH%,
    LEN-FILE\OSoft\WebFolders\FINPLAN\FINANCE\DataManager\TransformationFiles\)<BR>
    INFO(%DIMS%, [Account],[AOR],[Category],[DataSrc],[RPT_LINE],[RptCurrency],[Time],[Unit])<BR>
    INFO(%FACTDIMS%, [Account],[AOR],[Category],[DataSrc],[RPT_LINE],[RptCurrency],[TIMEID],[Unit])<BR>
    INFO(%CATEGORY_DIM%, [Category])<BR>
    INFO(%TIME_DIM%, [Time])<BR>
    INFO(%ENTITY_DIM%, [Unit])<BR>
    INFO(%ACCOUNT_DIM%, [Account])<BR>
    INFO(%CURRENCY_DIM%, [RptCurrency])<BR>
    INFO(%APP_LIST%, CORPID,Finance)<BR>
    INFO(DATAMGRGLOBALBPU, )<BR>
    INFO(DATAMGRGLOBALERROR, )<BR>
    INFO(DATAMGRGLOBALPACKAGEINFOR, )<BR>
    INFO(DATAMGRGLOBALSEQ, 653)<BR>
    INFO(DATAMGRGLOBALSITEID, )
    INFO(MODIFYSCRIPT, DEBUG(ON)<BR>)
    Edited by: Erik Frazier on Mar 18, 2010 5:30 PM

    Thanks for the link. But I couldn't find anything usefull for my question there.
    If you found this post helpful, please "Vote as Helpful". If it answered your question, remember to "Mark as Answer"
    MCC & PowerShell enthusiast
    http://oliver.lipkau.net/blog
    I believe your question was:
    Does anyone know why?
    (by the way: I managed to solve the problem with:
    The link is the answer to the question.  I know it is technically complicated but there is really no simple way to explain why that happens. Whenever you use and older form of specification with DTD instructions you need to use different methods to
    validate. By shutting off the validating parser the document will load. The error is likely caused by a recursive definition in the DTDs or, more likely, an error is the XML structure as the document errors even when the DTDs are removed.
    ¯\_(ツ)_/¯

  • Convert ActiveX DTS script task to SSIS Script task - Please help

    Hello,
    I Have a ActiveX script that was used in a DTS package but I'm currently trying to convert all my DTS packages to SSIS.The script is tasked to run the package on a daily basis. Everything works fine except the ActiveX script. It gives an error on my DTSGlobalVariables.parent,
    I looked up this error and changed it to "DTS.Variables("User::VariableName").Value", in
    the SSIS script task (in VB) but now I'm getting error: 
    Microsoft.SqlServer.Dts.Runtime.DtsRuntimeException: The element cannot be found in a collection.
    ---> System.Runtime.InteropServices.COMException (0xC0010009): The element cannot be found in a collection.
    bij Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariables100.get_Item(Object Index)
    bij Microsoft.SqlServer.Dts.Runtime.Variables.get_Item(Object index)
    --- Einde van intern uitzonderingsstackpad ---
    bij Microsoft.SqlServer.Dts.Runtime.Variables.get_Item(Object index)
    bij ST_f32fc12b60f34bebbbdfc0c5e5b40a96.vbproj.ScriptMain.Main()
    --- Einde van intern uitzonderingsstackpad ---
    bij System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
    bij System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
    bij System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
    bij System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    bij System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
    bij System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, CultureInfo culture)
    I have tried to convert this ActiveX script into a SSIS script task in VB but I know hardly any VB... So I'm wondering what the best course of action for me is, should I try to convert it into the script task like I am trying now, if so, how do I make it
    work?
    Any help would be really really welcome.
    This is the original ActiveX script that needs to be converted:
    ' Visual Basic ActiveX Script
    Function Main()
    Dim sEnvironm
    Dim sServer
    Dim sSourceFile
    Dim sSourcePath
    Dim sBackupPath
    Dim sErrorPath
    Dim sFileName
    Dim sUDLPath
    ' Set vars
    ' First 2 are depending on the server and db
    ' FILL IN THE RIGHT VALUES
    sEnvironm = "MON_Datamart"
    sServer = "BrechtProesmans"
    ' --- DO NOT CHANGE ANYTHING BELOW THIS LINE ---
    sSourceFile = "C:\Program Files\Microsoft SQL Server\MON_Datamart\SourceFiles\tbl_L00T1.txt"
    sSourcePath = "C:\Program Files\Microsoft SQL Server\MON_Datamart\SourceFiles\"
    sBackupPath = "C:\Program Files\Microsoft SQL Server\MON_Datamart\BackupFiles\"
    sErrorPath = "C:\Program Files\Microsoft SQL Server\MON_Datamart\ErrorFiles\"
    sFileName = "tbl_L00T1.txt"
    sUDLPath = "C:\Program Files\Microsoft SQL Server\MON_Datamart\MON_Datamart.udl"
    ' Initial
    FoundError = False
    ' Get a handle to the Package object.
    Set oPackage = DTSGlobalVariables.Parent
    ' Update DTSConnections
    Set oConnection = oPackage.Connections("tbl_L00T1.txt")
    oConnection.DataSource = sSourceFile
    Set oConnection = oPackage.Connections("Datamart")
    oConnection.UDLPath = sUDLPath
    Set oConnection = oPackage.Connections("Truncate")
    oConnection.UDLPath = sUDLPath
    ' Update DTSTasks
    Set oTask = oPackage.Tasks("DTSTask_DTSDataPumpTask_1").CustomTask
    oTask.SourceObjectName = sSourceFile
    oTask.DestinationObjectName = sEnvironm & ".dbo.stg_tbl_L00T1"
    ' Set Global vars
    DTSGlobalVariables("SourcePath").Value = sSourceFile
    DTSGlobalVariables("BackupPath").Value = sBackupPath
    DTSGlobalVariables("ErrorPath").Value = sErrorPath
    DTSGlobalVariables("FileName").Value = sFileName
    ' Clean up.
    Set oTask = Nothing
    Set oConnection = Nothing
    Set oPackage = Nothing
    Main = DTSTaskExecResult_Success
    End Function

    Set a breakpoint and tell us on what line it dies, at the same time, you can inspect the variable values in the Auto window (if there are) as it merely perhaps is an issue with values not being passed in.
    Arthur
    MyBlog
    Twitter

  • Publish Reports in Web Admin Tasks is grayed out

    Publish Reports in Web Admin Tasks is grayed out. How can we enable this?
    Thanks,
    Nirav

    Hi Nilanjan,
    I'm able to access it. I can see all options there but publish report option is disable.
    Thanks,
    Nirav
    Edited by: NiravShah21 on Aug 11, 2011 3:07 PM

Maybe you are looking for