DB13 BRCONNECT NextExtent Task Failed

Hi All,
I have a doubt about this.
I scheduled the task NextExtent in DB13 (NW2004s), but the scheduled failed always.
I received the following error :
<b>Return Code:   0003 Error during initialization</b>
And into Detail Log:
<b>BR0825E Table/Index 'SAPR3./BIC/B00005630000000000002' not found in database
BR0182E Checking parameter/option 'next_exclude/-e' failed</b>              
How can i do to perform this tasks ?
Thanks,
Juan.

Solved !
I modified the parameter next_exclude in the initPW1.sap file.
I excluded the Table/Index SAPR3./BIC/B00005630000000000002.
I took the info from SAP Help
http://sapdoku.bertelsmann.de/nwhelp_04/helpdata/DE/0d/d308f14a0c11d182b80000e829fbfe/content.htm
Regards,
And thanks all.

Similar Messages

  • Db13 both the jobs failed update stats and DB check

    Dear Friends,
    Request you to look at following logs and suggest .
    Thanks in advance.
    BR0883I Table selected to collect statistics after check: SAPSR3.ALSLDCTRL (1/0:34:0)
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.50
    BR0881I Collecting statistics for table SAPSR3.ALSLDCTRL with method/sample C ...
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.50
    BR0884I Statistics collected for table: SAPSR3.ALSLDCTRL, rows old/new: 1/1
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.50
    BR0883I Table selected to collect statistics after check: SAPSR3.ALTSTLOD (118/0:6940:0)
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.50
    BR0881I Collecting statistics for table SAPSR3.ALTSTLOD with method/sample C ...
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.50
    BR0884I Statistics collected for table: SAPSR3.ALTSTLOD, rows old/new: 118/118
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.50
    BR0850I 9 of 102 objects processed - 0.105 of 9.323 units done
    BR0204I Percentage done: 1.12%, estimated end time: 23:11
    BR0001I *_________________________________________________
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.50
    BR0883I Table selected to collect statistics after check: SAPSR3.ARFCRSTATE (43/29218:7005:29195)
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.50
    BR0881I Collecting statistics for table SAPSR3.ARFCRSTATE with method/sample C ...
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.53
    BR0884I Statistics collected for table: SAPSR3.ARFCRSTATE, rows old/new: 43/66
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.53
    BR0883I Table selected to collect statistics after check: SAPSR3.ARFCSDATA (153830/419010:0:296422)
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.53
    BR0881I Collecting statistics for table SAPSR3.ARFCSDATA with method/sample E/P10 ...
    BR0280I BRCONNECT time stamp: 2009-07-20 23.01.12
    BR0884I Statistics collected for table: SAPSR3.ARFCSDATA, rows old/new: 153830/274700
    BR0280I BRCONNECT time stamp: 2009-07-20 23.01.12
    BR0850I 11 of 102 objects processed - 0.550 of 9.323 units done
    BR0204I Percentage done: 5.90%, estimated end time: 23:08
    BR0001I ***_______________________________________________
    BR0280I BRCONNECT time stamp: 2009-07-20 23.01.12
    BR0301W SQL error -1 at location brc_dblog_write-2, SQL statement:
    'INSERT INTO SAP_SDBAD (BEG, FUNCT, SYSID, POS, LINE) VALUES ('20090720230019', 'sta', 'WIP', '0000', 'A 00000000 00000000 00000
    ORA-00001: unique constraint (SAPSR3DB.SDBAD__0) violated
    BR0325W Writing to database log failed
    BR0280I BRCONNECT time stamp: 2009-07-20 23.01.12
    BR0883I Table selected to collect statistics after check: SAPSR3.ARFCSSTATE (4029/146985:38657:32482)
    BR0280I BRCONNECT time stamp: 2009-07-20 23.01.12
    BR0881I Collecting statistics for table SAPSR3.ARFCSSTATE with method/sample E/P10 ...
    BR0280I BRCONNECT time stamp: 2009-07-20 23.01.27
    BR0884I Statistics collected for table: SAPSR3.ARFCSSTATE, rows old/new: 4029/119330
    BR0280I BRCONNECT time stamp: 2009-07-20 23.01.27
    BR0883I Table selected to collect statistics after check: SAPSR3.BAL_AMODAL (0/70:0:70)
    BR0280I BRCONNECT time stamp: 2009-07-20 23.01.27
    BR0881I Collecting statistics for table SAPSR3.BAL_AMODAL with method/sample C ...
    BR2.16
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3.TSP02, rows old/new: 23263/24250
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.16
    20.07.2009     23:12:50     BR0883I Table selected to collect statistics after check: SAPSR3.TSP02FX (1511/9606:0:9600)
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.16
    20.07.2009     23:12:50     BR0881I Collecting statistics for table SAPSR3.TSP02FX with method/sample C ...
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.16
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3.TSP02FX, rows old/new: 1511/1517
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.16
    20.07.2009     23:12:50     BR0883I Table selected to collect statistics after check: SAPSR3.TSP02W (1511/9606:0:9600)
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.16
    20.07.2009     23:12:50     BR0881I Collecting statistics for table SAPSR3.TSP02W with method/sample C ...
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.16
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3.TSP02W, rows old/new: 1511/1517
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.16
    20.07.2009     23:12:50     BR0883I Table selected to collect statistics after check: SAPSR3.TSPOPTIONS (12/0:10970:0)
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.16
    20.07.2009     23:12:50     BR0881I Collecting statistics for table SAPSR3.TSPOPTIONS with method/sample C ...
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.17
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3.TSPOPTIONS, rows old/new: 12/12
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.17
    20.07.2009     23:12:50     BR0883I Table selected to collect statistics after check: SAPSR3.TSPSVI (5/0:19210:0)
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.17
    20.07.2009     23:12:50     BR0881I Collecting statistics for table SAPSR3.TSPSVI with method/sample C ...
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.17
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3.TSPSVI, rows old/new: 5/5
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.17
    20.07.2009     23:12:50     BR0883I Table selected to collect statistics after check: SAPSR3.TST01 (31843/15941:56883:15606)
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.17
    20.07.2009     23:12:50     BR0881I Collecting statistics for table SAPSR3.TST01 with method/sample E/P30 ...
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.19
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3.TST01, rows old/new: 31843/31640
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.19
    20.07.2009     23:12:50     BR0883I Table selected to collect statistics after check: SAPSR3.TUCNTRAW (63/83:16833:91)
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.19
    20.07.2009     23:12:50     BR0881I Collecting statistics for table SAPSR3.TUCNTRAW with method/sample C ...
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.19
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3.TUCNTRAW, rows old/new: 63/55
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.19
    20.07.200 for table: SAPSR3.ZWS_POSTING_DATE, rows old/new: 582110/578840
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0883I Table selected to collect statistics after check: SAPSR3DB.BC_UDDI_PARAM (82/320:4:320)
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0881I Collecting statistics for table SAPSR3DB.BC_UDDI_PARAM with method/sample C ...
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3DB.BC_UDDI_PARAM, rows old/new: 82/82
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0883I Table selected to collect statistics after check: SAPSR3DB.J2EE_KEYSEQUENCE (1/0:8:0)
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0881I Collecting statistics for table SAPSR3DB.J2EE_KEYSEQUENCE with method/sample C ...
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3DB.J2EE_KEYSEQUENCE, rows old/new: 1/1
    20.07.2009     23:12:50     
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0850I 102 of 102 objects processed - 9.323 of 9.323 units done
    20.07.2009     23:12:50     BR0204I Percentage done: 100.00%, estimated end time: 23:12
    20.07.2009     23:12:50     BR0001I **************************************************
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0301W SQL error -1 at location brc_dblog_write-2, SQL statement:
    20.07.2009     23:12:50     'INSERT INTO SAP_SDBAD (BEG, FUNCT, SYSID, POS, LINE) VALUES ('20090720230019', 'sta', 'WIP', '0000', 'A 00000000 00000000 00000
    20.07.2009     23:12:50     ORA-00001: unique constraint (SAPSR3DB.SDBAD__0) violated
    20.07.2009     23:12:50     BR0325W Writing to database log failed
    20.07.2009     23:12:50     
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0879I Statistics checked for 68351 tables
    20.07.2009     23:12:50     BR0878I Number of tables selected to collect statistics after check: 102
    20.07.2009     23:12:50     BR0880I Statistics collected for 102/0 tables/indexes
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0301W SQL error -1 at location brc_dblog_write-2, SQL statement:
    20.07.2009     23:12:50     'INSERT INTO SAP_SDBAD (BEG, FUNCT, SYSID, POS, LINE) VALUES ('20090720230019', 'sta', 'WIP', '0000', 'A 00000000 00000000 00000
    20.07.2009     23:12:50     ORA-00001: unique constraint (SAPSR3DB.SDBAD__0) violated
    20.07.2009     23:12:50     BR0325W Writing to database log failed
    20.07.2009     23:12:50     
    20.07.2009     23:12:50     BR0806I End of BRCONNECT processing: cebbggbz.sta2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0803I BRCONNECT completed successfully with warnings
    20.07.2009     23:12:50     External program terminated with exit code 1
    20.07.2009     23:12:50     BRCONNECT returned error status E
    20.07.2009     23:12:50     Job finished

    Hi Jiggi
    Are you running 2 jobs at the same time from DB13?  What do you mean by >Db13 both the jobs failed
    >ORA-00001: unique constraint
    can happen due to lot of reasons in SAP. Basically it means you are insertion of  already existing records.
    This also may happen due to bug in brtools patch level. What is your brtools patch level?
    You can also have a look at
    https://service.sap.com/sap/support/notes/421697
    https://service.sap.com/sap/support/notes/458872
    Anindya

  • Script task fails to send mail to GMAIL

    Hi   guys ,
       I am new here and i am glad i that i am here.  I am working in a company  as SQL Server developer(T-sql), i am learning SSIS because  i wanted to move to data warehousing.
    I not familiar and i don't know any thing about  C#,  but i am learning SSIS on my own.
    I tried to send mail to gmail  using script task , both sender and receiver with same mail ID using variables which i tried using tutorial i found from the below link.
    [quote]http://www.codeproject.com/Articles/85172/Send-Email-from-SSIS-with-option-to-indicate-Email[/quote]
    but finally when i execute the task , it returns failure message and email is not sent.
    [quote]SSIS package "Send mail using script task.dtsx" starting.
    Error: 0x8 at Script Task: The script returned a failure result.
    Task failed: Script Task
    SSIS package "Send mail using script task.dtsx" finished: Success.
    [/quote]
    Below message taken from progress tab
    [quote]Error: The script returned a failure result.[/quote]
    Can you all please help me in  finding where i am going wrong? please check below code which i have used in script task.
    Microsoft SQL Server Integration Services Script Task
    Write scripts using Microsoft Visual C# 2008.
    The ScriptMain is the entry point class of the script.
    using System;
    using System.Data;
    using Microsoft.SqlServer.Dts.Runtime;
    using System.Windows.Forms;
    using System.Text.RegularExpressions;
    using System.Net.Mail;
    namespace ST_9bc84810a62a401aa44ddd905bcd369d.csproj
    [System.AddIn.AddIn("ScriptMain", Version = "1.0", Publisher = "", Description = "")]
    public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
    #region VSTA generated code
    enum ScriptResults
    Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
    Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
    #endregion
    The execution engine calls this method when the task executes.
    To access the object model, use the Dts property. Connections, variables, events,
    and logging features are available as members of the Dts property as shown in the following examples.
    To reference a variable, call Dts.Variables["MyCaseSensitiveVariableName"].Value;
    To post a log entry, call Dts.Log("This is my log text", 999, null);
    To fire an event, call Dts.Events.FireInformation(99, "test", "hit the help message", "", 0, true);
    To use the connections collection use something like the following:
    ConnectionManager cm = Dts.Connections.Add("OLEDB");
    cm.ConnectionString = "Data Source=localhost;Initial Catalog=AdventureWorks;Provider=SQLNCLI10;Integrated Security=SSPI;Auto Translate=False;";
    Before returning from this method, set the value of Dts.TaskResult to indicate success or failure.
    To open Help, press F1.
    public void Main()
    string sSubject = "Test Subject";
    string sBody = "Test Message";
    int iPriority = 2;
    if (SendMail(sSubject, sBody, iPriority))
    Dts.TaskResult = (int)ScriptResults.Success;
    else
    //Fails the Task
    Dts.TaskResult = (int)ScriptResults.Failure;
    public bool SendMail(string sSubject, string sMessage, int iPriority)
    try
    string sEmailServer = Dts.Variables["sEmailServer"].Value.ToString();
    string sEmailPort = Dts.Variables["sEmailPort"].Value.ToString();
    string sEmailUser = Dts.Variables["sEmailUser"].Value.ToString();
    string sEmailPassword = Dts.Variables["sEmailPassword"].Value.ToString();
    string sEmailSendTo = Dts.Variables["sEmailSendTo"].Value.ToString();
    string sEmailSendCC = Dts.Variables["sEmailSendCC"].Value.ToString();
    string sEmailSendFrom = Dts.Variables["sEmailSendFrom"].Value.ToString();
    string sEmailSendFromName = Dts.Variables["sEmailSendFromName"].Value.ToString();
    SmtpClient smtpClient = new SmtpClient();
    MailMessage message = new MailMessage();
    MailAddress fromAddress = new MailAddress(sEmailSendFrom, sEmailSendFromName);
    //You can have multiple emails separated by ;
    string[] sEmailTo = Regex.Split(sEmailSendTo, ";");
    string[] sEmailCC = Regex.Split(sEmailSendCC, ";");
    int sEmailServerSMTP = int.Parse(sEmailPort);
    smtpClient.Host = sEmailServer;
    smtpClient.Port = sEmailServerSMTP;
    System.Net.NetworkCredential myCredentials =
    new System.Net.NetworkCredential(sEmailUser, sEmailPassword);
    smtpClient.Credentials = myCredentials;
    message.From = fromAddress;
    if (sEmailTo != null)
    for (int i = 0; i < sEmailTo.Length; ++i)
    if (sEmailTo[i] != null && sEmailTo[i] != "")
    message.To.Add(sEmailTo[i]);
    if (sEmailCC != null)
    for (int i = 0; i < sEmailCC.Length; ++i)
    if (sEmailCC[i] != null && sEmailCC[i] != "")
    message.To.Add(sEmailCC[i]);
    switch (iPriority)
    case 1:
    message.Priority = MailPriority.High;
    break;
    case 3:
    message.Priority = MailPriority.Low;
    break;
    default:
    message.Priority = MailPriority.Normal;
    break;
    //You can enable this for Attachments.
    //SingleFile is a string variable for the file path.
    //foreach (string SingleFile in myFiles)
    // Attachment myAttachment = new Attachment(SingleFile);
    // message.Attachments.Add(myAttachment);
    message.Subject = sSubject;
    message.IsBodyHtml = true;
    message.Body = sMessage;
    smtpClient.Send(message);
    return true;
    catch (Exception ex)
    return false;
    Please help me resolve this guys ... THANKS IN ADVANCE

    Thank you very much for your reply @Elvis Long,
    Sorry for the late reply
    Actually, i am not trying or executing this task  from my office , but i am trying this at my home :( .
    sEmailPort has value 587 sEmailServer has smtp.gmail.com
    Can you please check whether this C# coding is correct or not ? because finally it gives error saying "Script
    Task: The script returned a failure result" 
    so can you please check this with your system and let me know what is wrong with this code
    Thanks in advance  

  • Lightswitch build failing - The "LSSvcGeneratorsTask" task failed unexpectedly

    hi,
    I am trying to set up build pipeline for Ligtswitch 2013 project.
    I have installed  RIA service, silverlight SDK and  Installing Prerequisites with Web Platform Installer as mentioned at
    http://blogs.msdn.com/b/bethmassi/archive/2011/03/23/deployment-guide-how-to-configure-a-web-server-to-host-lightswitch-applications.aspx in the build machine
    While building application using Teamcity in build agent, getting following error
    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v4.0\Microsoft.LightSwitch.Build.Tasks.targets(217, 5): error MSB4018: The "LSResourceGeneratorsTask" task failed unexpectedly.
    System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
       at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
       at System.Reflection.RuntimeModule.GetTypes()
       at System.Reflection.Assembly.GetTypes()
       at Microsoft.LightSwitch.Manifest.Internal.FullManifestGenerator.AddPackageParts(Assembly assembly)
       at Microsoft.LightSwitch.Manifest.Internal.FullManifestGenerator.Generate(IEnumerable`1 assemblies)
       at Microsoft.LightSwitch.Manifest.Internal.ManifestService.GenerateFullManifests(IEnumerable`1 assemblies)
       at Microsoft.LightSwitch.Manifest.Internal.ManifestService.ProcessLoadedManifests(Boolean secure)
       at Microsoft.LightSwitch.Manifest.Internal.ManifestService.ProcessManifests()
       at Microsoft.LightSwitch.Manifest.Internal.ManifestService.CreateCatalog(String catalogName, IEnumerable`1 packageNames, Boolean returnNullIfEmpty)
       at Microsoft.LightSwitch.BuildTasks.Common.CommandLineBuildContainerFactory.Create(String cacheDirectorySubPath, VsExportProvisionScope scope, IEnumerable`1 inputStreams, IEnumerable`1 serviceStreams, String projectPath, IEnumerable`1 externalDataSources, TaskLoggingHelper log)
       at Microsoft.LightSwitch.BuildTasks.Common.BuildTaskBase.EnsureCommandLineBuildContainer()
       at Microsoft.LightSwitch.BuildTasks.CodeGen.LSGeneratorsTask.RunGeneratorsInNonIdeScenario()
       at Microsoft.LightSwitch.BuildTasks.CodeGen.LSGeneratorsTask.ExecuteCore()
       at Microsoft.LightSwitch.BuildTasks.CodeGen.LSResourceGeneratorsTask.ExecuteCore()
       at Microsoft.LightSwitch.BuildTasks.Common.BuildTask.Execute()
       at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
       at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()
    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v4.0\Microsoft.LightSwitch.Build.Tasks.targets(168, 5): error MSB4018: The "LSSvcGeneratorsTask" task failed unexpectedly.
    System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
       at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
       at System.Reflection.RuntimeModule.GetTypes()
       at System.Reflection.Assembly.GetTypes()
       at Microsoft.LightSwitch.Manifest.Internal.FullManifestGenerator.AddPackageParts(Assembly assembly)
       at Microsoft.LightSwitch.Manifest.Internal.FullManifestGenerator.Generate(IEnumerable`1 assemblies)
       at Microsoft.LightSwitch.Manifest.Internal.ManifestService.GenerateFullManifests(IEnumerable`1 assemblies)
       at Microsoft.LightSwitch.Manifest.Internal.ManifestService.ProcessLoadedManifests(Boolean secure)
       at Microsoft.LightSwitch.Manifest.Internal.ManifestService.ProcessManifests()
       at Microsoft.LightSwitch.Manifest.Internal.ManifestService.CreateCatalog(String catalogName, IEnumerable`1 packageNames, Boolean returnNullIfEmpty)
       at Microsoft.LightSwitch.BuildTasks.Common.CommandLineBuildContainerFactory.Create(String cacheDirectorySubPath, VsExportProvisionScope scope, IEnumerable`1 inputStreams, IEnumerable`1 serviceStreams, String projectPath, IEnumerable`1 externalDataSources, TaskLoggingHelper log)
       at Microsoft.LightSwitch.BuildTasks.Common.BuildTaskBase.EnsureCommandLineBuildContainer()
       at Microsoft.LightSwitch.BuildTasks.CodeGen.LSGeneratorsTask.RunGeneratorsInNonIdeScenario()
       at Microsoft.LightSwitch.BuildTasks.CodeGen.LSGeneratorsTask.ExecuteCore()
       at Microsoft.LightSwitch.BuildTasks.CodeGen.LSSvcGeneratorsTask.ExecuteCore()
       at Microsoft.LightSwitch.BuildTasks.Common.BuildTask.Execute()
       at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
       at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext() 
    can someone let me know what else do I need to install in build machine?

    HI,
    Welcome to Lightswitch forum.
    As you mentioned above, if you want to build and deploy your lightswitch application to IIS, first you need configure a Web Server to host LightSwitch applications. At the same time there are more hints for us to configure web server, and then configure
    the deployment procedure, for more resource:
    LightSwitch IIS Deployment Enhancements in Visual Studio 2012
    Please let me know if you have any concern.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • DAC ETL tasks failing with Error Code

    Here is a copy of just 1 of the tasks that fail. I did search for this and found reference to increasing DB Processes to 500 but that had no effect.
    I have tried to reduce the number of Maximum Sessions in Setup to but it had no effect.
    Some of the tasks completed. The remaining stay as Failed even after re-running ETL.
    Using Informatica 8.1.1 SP5 32bit
    Build: 7.9.5.1.011209.1448
    Release Version: Oracle Business Intelligence Applications 7.9.5.1
    Package: 011209.1448
    Oracle 32bit 10g client
    Windows Server 2003 R2 64bit
    Details:
    pmcmd startworkflow -u Administrator -p **** -s 10.1.11.69:4006 -f SDE_ORAR12_Adaptor -lpf D:\OracleBI\DAC\Informatica\parameters\SDE_ORAR12_Adaptor.SDE_ORA_Stage_ValueSetHier_Extract_Full.txt SDE_ORA_Stage_ValueSetHier_Extract_Full
    Status Desc : Failed
    WorkFlowMessage :
    =====================================
    STD OUTPUT
    =====================================
    Informatica(r) PMCMD, version [8.1.1 SP5], build [186.0822], Windows 32-bit
    Copyright (c) Informatica Corporation 1994 - 2008
    All Rights Reserved.
    Invoked at Thu Apr 15 14:39:18 2010
    Connected to Integration Service at [10.1.11.69:4006]
    Folder: [SDE_ORAR12_Adaptor]
    Workflow: [SDE_ORA_Stage_ValueSetHier_Extract_Full] version [1].
    Workflow run status: [Failed]
    Workflow run error code: [36331]
    Workflow run error message: [WARNING: Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] failed and its "fail parent if this task fails" setting is turned on. So, Workflow [SDE_ORA_Stage_ValueSetHier_Extract_Full] will be failed.]
    Start time: [Thu Apr 15 14:38:58 2010]
    End time: [Thu Apr 15 14:39:03 2010]
    Workflow log file: [d:\Informatica\PowerCenter8.1.1\server\infa_shared\WorkflowLogs\SDE_ORA_Stage_ValueSetHier_Extract_Full.log]
    Workflow run type: [User request]
    Run workflow as user: [Administrator]
    Integration Service: [PowerCenter_Integration_Service]
    Disconnecting from Integration Service
    Completed at Thu Apr 15 14:39:18 2010
    =====================================
    ERROR OUTPUT
    =====================================
    Error Message : Unknown reason for error code 36331
    ErrorCode : 36331
    Workflow Log.
    INFO : LM_36435 [Thu Apr 15 14:38:58 2010] : (4716|4956) Starting execution of workflow [SDE_ORA_Stage_ValueSetHier_Extract_Full] in folder [SDE_ORAR12_Adaptor] last saved by user [Administrator].
    INFO : LM_44195 [Thu Apr 15 14:38:58 2010] : (4716|4956) Workflow [SDE_ORA_Stage_ValueSetHier_Extract_Full] service level [SLPriority:5,SLDispatchWaitTime:1800].
    INFO : VAR_27085 [Thu Apr 15 14:38:58 2010] : (4716|4956) Parameter file [d:\Informatica\PowerCenter8.1.1\server\infa_shared\Temp\SDE_ORA_Stage_ValueSetHier_Extract_Full_a04956] is opened for [workflow [SDE_ORA_Stage_ValueSetHier_Extract_Full]].
    INFO : LM_36330 [Thu Apr 15 14:38:58 2010] : (4716|4956) Start task instance [Start]: Execution started.
    INFO : LM_36318 [Thu Apr 15 14:38:58 2010] : (4716|4956) Start task instance [Start]: Execution succeeded.
    INFO : LM_36505 : (4716|4956) Link [Start --> SDE_ORA_Stage_ValueSetHier_Extract_Full]: empty expression string, evaluated to TRUE.
    INFO : LM_36388 [Thu Apr 15 14:38:58 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] is waiting to be started.
    INFO : LM_36330 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full]: Execution started.
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6793 Fetching initialization properties from the Integration Service. : (Thu Apr 15 14:38:58 2010)]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [DISP_20305 The [Preparer] DTM with process id [7972] is running on node [node01_OBIEEDEV01].
    : (Thu Apr 15 14:38:58 2010)]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [PETL_24036 Beginning the prepare phase for the session.]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6721 Started [Connect to Repository].]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6722 Finished [Connect to Repository]. It took [0.234368] seconds.]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6794 Connected to repository [PowerCenter] in domain [Domain_OBIEEDEV01] user [Administrator]]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6721 Started [Fetch Session from Repository].]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6722 Finished [Fetch Session from Repository]. It took [0.234367] seconds.]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [VAR_27028 Use override value [DataWarehouse] for session parameter:[$DBConnection_OLAP].]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [VAR_27028 Use override value [ORA_R12] for session parameter:[$DBConnection_OLTP].]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [VAR_27028 Use override value [9] for mapping parameter:[$$DATASOURCE_NUM_ID].]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [VAR_27027 Use default value [] for mapping parameter:[mplt_BC_ORA_ValueSetHier.$$LAST_EXTRACT_DATE].]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6721 Started [Partition Group Formation].]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6722 Finished [Partition Group Formation]. It took [0.031249] seconds.]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [PETL_24037 Finished the prepare phase for the session.]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6792 Notifying the Integration Service that the prepare phase has been completed. : (Thu Apr 15 14:38:59 2010)]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6228 Writing session output to log file [d:\Informatica\PowerCenter8.1.1\server\infa_shared\SessLogs\SDE_ORAR12_Adaptor.SDE_ORA_Stage_ValueSetHier_Extract_Full.log].]
    INFO : LM_36682 [Thu Apr 15 14:38:59 2010] : (4716|4960) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full]: started a process with pid [7972] on node [node01_OBIEEDEV01].
    ERROR : LM_36320 [Thu Apr 15 14:39:03 2010] : (4716|4964) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full]: Execution failed.
    WARNING : LM_36331 : (4716|4964) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] failed and its "fail parent if this task fails" setting is turned on. So, Workflow [SDE_ORA_Stage_ValueSetHier_Extract_Full] will be failed.
    ERROR : LM_36320 [Thu Apr 15 14:39:03 2010] : (4716|4964) Workflow [SDE_ORA_Stage_ValueSetHier_Extract_Full]: Execution failed.
    Thanks

    Can you please post the session log?
    Thanks,
    Austin

  • Why do I get 'ResolveManifestFiles task failed' error when building a WPF app that references WinRT API?

    0
    down vote
    favorite
    I am working on a WPF app that I want to create for Windows 8. I followed steps mentioned in
    Hansleman's blog to make some manual modifications using WinRT functions in a WPF app. Everything worked well, until I tried to publish the app. When I clicked on publishing the app I got error "The 'ResolveManifestFiles' task failed unexpectedly.
    System.ArgumentException: Value does not fall within the expected range."
    Afterwards, it will produce the same error when attempting a simple solution build.
    Even if you create a simple WPF project and add the references mentioned in blog to access WinRT functions and publish, this issue can be reproduced.
    I think it would be common scenario to call WinRT functions from WPF and someone should have done it. Is anyone aware what should be done to fix this issue?

    I am having the same problems and came across this article while researching a workaround. 
    It is surprising more people aren’t talking about this.
    Here are the steps to reproduce the problem; Using Visual Studio Express 2012 (x64) create a new VB Windows Forms Application. 
    Unload the project and edit the [ProjName].vbproj in the solution explorer. 
    Add <TargetPlatformVersion>8.0</TargetPlatformVersion> to the <PropertyGroup>. 
    Save and reload the project.  In Add Resource/Reference Manager add the Windows.minmd found under Windows/Core. 
    This WinRT/Desktop solution will run as expected.  Now try to Publish this solution. 
    It will FAIL with the following ERROR; “The ResolveManifestFiles task failed unexpectedly, Value does not fall within the expected range.” 
    Attempting to build or run the solution again now will fail with the same Error. 
    The only way to build the project now is to remove the “Enable ClickOnce security settings” option under the project properties Security settings. 
    Occasionally using this trick, the solution will build but not run. 
    When that happens jiggle around with Debug/Release Solution Configurations and the Any CPU/x64 Solution Platforms then rebuild and try the run again. 
    This fussing around will get you through development however any attempt to publish with restore the ClickOnce security setting and create the previous Error.
    The first question here is how do you publish a WinRT app for the desktop with VS2012 Express. 
    Then secondly, if that is not possible can we publish this Express solution with a 3rd party deployment tool like InstallShield Limited Edition or the WIX Toolset. 
    Neither however seems functional in a VS Express environment. 
    Then thirdly, are there ways to access hardware sensor devices from a desktop solution without resorting to the WinRT API.
    Any ideas or new research directions would be greatly appreciated.

  • GPP Scheduled Task Fails in Group Policy Modeling depending on DC

    We have multiple domain controllers running at a 2003 functional level.
    We have 1 DC running Server 2003 x86 SP2 and the rest run Server 2008 (maybe R2)
    I created a GPO that includes a Scheduled Task Group Policy Preference under Computer Configuration.
    In order to test this I used Group Policy Modeling in the GPMC on a 2008 R2 Machine where I am editing Group Policy.
    If I run the modeling (perform the simulation on the 2003 DC it fails. (Note I am modeling the GPO for a different computer, not the 2003 SP2 DC, I am running the modeling for a Workstation)
    Information from the Component Status on the Summary Tab of the Modeling Report
    Component Name Status 
    Group Policy Infrastructure Success 
    EFS recovery Success (no data) 
    Group Policy Scheduled Tasks Failed 
    Group Policy Scheduled Tasks failed due to the error listed below and failed to log resultant set of policy information.
    Additional information may have been logged. Review the application event log on the domain controller on which the simulation was run for events between 2/28/2014 10:07:36 AM and 2/28/2014 10:07:36 AM. 
    Registry Success 
    Security Success 
    Info on the Settings Tab of the Modeling Report below.
    An error has occurred while collecting data for Scheduled Tasks.
    The following errors were encountered: 
    An unknown error occurred while data was gathered for this extension. Details: Invalid class  
    If I run the modeling using a 2008 DC to perform the simulation it works fine.
    Per the instructions on the Summary Tab regarding the scheduled task failure I look at the event log on the 2003 domain controller and this is what i find.
    The event I get on the 2003 DC is 8196 and I will place the details below.
    Event Type:   Error
    Event Source:           Group Policy Scheduled Tasks
    Event Category:        Disk
    Event ID:       8196
    Date:              2/27/2014
    Time:             4:48:47 PM
    User:              NT AUTHORITY\SYSTEM
    Computer:     <computername>
    Description:
    The client-side extension caught the unhandled exception '0xC0000005' inside: 'threadEntry : client main' See trace file for more details. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    So, should I be concerned that this is failing on the 2003 DC, does this mean that if my workstations authenticate to my 2003 DC that the preference will not process?
    I was reading that in 2003 client side extensions were not there and can be installed, would this make the modeling succeed?
    How do I get verified, I tried to post screenshots, but I could not. :(

    Hi Jonathan,
    As you have found the reason, I want to confirm whether the issue has been fixed.
    In fact, for Windows Server 2003 to apply or process Group Policy Preferences settings, we must install client-side extensions of GPP for Windows Server 2003.
    Although this is not related to this case, for your information, if our clients are Windows XP or Windows Vista, to use GPP, we must install client-side extensions for these
    workstations respectively.
    Regarding GPP, the following article can be referred to for more information.
    Group Policy Preferences Getting Started Guide
    http://technet.microsoft.com/en-us/library/cc731892(v=WS.10).aspx
    Best regards,
    Frank Shen

  • "ERROR_DESTINATION_INVALID: Web deployment task failed" when trying to deploy site

    I'm working on our CI process for auto-publishing WebJobs along with a host WebSite for said jobs. This isn't working, but that's not the point at the moment.
    The site in question is called devpandajobhost.azurewebsites.net and I have created (and deleted
    and recreated) and published to this site successfully many times, from both msbuild and VS.
    However, earlier today, my publish commands have started failing with 
    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.targets(4253, 5): error ERROR_DESTINATION_INVALID: Web deployment task failed. ( Could not connect to the remote computer ("devpandajobhost.scm.azurewebsites.net"). Make sure that the remote computer name is correct and that you are able to connect to that computer.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_INVALID.) 
    or (from vs)
    Error 4
    Web deployment task failed. ( Could not connect to the remote computer ("devpandajobhost.scm.azurewebsites.net"). Make sure that the remote computer name is correct and that you are able to connect to that computer.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_INVALID.)
    0 0
    JobHost
    It looks like the scm site for my site doesn't exist. I have tried deleting and recreating my site several times, through various different mechanisms (VS new project, portal, powershell). The site can be created but when I publish to it I get the error
    above.
    What is going on?
    PS my theory is that I deleted and recreated it and the Azure internal DNS server has got in a pickle

    it is not only internal Azure DNS but your DNS provider as well. Since DNS records are propagated and cached (and negative cached as well) you need to wait for some time for negative cache to expire.
    I see no good reason to go through the cycle of creating new site every time unless this is your scenario. If so you can delete the old one and create always sites with new name.
    Galin Iliev [MCSD.NET, MCPD], http://www.galcho.com

  • WSUS reinstall on 2012 SCCM server post-installation task fails to run/finish

    I had to re-install WSUS on a 2012 R2 SCCM server (Windows 2012), and am running into several issues re-installing. It may help to point out that the SCCM SQL server is remote, so this isn't a WSUS / SQL 2012 issue.
    The sticky post at the top of the WSUS forum has helpful troubleshooting information, and I have tried going through this as well as many other threads on this very topic of re-installing WSUS.
    1. Roles for WSUS and WID were removed successfully. The WSUS Website was manually deleted from IIS. As this is a SCCM server, removing the IIS role is not an option.
    2. I removed the existing WID database files for SUSDB
    3. After rebooting, I verified registry keys were gone, system files were cleaned up, and deleted the program files\update services directory
    4. This isn't a permission issue, as I have clearly installed this before on this server.
    5. Registry keys, system files, and susdb files no longer exist, and the server has rebooted cleanly.
    6. I am able to add the WSUS role selecting WID, and this installs WID without any errors. At this point, simply clicking the post installation task fails, generates an empty .tmp file in my %appdata%\temp folder, and exits the MMC. 
    7. This file is blank. Absolutely empty, so I couldn't really troubleshoot any post installation tasks.
    8. Further investigation shows that the 'C:\Program Files\Update Services\Tools\' directory is gone, and isn't being
    generated.
    9. Ok... DISM /online /Cleanup-Image /Scanhealth didn't return any issues, so I copied the wsusutil out of the windows\WinSxS directory.
    10. Yey! wsusutil postinstall runs, but bombs out on the IIS portion. It generated the DB without an issue, but results
    in an IIS generation error. So, I installed WSUS on a clean 2012 install, then copied over the program files\updateServices directory to reclaim the missing files. 
    The log files show --
    2013-12-06 10:30:34  Configuring IIS...
    2013-12-06 10:30:35  Start: ConfigureWebsite
    2013-12-06 10:30:36  Configuring website on port 8530
    2013-12-06 10:30:39  System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
       at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
       at Microsoft.UpdateServices.Administration.UseCustomWebSite.ExecuteIisCustomAction(String arguments)
       at Microsoft.UpdateServices.Administration.UseCustomWebSite.Install(Int32 portNumber)
       at Microsoft.UpdateServices.Administration.UseCustomWebSite.InstallAndConfigure(IisConfiguration& iisConfiguration, Int32 newPortNumber)
       at Microsoft.UpdateServices.Administration.PostInstall.ConfigureWebsite(Int32 portNumber)
       at Microsoft.UpdateServices.Administration.PostInstall.Run()
       at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
    ... ok - tripple checked that network service has permissions to .net and windows\temp folders.
    netstat -a doesn't show anything running on port 8530 ( in case this was some weird port check in use)
    Which goes back to the missing directory problem -- further net searches show that this is a reoccurring issue for some OOBE... sfc /verifyonly shows ... nothing.
    What is left to be done at this point? The missing folders from the program directory seems to be a problem for some with some users right out of the box. I have read many other threads where users just formatted and started over. Not exactly a solution
    - any help out there on this issue? Any suggestions to determine what file is missing, or generating the IIS issues?

    Part of the post install tasks wanted to download some items including the tools folder.
    Can you expand on this please. The WSUS post-install tasks do not download anything, except what is acquired during the initial synchronization with Microsoft.
    Because of my group policy the WSUS server was trying to download the updates from itself even though it was not setup yet.
    What update(s) was the WSUS server trying to "download"?
    In fact, if the WSUS Server was not setup yet (but you already had a GPO in place), then the first issue here was performing deployment steps out of order.
    But still.... except for the actual installation binaries for the WSUS Server Role on a WS2008SP2/WS2008R2 system, there's nothing the WSUS server needs to get from either Windows Update or a WSUS server. This scenario is actually discussed hundreds of times
    in this forum, but complicating matters, this thread isn't about installing WSUS V3.2 on a WS2008SP2/WS2008R2 system, it's about installing WSUS v65 on a WS2012 system, so I'm a bit confused as to what the actual installation environment is that we're discussing.
    I changed the WSUS server to get it's windows updates from Microsoft and then the post install task succeeded.
    I'd really like to get some more details about what exactly in the "post-install task" was dependent upon content from WU/WSUS.
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • How to resolve the "Builld error mxmlc task failed" in flex4 web application

    hi all,
    I am using flex 4 mxml web application wiht as3. when i deploying this project i am facing the folling error.
    Environment:
    Flex 3.5 SDK
    Flash builder 4 .                 APPLICATION NAME: BillProcess
    Ant compile tasks
    ============
        <property name="FLEX_HOME" value="C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\3.5.0/>
        <property name="JAVA_HOME" value="C:\Program Files\Java\jdk1.6.0_06"/>
        <property name="JRE_HOME" value="C:\Program Files\Java\jre1.6.0_06"/>
    ERROR:
    init:
    [ippprojectproperties] qbServer = workplace.intuit.com
       [delete] Deleting directory C:\Documents and Settings\TIVL\Adobe Flash Builder 4\BillProcess\Dev
        [mkdir] Created dir: C:\Documents and Settings\TIVL\Adobe Flash Builder 4\BillProcess\Dev
    checkForCustomBuild:
    custombuild:
    dependentProjects:
    compile:
    [ippflexbuild] Parsing: C:\Documents and Settings\TIVL\Adobe Flash Builder 4\BillProcess/.actionScriptProperties
    BUILD FAILED
    C:\Documents and Settings\TIVL\Adobe Flash Builder 4\BillProcess\ippbuild.xml:101: mxmlc task failed
    Total time: 16 seconds.
    HOW TO RESOLVE THIS.
    please share your useful suggession,
    cheers,
    B.venkatesan.

    hello,
    Check out this link http://www.kirupa.com/forum/showthread.php?309387-ant-mxmlc-task-don-t-compile-with-FlexSD K-4 this may solve your problem.
                         Gajanan Hiroji | [email protected] | www.isacglobal.com

  • Execute SQL Task Failing

    Hi there,
    I have this issue with my Execute SQL Task Failing. I am trying to execute a sp using an execute sql task. The execute statement is contained in a variable (exec [sp_name] par1, par2)  that I have declared at the package level. Now inside the exec sql
    tak, I am calling this variable. Now when I try to execute this task, it fails and I get the following:
    [Execute SQL Task] Error: Executing the query "EXEC CTL_ISRT_A 55,1" failed with the following error: "Could not find stored procedure 'CTL_ISRT_A'.". Possible failure reasons: Problems with the query, "ResultSet" property not
    set correctly, parameters not set correctly, or connection not established correctly.
    There is a stored procedure called "CTL_ISRT_A" in the db and I am able to execute it from SQL Server. This sp is inserting a new row in the table and it returns @@IDENTITY. 
    I tried setting the result set to a 'Single Row' and tried assigning the value to a variable but it didnt help. Could someone help me here?
    Thanks in advance

    return it as an output parameter 
    ie make sp like below
    ALTER PROCEDURE [devdba].[M_CTL_ISRT]
    @F_ID INT
    , @PR_IND BIT
    , @Debug bit = 0
    , @IDVal int = 0 OUTPUT
    AS
    BEGIN
    SET NOCOUNT ON
    DECLARE @ErrorMsg varchar(5000)
    DECLARE @USR_ID AS INT = 1;
    INSERT INTO TBL_D (F_ID, PR_IND, USR_ID,CRE_DT, LAST_MODD_USR_ID, LAST_MODD_DT)
    VALUES (@F_ID, @PR_IND, @USR_ID, GETDATE(), @USR_ID, GETDATE())
    SELECT @IDVal= @@IDENTITY
    END
    Then in execute sql task call it as 
    EXEC devdba].[M_CTL_ISRT] ?,?,0,? OUT
    then in parameter tab pass required variables and for last parameter make direction as Output and you'll get identify value stored in it.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • SSIS custom execute sql task : Failed with error

    I am developing a custom SSIS task for running sql task. But it fails with error - I'm trying to set the resultsetbinding to be used by next task in workflow.
    Error: 0xC0014054 at CustomSSISTask: Failed to lock variable "User::id" for read access with error 0xC0010001 "The variable cannot be found. This occurs when an attempt is made to retrieve a variable from the Variables collection on a container
    during execution of the package, and the variable is not there. The variable name may have changed or the variable is not being created.".
    Error: 0xC002F210 at CustomSSISTask, Execute SQL Task: Executing the query "SELECT id FROM sysobjects WHERE name = 'sysrowsets..." failed with the following error: "Failed to lock variable "User::id" for read access with error 0xC0010001
    "The variable cannot be found. This occurs when an attempt is made to retrieve a variable from the Variables collection on a container during execution of the package, and the variable is not there. The variable name may have changed or the variable is
    not being created.".
    ". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
    Warning: 0x80019002 at CustomSSISTask: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (3) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches
    the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
    Task failed: CustomSSISTask
    Here is the code sample I'm trying , 
            public override DTSExecResult Execute(Connections connections, VariableDispenser variableDispenser,
                                                  IDTSComponentEvents componentEvents, IDTSLogging log, object transaction)
                MessageBox.Show("testing:");
                try
                    // Add the SQL Task
                    Package package = new Package();
                    package.Executables.Add("STOCK:SQLTask");
                    Microsoft.SqlServer.Dts.Runtime.Variable variable = package.Variables.Add("id", false, "User", 0);
                     // Get the task host wrapper
                    TaskHost taskHost = package.Executables[0] as TaskHost;
                    // Get the task object
                    ExecuteSQLTask task = taskHost.InnerObject as ExecuteSQLTask;
                    // Set core properties
                    task.Connection = connections[0].Name;
                    task.SqlStatementSource = "SELECT id FROM sysobjects WHERE name = 'sysrowsets'";
                    //task.SqlStatementSource =
                    //    "SELECT PersonID from [AmalgaSpeedTableData].[SpeedTable].[DimPerson] where PersonIntID  = '1'";
                    task.SqlStatementSourceType = SqlStatementSourceType.DirectInput;
                    // Add result set binding, map the id column to variable
                    IDTSResultBinding resultBinding = task.ResultSetBindings.Add();
                    //IDTSResultBinding resultBinding = task.ResultSetBindings.GetBinding(0);
                    resultBinding.ResultName = "variable";
                    resultBinding.DtsVariableName = variable.QualifiedName; //"User::id";
                    task.Execute(connections, variableDispenser, componentEvents, log, transaction);
                catch (Exception ex)
                    throw new ArgumentException(ex.Message);
                return DTSExecResult.Success;
    It doesnt throw any exception but custom task fails.
    Later I will be also using parametersetbindings to pass some input parameters to this task , since I'm stuck for out param - blocked moving ahead.
    Any help would be greatly appreciated.
    Thanks
    Sang

    Hi, could you check whether the following threads help:
    http://stackoverflow.com/questions/5787621/ssis-package-failed-to-locak-variable-for-read-access-with-error-0xc0010001
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/40ee7eff-5ec1-426f-a1a8-ab85b40b51aa/error-variable-can-not-be-found-while-executing-package-from-the-net-code?forum=sqlintegrationservices
    Regards, Leo

  • ANT Tasks Fail with Flex 4.5 SDK

    Hi, I am trying to build the StrobeMediaPlayback project with the build.xml found in the trunk. I am using the ant -v to show you the output here:
    compile.unittest:
        [mkdir] Created dir: /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build/StrobeMediaPlaybackTest
        [mxmlc] Loading configuration file /Users/dave/Code/svn/StrobeMediaPlayback/trunk/player/StrobeMediaPlaybackTest/StrobeMedia PlaybackTest-build-config.xml
        [mxmlc] /Applications/Adobe Flash Builder 4/plugins/com.adobe.flexbuilder.flexunit_4.0.1.277662/flexunitframework/libs/version4libs /Common/flexunit_0.9.swc(mx.core:ScrollControlBase)
        [mxmlc]
        [mxmlc] Error: Declaration of style 'textDecoration' conflicts with previous declaration in /Developer/SDKs/flex_sdk_4/frameworks/libs/spark.swc(spark.components.supportClasses:Grou pBase).
        [mxmlc]
        [mxmlc] /Applications/Adobe Flash Builder 4/plugins/com.adobe.flexbuilder.flexunit_4.0.1.277662/flexunitframework/libs/version4libs /Common/flexunit_0.9.swc(mx.controls:Button)
        [mxmlc]
        [mxmlc] Error: Declaration of style 'textDecoration' conflicts with previous declaration in /Developer/SDKs/flex_sdk_4/frameworks/libs/spark.swc(spark.components.supportClasses:Grou pBase).
        [mxmlc]
      [antcall] Exiting /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml.
      [antcall] Exiting /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml.
    BUILD FAILED
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:45: The following error occurred while executing this line:
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:55: The following error occurred while executing this line:
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:100: The following error occurred while executing this line:
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:220: mxmlc task failed
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Caused by: /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:55: The following error occurred while executing this line:
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:100: The following error occurred while executing this line:
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:220: mxmlc task failed
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:3 8)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    ... 17 more
    Caused by: /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:100: The following error occurred while executing this line:
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:220: mxmlc task failed
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:397)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:3 8)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    ... 30 more
    Caused by: /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:220: mxmlc task failed
    at flex.ant.FlexTask.executeInProcess(Unknown Source)
    at flex.ant.FlexTask.execute(Unknown Source)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394)
    ... 42 more
    --- Nested Exception ---
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:55: The following error occurred while executing this line:
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:100: The following error occurred while executing this line:
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:220: mxmlc task failed
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:3 8)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Caused by: /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:100: The following error occurred while executing this line:
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:220: mxmlc task failed
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:397)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:3 8)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    ... 30 more
    Caused by: /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:220: mxmlc task failed
    at flex.ant.FlexTask.executeInProcess(Unknown Source)
    at flex.ant.FlexTask.execute(Unknown Source)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394)
    ... 42 more
    --- Nested Exception ---
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:100: The following error occurred while executing this line:
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:220: mxmlc task failed
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:397)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:3 8)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:3 8)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Caused by: /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:220: mxmlc task failed
    at flex.ant.FlexTask.executeInProcess(Unknown Source)
    at flex.ant.FlexTask.execute(Unknown Source)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394)
    ... 42 more
    --- Nested Exception ---
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:220: mxmlc task failed
    at flex.ant.FlexTask.executeInProcess(Unknown Source)
    at flex.ant.FlexTask.execute(Unknown Source)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:3 8)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:3 8)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Total time: 30 seconds
    dave$

    the flex tasks for 4.6 are pretty unreliable for me when deploying to networks

  • flexunit 4.1 B3 Ant task fails to run Air-based tests

    Folks,
    I am using FlexUnit4.1 Beta 3 and am seeing the <flexunit> Ant task fail when running tests that use the Air libraries. The project in question used to test just fine with version 4.0 earlier this year, but I just dusted it off after a branch change and tried re-running with 4.1and started seeing the failure.Here is the relevant console output:
    [com.djte.library:flexunit] Validating task attributes ...
    [com.djte.library:flexunit] Generating default values ...
    [com.djte.library:flexunit] Using default working dir [C:\EclipseWorkspace3.5\report.renderer_tests_2\Source\Flex]
    [com.djte.library:flexunit] Using the following settings for the test run:
    [com.djte.library:flexunit]     FLEX_HOME: [C:\iFABS_DE\dev\vert-d3flxcmn24\204100.32.0.20100926233508_d3flxcmn24]
    [com.djte.library:flexunit]     haltonfailure: [false]
    [com.djte.library:flexunit]     headless: [false]
    [com.djte.library:flexunit]     display: [99]
    [com.djte.library:flexunit]     localTrusted: [true]
    [com.djte.library:flexunit]     player: [air]
    [com.djte.library:flexunit]     port: [1024]
    [com.djte.library:flexunit]     swf: [C:\EclipseWorkspace3.5\report.renderer_tests_2\build\report.renderer.tests.unit.swf]
    [com.djte.library:flexunit]     timeout: [1800000ms]
    [com.djte.library:flexunit]     toDir: [C:\EclipseWorkspace3.5\report.renderer_tests_2\build\reports\xml]
    [com.djte.library:flexunit] Setting up server process ...
    [com.djte.library:flexunit] Starting server ...
    [com.djte.library:flexunit] OS: [Windows]
    [com.djte.library:flexunit] Opening server socket on port [1024].
    [com.djte.library:flexunit] Waiting for client connection ...
    [com.djte.library:flexunit] Launching player:
    [com.djte.library:flexunit] Found AIR version: 1.5
    BUILD FAILED
    C:\public\JavaTools\DJTE\latest\DjteLibrary\library.xml:57: The following error occurred while executing this line:
    : Error launching the test runner.
    The error message is not very specific... The last output seen before the failure is "Found AIR version: 1.5". This makes me wonder if the problem is related to how I have Air installed on my Windows XP machine. Come to think of it, I am not sure exactly how the host machine should be configured to run FlexUnit tests that require Air.  Do I really need Air to be installed?  I have Air 2.0.3.13070 installed, but the <flexunit> task thinks it found version 1.5 - hmmm...  I also have the debug Flash 10 player, and SWF appplications are configued to run using this player. Flex tests run fine, just not Air tests.  What am I missing?
    I see that 4.1 RC1 is now out, so I will grab that and give it a try.
    If anyone who tests air more often has any advice - I am all ears!
    Thanks,
    Trevor

    Thanks for your responses, Brian!
    Yes, I think I see the immediate problem.  The problem is that there is no Air runtime in our customized Flex SDK (based on 3.2), even though it appears to have the Air compile libraries. I had been attempting to use this custom SDK to run FlexUnit with, and I think that needs to change.
    Why was I doing this?
    Well, I had tripped over some problems with 4.1 earlier on when I attempted to run it without having FLEX_HOME set in the environment. So, now I have been setting FLEX_HOME programmatically in my code before calling the <flexunit> task. And I had figured that it would be a good idea to set FLEX_HOME to the same SDK that the tests had been built with, i.e. our customized one.  Now I am thinking that this is not necessary, since our end users will never have access to this SDK. I now think that I should be able to install a new stock Adobe Flex SDK on my CI server, install the Air runtime into it, and then use that location when I set FLEX_HOME.  Is that how others are doing it?  If anyone could validate this approach, I would be grateful.
    One question that arises in my mind now: How does the Air runtime get into the Flex SDK? I have installed the Air runtime using the installer from Adobe some time ago, so I am not quite sure what all that did.  I assume the  Air installer finds all the Flex SDKs on your machine and inserts the runtime in each location appropriately? Again, pardon my ignorance...
    I have just tried out the above idea, i.e. setting FLEX_HOME to a different SDK that has Air runtime, and the <flexunit> task worked when I ran it!  An Air window opened, the tests ran, and reports were generated. So, it would appear my problem is solved! Cool beans!
    Brian, you made some comments about another possible issue with the "custom app descriptor".  I am not sure if that applies to me or not.  How would I know whether or not we need that support?  Again, I know it would help if I was the developer who had actually written the Flex tests, but I am not...
    Anyway, I hope this thread helps other folks who are having similar issues.  I am going to reinstall a fresh Adobe SDK and the Air installer on a clean machine next, and see if the tests will run there.
    Before ending this thread, I do want to point out that the ant task might have need of improvement in the case in which the user attempts to run the air "player" but the Air runtime is not setup in the SDK. On Windows, the ant process simply hung at this point, apparently thinking that the launch of the player had been successful, but in reality, the message about the air runtime being not found had occurred. It might be nice if it exited gracefully with a warning message instead of hanging. Just a suggestion...
    Brian, as always, thanks again for your help with this issue.You guys are doing a great job with this project. Please keep it up!
    Thanks,
    Trevor

  • Task failed with unknow error

    Hi all,
    I made some changes in a mapping. I validated it and checked it in succesfully. When running the task in the dac, it gives me a unknow error. So i ran the workflow in the workflowmanager to see wich errors and warning he come up with. The mapping still fails. See the error log below.
    I have bold 5 lines wich i think are important.
    The first bold line is a little bit strange, cause a few rows below you see that he can find the parameters from the parameterfile
    Anyone have a clue why the task failed? Hope someone can help... tnx in advanced.
    Severity     Message
    INFO     Starting execution of workflow [SDE_ORA_ProjectCostLine] in folder [Custom_SDE] last saved by user [Edm].
    INFO     Workflow SDE_ORA_ProjectCostLine started with run id [135969], run instance name [], run type [Concurrent Run Disabled].
    INFO     Workflow [SDE_ORA_ProjectCostLine] service level [SLPriority:5,SLDispatchWaitTime:1800].
    INFO     Workflow started. Clients will be notified
    INFO     Start task instance [Start]: Execution started.
    INFO     Start task instance [Start]: Execution succeeded.
    INFO     Link [Start --> SDE_ORA_ProjectCostLine]: empty expression string, evaluated to TRUE.
    INFO     Session task instance [SDE_ORA_ProjectCostLine] is waiting to be started.
    INFO     Session task instance [SDE_ORA_ProjectCostLine]: started a process with pid [30721] on node [node_ontwikkel].
    INFO     Session task instance [SDE_ORA_ProjectCostLine]: Execution started.
    INFO     Parameter file [ora0/app/ipc860/server/infa_shared/SrcFiles/Custom_SDE.SDE_ORA_ProjectCostLine.txt] is opened for [session [SDE_ORA_ProjectCostLine.SDE_ORA_ProjectCostLine]].
    INFO     *Warning! Cannot find section for workflow [SDE_ORA_ProjectCostLine] and folder [Custom_SDE] in parameter file [ora0/app/ipc860/server/infa_shared/SrcFiles/Custom_SDE.SDE_ORA_ProjectCostLine.txt].*
    INFO     Session task instance [SDE_ORA_ProjectCostLine] : [TM_6793 Fetching initialization properties from the Integration Service. : (Wed Nov 17 11:49:58 2010)]
    INFO     Session task instance [SDE_ORA_ProjectCostLine] : [DISP_20305 The [Preparer] DTM with process id [30721] is running on node [node_ontwikkel].
    : (Wed Nov 17 11:49:58 2010)]     
    INFO     Session task instance [SDE_ORA_ProjectCostLine] : [PETL_24036 Beginning the prepare phase for the session.]
    INFO     Session task instance [SDE_ORA_ProjectCostLine] : [TM_6721 Started [Connect to Repository].]
    INFO     Session task instance [SDE_ORA_ProjectCostLine] : [TM_6722 Finished [Connect to Repository]. It took [0.214831] seconds.]
    INFO     Session task instance [SDE_ORA_ProjectCostLine] : [TM_6794 Connected to repository [ontwikkel_repo] in domain [ontwikkel] as user [Administrator] in security domain [Native].]
    INFO     Session task instance [SDE_ORA_ProjectCostLine] : [TM_6721 Started [Fetch Session from Repository].]
    INFO     Session task instance [SDE_ORA_ProjectCostLine] : [TM_6722 Finished [Fetch Session from Repository]. It took [0.084069] seconds.]
    INFO     Session task instance [SDE_ORA_ProjectCostLine] : [TM_6793 Fetching initialization properties from the Integration Service. : (Wed Nov 17 11:49:58 2010)]
    INFO     Session task instance [SDE_ORA_ProjectCostLine] : [VAR_27028 Use override value [DataWarehouse] for session parameter:[$DBConnection_OLAP].]
    INFO     Session task instance [SDE_ORA_ProjectCostLine] : [VAR_27028 Use override value [ORA_R12] for session parameter:[$DBConnection_OLTP].]
    INFO     Session task instance [SDE_ORA_ProjectCostLine] : [VAR_27028 Use override value [Custom_SDE.SDE_ORA_ProjectCostLine.log] for session parameter:[$PMSessionLogFile].]
    INFO     Session task instance [SDE_ORA_ProjectCostLine] : [VAR_27028 Use override value [9] for mapping parameter:[$$DATASOURCE_NUM_ID].]
    INFO     Session task instance [SDE_ORA_ProjectCostLine] : [VAR_27027 Use default value [0] for mapping parameter:[mplt_BC_ORA_ProjectCostLine.$$EBS_REQUEST_ID_1].]
    INFO     Session task instance [SDE_ORA_ProjectCostLine] : [VAR_27028 Use override value [] for mapping parameter:[mplt_BC_ORA_ProjectCostLine.$$HINT1].]
    INFO     Session task instance [SDE_ORA_ProjectCostLine] : [VAR_27028 Use override value [01/01/1970] for mapping parameter:[mplt_BC_ORA_ProjectCostLine.$$INITIAL_EXTRACT_DATE].]
    INFO     Session task instance [SDE_ORA_ProjectCostLine] : [VAR_27028 Use override value [06/26/2010] for mapping parameter:[mplt_BC_ORA_ProjectCostLine.$$LAST_EXTRACT_DATE].]
    INFO     Session task instance [SDE_ORA_ProjectCostLine] : [VAR_27028 Use override value [DEFAULT] for mapping parameter:[$$TENANT_ID].]
    INFO     Session task instance [SDE_ORA_ProjectCostLine] : [TM_6721 Started [Partition Group Formation].]
    INFO     Session task instance [SDE_ORA_ProjectCostLine] : [TM_6722 Finished [Partition Group Formation]. It took [0.01092] seconds.]
    INFO     Session task instance [SDE_ORA_ProjectCostLine] : [PETL_24037 Finished the prepare phase for the session.]
    INFO     Session task instance [SDE_ORA_ProjectCostLine] : [TM_6792 Notifying the Integration Service that the prepare phase has been completed. : (Wed Nov 17 11:49:58 2010)]
    INFO     Session task instance [SDE_ORA_ProjectCostLine] : [TM_6228 Writing session output to log file [/ora0/app/ipc860/server/infa_shared/SessLogs/Custom_SDE.SDE_ORA_ProjectCostLine.log].]
    *ERROR     Session task instance [SDE_ORA_ProjectCostLine]: Execution failed.*
    *WARNING     Session task instance [SDE_ORA_ProjectCostLine] failed and its "fail parent if this task fails" setting is turned on. So, Workflow [SDE_ORA_ProjectCostLine] will be failed.*
    *WARNING     Workflow [SDE_ORA_ProjectCostLine]: Unable to unlink temporary parameter file [] with error [2] [No such file or directory]*
    *ERROR     Workflow [SDE_ORA_ProjectCostLine]: Execution failed.*
    -----

    Tnx for helping all... you all think is must be something with the parameter file?? This was what i did...
    The parameter file was copied from the parameter files the dac has generated. This was from the folder: /ora0/app/dac1013/bifoundation/dac/informatica/parameters
    The original file name was: ORA_R12.DataWarehouse.Custom_SDE.SDE_ORA_ProjectCostLine.txt (<connection_source>.<Connection_taget>.<informaticafolder>.<workflowname>)
    I changed it to Custom_SDE.SDE_ORA_ProjectCostLine.txt (<informaticafolder>.<workflowname> )and copied it to the folder /ora0/app/ipc861/server/infa_shared/SrcFiles
    The file i'm using is posted below.
    [Custom_SDE.SDE_ORA_ProjectCostLine]
    $$ANALYSIS_END=01/01/2011 12:59:00
    $$ANALYSIS_END_WID=20110101
    $$ANALYSIS_START=12/31/1979 01:00:00
    $$ANALYSIS_START_WID=19791231
    $$COST_TIME_GRAIN=QUARTER
    $$CURRENT_DATE=08/18/2010
    $$CURRENT_DATE_IN_SQL_FORMAT=TO_DATE('2010-08-18', 'YYYY-MM-DD')
    $$CURRENT_DATE_WID=20100818
    $$DATASOURCE_NUM_ID=9
    $$DEFAULT_LOC_RATE_TYPE=Corporate
    $$DFLT_LANG=NL
    $$EBS_REQUEST_ID_1=0
    $$ETL_PROC_WID=21369196
    $$FILTER_BY_LEDGER_ID='Y'
    $$FILTER_BY_LEDGER_TYPE='N'
    $$GBL_CALENDAR_ID=EMC_kalender~21
    $$GBL_DATASOURCE_NUM_ID=9
    $$GLOBAL1_CURR_CODE=EUR
    $$GLOBAL1_RATE_TYPE=Corporate
    $$GLOBAL2_CURR_CODE=EUR
    $$GLOBAL2_RATE_TYPE=Corporate
    $$GLOBAL3_CURR_CODE=EUR
    $$GLOBAL3_RATE_TYPE=Corporate
    $$HEADCOUNT=In Dienst
    $$HI_DATE=TO_DATE('3714-01-01 00:00:00', 'YYYY-MM-DD HH24:MI:SS')
    $$HI_DT=01/01/3714 12:00:00
    $$HR_ABSNC_EXTRACT_DATE=TO_DATE('1980-01-01 08:19:00', 'YYYY-MM-DD HH24:MI:SS')
    $$HR_WRKFC_ADJ_SERVICE_DATE='N'
    $$HR_WRKFC_EXTRACT_DATE=01/01/1970
    $$HR_WRKFC_SNAPSHOT_DT=TO_DATE('2004-01-01 00:00:00', 'YYYY-MM-DD HH24:MI:SS')
    $$HR_WRKFC_SNAPSHOT_TO_WID=20100818
    $$Hint1=
    $$Hint_Tera_Post_Cast=
    $$Hint_Tera_Pre_Cast=
    $$INITIAL_EXTRACT_DATE=01/01/1970
    $$INVPROD_CAT_SET_ID=27
    $$INV_PROD_CAT_SET_ID10=
    $$INV_PROD_CAT_SET_ID1=27
    $$INV_PROD_CAT_SET_ID2=
    $$INV_PROD_CAT_SET_ID3=
    $$INV_PROD_CAT_SET_ID4=
    $$INV_PROD_CAT_SET_ID5=
    $$INV_PROD_CAT_SET_ID6=
    $$INV_PROD_CAT_SET_ID7=
    $$INV_PROD_CAT_SET_ID8=
    $$INV_PROD_CAT_SET_ID9=
    $$LANGUAGE_CODE=E
    $$LAST_EXTRACT_DATE=06/29/2010
    $$LAST_EXTRACT_DATE_IN_SQL_FORMAT=TO_DATE('2010-06-29 00:49:21', 'YYYY-MM-DD HH24:MI:SS')
    $$LAST_EXTRACT_DATE_WID=20100629
    $$LAST_TARGET_EXTRACT_DATE_IN_SQL_FORMAT=TO_DATE('2010-06-29 00:49:21', 'YYYY-MM-DD HH24:MI:SS')
    $$LEDGER_ID_LIST=2022
    $$LEDGER_TYPE_LIST='NONE'
    $$LOAD_DT=TO_DATE('2010-08-18 19:15:04', 'YYYY-MM-DD HH24:MI:SS')
    $$LOW_DATE=TO_DATE('1899-01-01 00:00:00', 'YYYY-MM-DD HH24:MI:SS')
    $$LOW_DT=01/01/1899 00:00:00
    $$MASTER_CODE_NOT_FOUND=
    $$ORA_HI_DATE=TO_DATE('4712-12-31 00:00:00', 'YYYY-MM-DD HH24:MI:SS')
    $$PROD_CAT_SET_ID10=
    $$PROD_CAT_SET_ID1=1100000061
    $$PROD_CAT_SET_ID2=1100000041
    $$PROD_CAT_SET_ID3=
    $$PROD_CAT_SET_ID4=
    $$PROD_CAT_SET_ID5=
    $$PROD_CAT_SET_ID6=
    $$PROD_CAT_SET_ID7=
    $$PROD_CAT_SET_ID8=
    $$PROD_CAT_SET_ID9=
    $$PROD_CAT_SET_ID=2
    $$SOURCE_CODE_NOT_SUPPLIED=
    $$TENANT_ID=DEFAULT
    $$WH_DATASOURCE_NUM_ID=999
    $DBConnection_OLAP=DataWarehouse
    $DBConnection_OLTP=ORA_R12
    $PMSessionLogFile=Custom_SDE.SDE_ORA_ProjectCostLine.log
    Edited by: user565199 on 22-nov-2010 3:50
    Edited by: user565199 on 22-nov-2010 3:51

Maybe you are looking for