Testing discovery script in Powershell gives error on $api.CreateDiscoveryData(0, $sourceId, $managedEntityId)

Hello,
I'm currently starting to develop management packs for SCOM, i understand the basics and can build a simple management pack using powershell.
During testing i'm running into a problem, when running the powershell script directly it gives an error. If i use the discovery script in a management pack everything works ok.
The error is:
Exception calling "CreateDiscoveryData" with "3" argument(s): "Ongeldige klassereeks (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING))"
Part of it is in dutch but it means something like invalid class.
I tried to run the script on one of our management servers but it also gives this error.
It's very frustrating because i want to test the discovery scripts first before building the complete management pack.
Thanks for your help!

Something along these lines should work for you:
.\DiscoveryTest.ps1 -sourceID ([guid]::NewGuid().ToString("B")) -managedEntityID ([guid]::NewGuid().ToString("B"))
Of course your parameter names and numbers may differ.
It would be greatly appreciated if you would mark any helpful entries as helpful and if the entry answers your question, please mark it with the Answer link.

Similar Messages

  • Want to tweak an apps script, but it gives error when try to save - help!

    so I have a neat app that when used, will send an image it takes to your email address of choice. It uses "Mail" as the default mail app, but I only use Entourage as my mail app.
    Opening the package contents of the app, I found the Applescript that controls this function.. see it below
    on sendemail(emailto) --
    -- set email_to to "[email protected]" --
    -- set email_from to "[email protected]" --
    set image_name to "Snapshot.jpg"
    set image_path to ((path to home folder) as string) & image_name
    set image_file to image_path as alias
    tell application "Mail"
    activate
    set new_message to make new outgoing message with properties {subject:"Here is Your Snapshot"}
    tell new_message
    -- set visible to true --
    -- set sender to email_from --
    make new to recipient at end of to recipients with properties {address:email_to}
    make new attachment with properties {file name:image_file} at after the last paragraph
    -- activate --
    end tell
    send new_message
    end tell
    tell application "Finder"
    -- delete image_path --
    end tell
    end send_email
    it seems easy enough tweak to me.. see bold text above, but just change the line _tell application "Mail"_ to _tell application "Microsoft Entourage"_ and save the Applescript and viola.. BUT it does not work as once I make that weak & try to save the Applescript I get this error "*Syntax Error Expected “:”, etc. but found property*" and highlights just the word name which is followed by an existing ":". If I change it back to "Mail" it saves just fine... what gives?

    I took a different tact that is getting me closer, the Entourage dictionary helped...
    set thesubject to "here is your proof!"
    set theBody to "here is your visual proof."
    set theAttachment_name to "Default.jpg"
    set theAttachment_path to ((path to home folder) as string) & theAttachment_name
    set theAttachment_file to theAttachment_path as alias
    tell application "Microsoft Entourage"
    set theRecipients to {{address:{display name:"Contact 1", address:"[email protected]"}, recipient type:to recipient}, {address:{display name:"Contact 2", address:"[email protected]"}, recipient type:cc recipient}}
    set theMessage to make new outgoing message with properties {recipient:theRecipients, subject:thesubject, content:theBody, attachment:theAttachment_file}
    open theMessage
    end tell
    tell application "Microsoft Entourage"
    send theMessage
    end tell
    now.. I have the email composed, the attachment is found in proper 'home' folder and correctly placed/attached, subject line set, contact addresses set.. BUT my final issue seems to be just getting the email to send. it creates and composes the email, but is waiting for it to manually be sent as it seems my final "tell" is not sending the email automatically like it should. I have used the Entourage script dictionary, but I am failing to see how to get the script syntax that finishes it off by sending the email automatically.
    tell application "Microsoft Entourage"
    send theMessage
    end tell
    this above tell is not working... any ideas?

  • TextCleanup script in IndyCS2 gives error

    Hi, I'm running IndyCS2 ver. 4.0.5 on Mac OS X 10.4.10. I've loaded the "TextCleanup" script, along with its companion text file, "ASFindChangeList.txt". (have not tampered with either file.) The script starts out normally, but towards the end (20 lines from the bottom) generates an error at the following point:
    set myScript to "tell application \"Adobe InDesign CS2\"" & return & "set properties of find preferences to " & myFindString & return & "end tell" & return
    do script myScript language applescript language
    It says, "doesn't understand the do script."
    Try as I might, I can't understand why it's tripping right there. Thanks in advance for your kind help.

    Hi Gary,
    It sounds as if something is going wrong with the routine that reads the text file. It's most likely that the contents of "myFindString" is not something that InDesign understands. You can add the following line:
    display dialog myFindString
    Just before the line you started with above ("set myScript to..."). When you run the script, it'll display a dialog with the contents of the find string--and I'm betting it's either gibberish or empty.
    Have you tried the JavaScript version? If your interest is simply in getting the thing running, that might be the quickest solution.
    Thanks,
    Ole

  • Global Conditions - Powershell Script - Script is not signed (Error: 87D00327; Source: CCM)

    I failed to use any Powershell script in Global Conditions with error 87D00327. The script is signed and tested without problem. Setting execution policy doesn't change the result at all.
    Error message as below:
    In-line script returned error output: File C:\Windows\CCM\SystemTemp\e7001c04-3966-46a7-9622-26c36d9c45de.ps1 cannot
    be loaded. The file C:\Windows\CCM\SystemTemp\e7001c04-3966-46a7-9622-26c36d9c4
    5de.ps1 is not digitally signed. The script will not execute on the system. Ple
    ase see "get-help about_signing" for more details..
    At line:1 char:2
    + & <<<< 'C:\Windows\CCM\SystemTemp\e7001c04-3966-46a7-9622-26c36d9c45de.ps1'
    + CategoryInfo : NotSpecified: (:) [], PSSecurityException
    + FullyQualifiedErrorId : RuntimeException
    ScriptProvider 6/23/2014 1:45:06 PM 2516 (0x09D4)
    ScriptProvider::CreateInstanceEnumAsync - Script Execution Returned :1, Error Message:File C:\Windows\CCM\SystemTemp\e7001c04-3966-46a7-9622-26c36d9c45de.ps1 cannot
    be loaded. The file C:\Windows\CCM\SystemTemp\e7001c04-3966-46a7-9622-26c36d9c4
    5de.ps1 is not digitally signed. The script will not execute on the system. Ple
    ase see "get-help about_signing" for more details..
    At line:1 char:2
    + & <<<< 'C:\Windows\CCM\SystemTemp\e7001c04-3966-46a7-9622-26c36d9c45de.ps1'
    + CategoryInfo : NotSpecified: (:) [], PSSecurityException
    + FullyQualifiedErrorId : RuntimeException
    ScriptProvider 6/23/2014 1:45:06 PM 2516 (0x09D4)
    Failed in discovering instance.
    Script is not signed (Error: 87D00327; Source: CCM) ScriptProvider 6/23/2014 1:45:06 PM 2516 (0x09D4)
    Failed to do HandleExecQueryAsync().
    Script is not signed (Error: 87D00327; Source: CCM) ScriptProvider 6/23/2014 1:45:06 PM 2516 (0x09D4)
    Failed to process CScriptProvider::GExecQueryAsync.
    Script is not signed (Error: 87D00327; Source: CCM) ScriptProvider 6/23/2014 1:45:06 PM 2516 (0x09D4)
    I can't figure out a way to capture the temp script file mentioned in the error message so I can't verify the script locally.
    Any help will be appreciated.
    Sean
    Regards, Sean

    Hi, Sean.
    There was a product issue with signed PowerShell detection method scripts that has been fixed in R2 CU2. I just noticed it's not mentioned in the KB article for CU2. I'm not sure what happened here but I'll have somebody look into this.
    Anyway, there's a couple of caveats to consider regarding this fix in your scenario. Firstly if you're creating a PowerShell script detection method you must not copy/paste the script text -- you need to "Open" it. Secondly, if you have any previously created
    PowerShell script detection methods with signed scripts, you will need to re-add the detection script (again using "Open"). Finally, you must use an administrator console that's been updated to CU2 and a client that's been updated to CU2 for this fix to be
    effective.
    I hope this helps resolve the issue for you.
    Check out my Configuration Manager blog at http://aka.ms/ameltzer

  • Test.fmx gives error: "FRM-93500"

    Hello all,
    i have problem with oracle forms 11g, when i try to run test.fmx; in IE8 it gives this error="FRM-93500", on the other hand in FF 3.6 want to some plug-in but it doesn't solve automaticlly.In forms 11g all cofiguration are default.
    OS server 2008
    J2SE Runtime Env. 5u15
    Java SE dev. kit 6u12
    Thanks in Advance..

    port: '8888', it didn't give any error, when installed app.
    sorry sarah. how can i replace jvm.dll, i find 5 diff. jvm.dll, diff. location.

  • Azure powershell gives the error :Your credentials have expired Please use Add-AzureAccount to login again.

    Azure powershell gives the error :Your credentials have expired Please use Add-AzureAccount to login again.
    Keep receiving the same error even after logging in again and again.
    I want to create credentials for my storage account and want to take backup of a database on azure storage account.
    Please help.

    I had the same error and it was caused by the newest versions of Azure PowerShell. I had to install back to version 8.14 (February 2015) in order for it to work.
    http://az412849.vo.msecnd.net/downloads04/azure-powershell.0.8.14.msi

  • "generate subset" in script gives error if even number

    I am try to generate with a scipt using a PXI6551.  In the generate subset command if it is a EVEN number such as below (gree) subset(0,17) it gives the error below (red).  If it is an ODD number it works.  Is this a bug, normally you would need an even number of samples to be able to generate but with the script it seems to give the error if there is an even number?
    Thanks,
    Brian
    script myScript
       repeat 1
          Generate PRBS
       end repeat
       Generate PRBS subset(0,17) <-gives error   (0,18) does not give error
    script
    Error -1074115617 occurred at niHSDIO Write Script.vi
    Possible reason(s):
    Driver Status:  (Hex 0xBFFA4BDF) DAQmx Error -200032 occurred:
    Subset length specified is not valid.
    Change the subset length to be longer than zero samples and a multiple of the alignment quantum.
    Line Number: 5
    Position in Line: 18
    Subset Length: 17
    Alignment Quantum: 2
    Status Code: -200032
    Message Edited by BrianPack on 09-29-2005 04:29 PM

    Brian,
    The format (x,y) means y samples starting at position X and therefore when you specify (0,17) you would still generate 17 samples but starting at position 0. Whereas when specifying (1,17) you would generate STILL 17 samples but starting at position 1.  Therefore, in either case, you are still asking to generate an odd number of samples. Hope this helps.
    Ayman K

  • Exchange 2010 Ative Sync working fine but when i do the test-ActiveSyncConnectivity it gives Error

    Exchange 2010 Ative Sync working fine but when i do the test-ActiveSyncConnectivity it gives Error my internal and external domains are different i have godaddy certificate and i have redirected HTTP to HTTPS for OWA, but when i run the test-ActiveSyncConnectivity
    https://mail.mycompany.com/Microsoft-System-ActiveSync it gives me error unable to connect to remote server, the connected party did not respond after a period of time because connected server failed to respond 67.57.66.23:443 
    From outside owa and activesync is working but my outlook 2007 SP2 shows disconnect every 25 minutes and then connected again when i see windows evenyviewer i am getting error that CAS Server failed to connect to mailbox server. Later it disconnected for
    60 seconds, I think thats when outlook gives disconnect error to all users
    Your quick help is really appreciated

    Hi,
    Hope below KB will help you for resolution the issue
    http://support.microsoft.com/kb/2469722
    http://www.wiki-errors.com/err.php?wiki=443
    Dinesh S.

  • How to execute sql scripts from Powershell across multiple databases

    Re: How to execute sql scripts from Powershell across multiple databases
    I have an tsql script that I want to run across a list of databases. How is the best way to do this in Powershell? Thanks.

    My example below, using just the SMO and not breaking up the batches, the ExecuteWithResults give the following error when the .sql file contains a GO. My script files are as simple as a DECLARE and then a GO.
    WARNING: SQL Script Failed
    The object of type "Microsoft.PowerShell.Commands.Internal.Format.FormatStartData" is not valid or not in the correct sequence. This is likely caused by a user-specified "format-list" comm
    and which is conflicting with the default formatting.
        + CategoryInfo          : InvalidData: (:) [out-lineoutput], InvalidOperationException
        + FullyQualifiedErrorId : ConsoleLineOutputOutOfSequencePacket,Microsoft.PowerShell.Commands.OutLineOutputCommand
    Also, when executing from the ISE, is there a way to force the ISE to release the files. I am having to close the ISE and reopen my script every time I want to make a testing change to the .sql file.
    [reflection.assembly]::LoadWithPartialName("Microsoft.SqlServer.Smo")
    $scriptspath = "C:\temp\psExecuteSQLScripts\scripts"
    $SQLServer = "fidevc10"
    $SQLDB = "Bank03"
    # Create SMO Server Object
    $Server = New-Object ('Microsoft.SQLServer.Management.Smo.Server') $SQLServer
    # Get SMO DB Object
    $db = $Server.Databases[$SQLDB]
    # Load All SQL Scripts in Directory
    $scripts = Get-ChildItem -Path (Join-Path $scriptspath "*") -Include "*.sql" -Recurse
    # Loop through each script and execute
    foreach ($SQLScript in $scripts)
    $fullpath = $SQLScript.FullName
    # Read the Script File into Powershell Memory
    $reader = New-Object System.IO.StreamReader($fullpath)
    $script = $reader.ReadToEnd()
    # Execute SQL
    Write-Host "Executing $SQLScript on $SQLDB...."
    try
    $ds = $db.ExecuteWithResults($script)
    Foreach ($t in $ds.Tables)
    Foreach ($r in $t.Rows)
    Foreach ($c in $t.Columns)
    Write-Host $c.ColumnName "=" $r.Item($c)
    Write-Host "Complete"
    catch [Exception]
    Write-Warning "SQL Script Failed"
    echo $_.Exception|format-list -force
    Write-Host " " -BackgroundColor DarkCyan

  • Report server gives error

    i have installed oracle 9i AS (EE)on NT,
    Now i want to display reports in pdf/HTML on web broswer. For that i am trying to run report tester page given through broswer it is showing one page having Button(run report), when i click on that, it gives error unable to connected to database, and request rejected by report server. WHY ???
    i want to display reports through JSP How it can be done? Does anybody knows it?
    Naresh
    null

    Please check at http://<server>/dev60html/runrep.htm for follwings :
    01. your test.rdf must be in report60 folder
    02. your db must contain scott user
    03. connect string must be tested and give the same inplace of test
    04. your webhost may contain a dot, please check this should be the same as yours
    hope this will help
    bye !

  • Select query gives error in Code inspector and extended program check

    Hi,
    I have a query .
    SELECT pernr
      FROM pa9100
      INTO TABLE t_nca_tab
      WHERE endda EQ c_date AND
      z_nca_required EQ c_yes.
    This query gives me an error in Code inspector like :
    Large table pa0001: No first field of table index in WHERE  condition
    I have one more query that gives error in extended program check
    SELECT SINGLE stell ename
          INTO (g_stell, g_name)
          FROM pa0001
          WHERE pernr EQ wa_nca_tab-pernr AND
                endda EQ c_date.
    The warning says:
    *In "SELECT SINGLE ...", the WHERE condition for the key field "SEQNR" does not
    test for equality. Therefore, the single record in question may not be unique.*
    Its too urgent.
    Please reply.
    Regards,
    Binay.

    The first field is PERNR .. so if UR not giving pernr it will fetch
    all the data from the said table and between the given dates ..
    Check if this is your requirement ...
    write the select as ...
    where r_pernr is a range ...
    SELECT pernr
    FROM pa9100
    INTO TABLE t_nca_tab
    WHERE pernr in r_pernr  <----
                 endda EQ c_date AND
                 z_nca_required EQ c_yes.
    As UR using select single it's expecting to use all the key
    fields in the where condition ...
    U can ignore this warning message

  • XL Reporter gives Error after updating from PL 25 to SBO 2005 B PL 38

    Thnaks Shridhar,
    I have tested it in PL 38, its work fine but it has occoured one more problem i.e. XL Reporter is not working now.
    However I have updated XL Reporter to PL30, but it gives error.
    It has reamed used userdefined fields of the report. I have correct it too. But it gives error " Expansion has problem ".
    Can any body has idea for running XL reporter successfully after updating patch level.
    Can any one has faced this error or have solutions.
    Pl. Help. so that i can updating it to Final Live Database.
    Warm Regards,
    Chintesh Soni

    Hi..Shridharan,
    Thanks for reply and guidance....!!
    But I have successfully installed the XL Reporter means upgraded.
    Now, When I am running existing reports which are preapred in previous version, is not running. It gives error i.e. Expansion has problem.
    B4 this error, it has shown me some other error for user defined field was not found, when i have checked, the upgradation of patch level has changed the name of UDFs.
    I have modified the udf names in the report.
    Can u identify wht is the problem exactly please..
    With Warm Regards,
    Chintesh Soni

  • OOTB workflow gives error when user rejects in the document in publishing a major version.

    Hi All,
    I am using OOTB workflow with little customization  with following configuration
    1. Allow content approval enabled
    2. Configure a workflow with following general settings true
    3. Start workflow on publish of Major version only is enabled
    4. workflow has following configuration enabled.
    Now, when user start publishing of major version and Starts the workflow. workflow starts without any problem.
    But as and when the user rejects the document it is rejected with Reject status with "Approval Status" as well as workflow status which is expected.(This is correct )
    But when i look at the workflow history i can see at last line there is an Error with
    An error has occurred in In [Workflow Name].
    Now when user check out and check in item again and try to publish with Major version again. it gives errors that the previous version is still running.
    I have trace a lot and also test with original OOTB workflow itself. it is behaving the same.
    As per my findings there is problem in "Completion condition of this task process" the end task process is not being executed correctly.
    I tried to end the task process with End the task process action but it is still not working.
    I need some help in this issue as users are facing problems in case of rejection. I hope some one has the solution for the same.
    Two things i have noticed are
    1. My MS office 2010 professional plus is expired as i was using trial version
    2. I have made stop inheriting tasks permission and remove all default groups as i have settings in workflow "Only allow task reception and process owner to read and edit workflow task"
    3. Earlier i had also installed "Sharepoint 2010 April 2012 updates". i had also observed that (installing Sharepoint 2010 April 2012 updates) before that if user has selected "Automatically rejects the document if any participant rejected". it ends
    with "rejected" status. At present it remains in inprogress and not stops with rejected status.
    Can any one give me a hint what should be the problem ? Is it a problem with latest Sharepoint 2010 April 2012 updates ?
    Thanks,
    S. M. MANIYAR

    I have done following testing.
    1. The server in which i have not installed sharepoint 2010 April 2012 updates the above scenario is working fine without any problem
    2. I have also observed following logs of error in server where April 2012 updates is installed.
    8/28/2012 03:51:41.33  w3wp.exe (0x0F08)                        0x0A00 SharePoint Foundation        
     Workflow Infrastructure        88xr Unexpected WinWF Internal Error, terminating workflow Id# 8bf7fef1-c92e-4b22-a16f-480425d3adc6 
    08/28/2012 03:51:41.33  w3wp.exe (0x0F08)                        0x0A00 SharePoint Foundation        
     Workflow Infrastructure        98d4 Unexpected System.InvalidOperationException:
    CompositeActivity cannot transition to 'Closed' status when there are active child context still exist for child activity.     at System.Workflow.ComponentModel.Activity.MarkClosed()     at System.Workflow.ComponentModel.ActivityExecutionContext.CloseActivity()    
    at Microsoft.Office.Workflow.Actions.OfficeTask.FinalClose(Object sender, EventArgs eventArgs)     at System.Workflow.ComponentModel.ActivityExecutorDelegateInfo`1.ActivityExecutorDelegateOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)    
    at System.Workflow.Runtime.Scheduler.Run() 
    Following are last two lines of workflow history.
    S. M. MANIYAR

  • CJS-00030  Assertion failed: Execution of SQL script reports an unexpected error.System Copy

    Experts,
    I am performing Homogeneous System copy using backup/restore method.I have taken QA system backup ie dump files and trying to build on Sandbox system for testing purpose.Everything went fine and was able to load the dump but stuck at one of the point and throwing me error
    ERROR      [cinstallercallbackimpl.cpp:228]
    CJS-00030  Assertion failed: Execution of SQL script reports an unexpected error.
    When I checked the sapinst_dev log I found the below error but not able to fix it and not aware to proceed further
    1> use SID
    1> EXEC sp_changedbowner sapsa
    Msg 17362, Level 16, State 1:
    Server 'SID', Procedure 'sp_changedbowner', Line 181:
    The proposed new db owner already is a user in the database or owns the database.
    (return status = 1)
    I am sure these may be small changes that have to be made by changing the db owner and Im not exactly sure how to perform it.
    Note:I am Using the Windows environment with Sybase ase database and SWPM tool to perform.
    Appreciate your suggestions
    Thanks

    I fixed the issue ..by changing the owner sapsa.Bingo !!!!

  • Hi Anil, I was able to compile the Maven test build successfully but still has errors.

    Hi Anil, I am not able to compile the Maven test build successfully but still have errors/warning messages. Can you please help me or tell me if I can
    processed with the tutorials. Thanks.
    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
    instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
      <modelVersion>4.0.0</modelVersion>
      <groupId>Maven-Test</groupId>
      <artifactId>Maven-Test</artifactId>
      <version>0.0.1-SNAPSHOT</version>
      <packaging>pom</packaging>
       <dependencies>
    <!-- check if <sap.cloud.sdk.version> and <sap.cloud.sdk.path> in settings.xml are correct -->
    <!-- SAP HANA Cloud SDK dependency -->
    <dependency>
    <groupId>Maven-Test</groupId>
    <artifactId>Maven-Test</artifactId>
    <version>1.48.16</version>
    <scope>system</scope>
    <systemPath>C:/dev/hanacloud.sdk/1.48.16</systemPath>
    </dependency>
    <!-- check if <eclipse.path> and <sap.cloud.ui5.version> in settings.xml are correct -->
    <!-- SAPUI5 dependency -->
    <dependency>
    <groupId>Maven-Test</groupId>
    <artifactId>Maven-Test</artifactId> (I am getting error here)
    <version>1.18.8</version>
    <scope>system</scope>
      <systemPath>C:/dev/eclipse</systemPath>
    </dependency>
    </dependencies>
    </project>
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    [INFO] Scanning for projects...
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for Maven-Test:Maven-Test:pom:0.0.1-SNAPSHOT
    [WARNING] 'dependencies.dependency.systemPath' for Maven-Test:Maven-Test:jar should use a variable instead of a hard-coded path C:/dev/hanacloud.sdk/1.48.16 @ line 16, column 14
    [WARNING] 'dependencies.dependency.systemPath' for Maven-Test:Maven-Test:jar should use a variable instead of a hard-coded path C:/dev/eclipse @ line 25, column 15
    [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: Maven-Test:Maven-Test:jar -> version 1.48.16 vs 1.18.8 @ line 20, column 14
    [WARNING] 'dependencies.dependency.systemPath' for Maven-Test:Maven-Test:jar refers to a non-existing file C:\dev\eclipse @ line 25, column 15
    [WARNING]
    [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
    [WARNING]
    [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
    [WARNING]
    [INFO]                                                                        
    [INFO] ------------------------------------------------------------------------
    [INFO] Building Maven-Test 0.0.1-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
    Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom (5 KB at 4.3 KB/sec)
    [INFO]
    [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ Maven-Test ---
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 3.507s
    [INFO] Finished at: Mon Mar 24 02:27:14 EDT 2014
    [INFO] Final Memory: 5M/99M
    [INFO] ------------------------------------------------------------------------

    It's probably best to close thread and that I start a new one. I think that I have gone off on a tangent here. Yes SSIS isn't doing much of a job in reporting errors but my main concern is the error itself.
    I am trying to port an SSIS Script Task from SQL 2008 to SQL 2012. Is uses the ReportExecution2005 web service to run SSRS reports. The really strange thing is that, even though the same web reference is used, different methods seem
    to be available in SQL 2008 and SQL 2012. This doesn't sound right to me, if you refer to the same Web Service you should see the same metros or am I wrong about that.
    For example in SQL 2008 there is ReportExecutionService
    object but on the SQL 2012 to service there only seems to be
    ReportExecutionServiceSOAPClient.
    R Campbell

Maybe you are looking for