Undefined Package in Microsoft J++ 6.0

There seems to be a fundamental idea I'm not grasping here. Again, I'm using Microsoft J++ 6.0 if it makes any difference. I am trying to get a very simple Swing program to work. The following line of code gives me an error:
import javax.swing.*;
The error is, "Undefined package 'javax' (J0051)"
I am just learning java after having programmed in C++. Please explain as though I am utterly stupid. Thank you.

microsoft j++ is using up to 1.1.7 (are not allowed to use anything later), while if I don't remember wrong swing is for 1.2 and onward. j++ is generally not a good idea to work with since many many packages are written for 1.2 or later.
Gil

Similar Messages

  • Missing package com.microsoft.jdbc.sqlserver.SQLServerDriver

    hi all!!
    I don't know what's happens, so I hope you can help me...
    I try to connect with a jsp-Application a ms sql server over jdbc.
    At microsoft.com, I found a jdbc-driver for the spezific sql server and I install it.
    So after that I tried different ways to connect the server but every time it fails...
    I seams, that the package com.microsoft.jdbc. etc were missing, because my ide doesen't highlight such one package...
    So what do you mean...
    Over odbc my application runs fine, but that's not the requirements...
    It should run with an direct connection to the server...
    thx
    ram430

    hi all!!
    I don't know what's happens, so I hope you can help
    me...
    I try to connect with a jsp-Application a ms sql
    server over jdbc.
    At microsoft.com, I found a jdbc-driver for the
    spezific sql server and I install it.
    So after that I tried different ways to connect the
    server but every time it fails...
    I seams, that the package com.microsoft.jdbc. etc
    were missing, because my ide doesen't highlight such
    one package...
    So what do you mean...
    Over odbc my application runs fine, but that's not
    the requirements...
    It should run with an direct connection to the
    server...
    thx
    ram430

  • Deploying the packages of microsoft critical update but members of collection is showing unknow client tab which comes in monitoring-- deployments status windows. until deadline to be completed. Nither provide any errors or completed status, progress sta

    Hi
    I have challaged for deployment of microsoft critical patches to client machine with the help of sccm. I have been done all configuration formalities, although previous months has been deployed successfully with any difficulties.
    But This month have some issue is being running, once i was deploying the packages of microsoft critical update but members of collection is showing unknow client tab which comes in monitoring--> deployments status windows. until deadline
    to be completed. Nither provide any errors or completed status, progress status.
    Please guide to resolve the issue,
    if you need more clarification, kindly let me know.
    Md Ehteshamuddin Khan
    Regards, Md Ehteshamuddin Khan All the opinions expressed here is mine. This posting is provided "AS IS" with no warranties or guarantees and confers no rights.

    Yes, I know this is an old post, but I’m trying to clean them up. Did you solve this problem, if so what was the solution?
    Take a look at the SU superflows, they will help you troubleshot this issue.
    http://technet.microsoft.com/en-us/library/ff385001.aspx
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • SSIS package "The Microsoft Jet database engine cannot open the file"

    Dear all,
    I am trying to import data from an excel spreadsheet which is save on application sharing server. When I try to save same file locally (On my desktop) my package has no problem to read it.  Problem comes when I change the file path to the share location
    I am getting below error message,
    "Version 11.0.2100.60 for 32-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  13:26:46  Error: 2014-12-05 13:26:50.30     Code: 0xC0202009     Source: Incremental MasterStyle DL
    Connection manager "Excel Connection Manager"     Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.  An OLE DB record is available.  Source: "Microsoft JET Database
    Engine"  Hresult: 0x80004005  Description: "The Microsoft Jet database engine cannot open the file ''.  It is already opened exclusively by another user, or you need permission to view its data.".  End Error  Error:
    2014-12-05 13:26:50.30     Code: 0xC020801C     Source: Data Flow Task 1 Excel Source [36]     Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection
    manager "Excel Connection Manager" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.  End Error  Error: 2014-12-05 13:26:50.30
        Code: 0xC0047017     Source: Data Flow Task 1 SSIS.Pipeline     Description: Excel Source failed validation and returned error code 0xC020801C.  End Error  Error: 2014-12-05 13:26:50.30     Code: 0xC004700C
        Source: Data Flow Task 1 SSIS.Pipeline     Description: One or more component failed validation.  End Error  Error: 2014-12-05 13:26:50.30     Code: 0xC0024107     Source: Data Flow Task 1    
     Description: There were errors during task validation.  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  13:26:46  Finished: 13:26:50  Elapsed:  3.401 seconds.  The package execution
    failed.  The step failed."
    I am trying to run this package as an sql server agent job and  server is installed on my Machine. I have created proxy account with my own credential to execute it. I have full excess to the spread sheet and can open it in an excel program. Please
    suggest what could be the reason why sql job is not able to access this spreadsheet. I can think of below reasons
    File is password protected and I am not using its password to unlock it?
    My domain account is a part of It Admin group with high previllages
    when I installed my SQL server I installed it as a standalone instance of SQL server?
    please advise.
    regards
    JKH

    Hi Jahangir,
    Based on the error message that "The Microsoft Jet database engine cannot open the file ''.  It is already opened exclusively by another user, or you need permission to view its data.", there are two causes:
    The account that SQL Agent is using does not have the correct permissions for the file or for the folder that contains the file.
    Another process or user has the file open.
    The following resolutions correspond to the previous list of causes:
    Since you use a network path to the file (UNC), check the account permissions on the share, the file, and the folder.
    The "another user" may be Microsoft Visual InterDev. Close any Visual InterDev projects that contain a data connection to the file. Please close all instances of excel file and re-run the package.
    Besides, we can use a tool like
    SQL Server Profiler to see what is happening when you run the package.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Error message (undefined package 'lang')

    I keep getting this message every time I try to compile my programs. Where can I get the 'lang' package?

    I understand that the java.lang package is automatically imported. Please tell me something I don't know. But the problem is that I don't have it at all, it can't even automatically import it because it isn't there to import. I'm using Microsoft's Visuall J++ and I've had this problem before but I can't remember how I fixed it. I think there is somewhere I can download the package but I'm not sure.

  • Unable to Open Script task in SSIS packages in Microsoft visual studio

    TITLE: Microsoft Visual Studio
    The task with the name "Map Network Drive" and the creation name "Microsoft.SqlServer.Dts.Tasks.ScriptTask.ScriptTask, Microsoft.SqlServer.ScriptTask, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" is not registered
    for use on this computer.
    Contact Information:
    Script Task
    BUTTONS:
    OK

    Hi Covaikumar,
    The issue may occur because the Script Task is not installed properly. Please check whether the Microsoft.SqlServer.ScriptTask.dll file exists in the following folders (supposing it is a 64-bit platform):
    C:\Program Files\Microsoft SQL Server\110\DTS\Tasks
    C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Tasks
    C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SqlServer.ScriptTask\v4.0_11.0.0.0__89845dcd8080cc91
    If the Microsoft.SqlServer.ScriptTask.dll file is missing in any of the folders, copy one (from the other folders or a different working SSIS server) to the folder. Alternatively, you can also use the command line tool gacutil.exe to install the task assembly
    into the global assembly cache (GAC).
    Regards,
    Mike Yin
    TechNet Community Support

  • API packages for Microsoft Project or Primavera

    Hi,
    I am working on a web project where one of the requirement is, when user completes and submits his project data, the data should be displayed in ms project or in Primavera format in a separate window. Can any body tell me is this feesible, if so do we have any java based API's for this.
    Please advice and thanks in advance
    Regards,
    Kiran Bachu

    we are in the analysis phase, currently i am doing fesable analysis. This is going to be a web application only. My requirement is, project task data such as task name, start date, end date, predecesor, resource name etc., will be available in a database and these data should be shown dynamically in .mpp format or in primavera format, the way we can create .pdf file dynamically. I would like to know whether this is possible or not,if possible how to procee..?
    Thanks again for your response and will be looking for your reply
    Regards,
    Kiran Bachu

  • Is it possible to use Microsoft's Java Packages in Forte4Java/JBuilder?

    Dear all,
    I am wondering whether it is possible to use those java packages installed by MS Visual J++ in Sun's Forte4Java or Borland's JBuilder? I found one of the java packages of Microsoft -- com.ms.com.* quite useful for calling ActiveX Components in java code and I have succeeded in calling my DLL COM under Visual J++ with the help of com.ms.com.Dispatch. But I have to use Forte4Java to write my Java program, therefore, it will be great if I can still use com.ms.com.* under Forte4Java. Is it possible? If so, how to do it? Please advise and thanks in advance...
    Tracy

    You can use any java package if you just add it to the classpath. In Forte this means adding it to the explorer pane, I am not sure about Builder.
    The problem will be when you try to run it. Any Microsoft class which uses some part of their runtime will require the Microsoft VM. If you have that, and are willing to be permenantly tied to it, then you will be in business.

  • Unable to run dtsx package locally when there is a sort task

    Hi all
    I have created a very simple package.
    It has a OLE DB Source, a Sort and a OLE DB Destination.
    When I run it in the Integration Designer in Visual Studio, it works fine.
    But when I like to execute the package in another C# Project, I get this error:
    "To run a SSIS package outside of SQL Server Data Tools you must install Sort of Integration Services or higher."
    When I remove the Sort Task, it works.
    Here is my C# code:
    MyEventListener eventListener = new MyEventListener();
    Microsoft.SqlServer.Dts.Runtime.Package _Package;
    Microsoft.SqlServer.Dts.Runtime.Application _Application;
    Microsoft.SqlServer.Dts.Runtime.DTSExecResult _DTSExecResult;
    _Application = new Microsoft.SqlServer.Dts.Runtime.Application();
    _Package = _Application.LoadPackage(@"...\Package.dtsx", eventListener, true);
    _DTSExecResult = _Package.Execute(null, null, eventListener, null, null);
    System.Windows.Forms.MessageBox.Show(_DTSExecResult.ToString());
    Thanks and best regards
    Frank

    Hi frank,
    Based on the error message, it seems that SSIS is not installed or a lower SSIS version installed on the server on which the C# project was running.
    To run the package outside SSDT, you need right version SSIS installed. The reason why the package runs fine with only Source and Destination components is that such a simple package can be executed by the DTExec utility installed by SQL Server 2012 Data base
    Engine or Client Tools (SQL Server Import and Export Wizard). To run a package that uses other tasks/components outside SSDT/BIDS, the SSIS runtime is also required except the DTExec utility. To obtain the SSIS runtime, we have to install SSIS on the server
    where the package runs.
    Reference:
    http://stackoverflow.com/questions/19989099/getting-error-running-ssis-package-on-non-ssis-server
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • Error while executing SSIS package - Error: 4014, Severity:20, State: 11. A fatal error occurred while reading the input stream from the network. The session will be terminated (input error: 109, output error: 0)

    Hi,
    We are getting the following error when running our SSIS packages on Microsoft SQL Server 2012 R2 on Windows Server 2008 R2 SP1:
    Error: 4014, Severity:20, State: 11.   A fatal error occurred while reading the input stream from the network. The session will be terminated (input error: 109, output error: 0)
    SQL Server Data Tools and SQL Server Database Engine reside on the same server.
    We tried the following:
    Disabling TCP Chimney Offload
    Installed Windows Server 2008 SP1
    Splitting our SSIS code into multiple steps so it is not all one large continuous operation
    The error occurs during a BulkDataLoad task.
    Other options we are investigating with the engineering team (out-sourced, so delayed responses):
    Firewall configurations (everything is local, so this should not make a difference)
    Disabling the anti-virus scanner
    Are there other things we can try?
    Any insight is greatly appreciated.
    Thanks!

    Hi HenryKwan,
    Based on the current information, the issue can be caused by many reasons. Please refer to the following tips:
    Install the latest hotfix based on your SQL Server version. Ps: there is no SQL Server 2012 R2 version.
    Change the MaxConcurrentExecutables property from -1 to another one based on the MAXDOP. For example, 8.
    Set "RetainSameConnection" Property to FALSE on the all the connection managers.
    Reference:
    https://connect.microsoft.com/SQLServer/feedback/details/774370/ssis-packages-abort-with-unexpected-termination-message
    If the issue is still existed, as Jakub suggested, please provide us more information about this issue.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Are there any 3rd party tools which provide Microsoft Azure IaaS diagnostics?

    Are there any 3rd party tools currently, which can be used for giving detailed diagnostics Information about the IaaS environment (like on VM's, Virtual Network etc.) in a detailed report format periodically? Please note that I am looking for any such tools
    around IaaS environment diagnostics here, and not about Application diagnostics.

    Hi Bahree,
    Microsoft does not suggest  a specific third-party product. However, we do use them, and see lots of other customers use them.
    Paraleap: Monitoring tool - http://www.paraleap.com/AzureWatch , You may browse to these site and few others to learn more, and chat with their folks directly on how they support Windows Azure.
    I see that Microsoft has published a self-help diagnostic package for running Windows-based virtual machines (VMs) in Azure IaaS and this this diagnostic package does not require opening a Support Request with
    Microsoft
    This package helps to diagnose and resolve common issues on running Windows-based VMs in Azure IaaS
    We may download the diagnostic package from Microsoft's Support Diagnostics Self-Help Portal:
    https://home.diagnostics.support.microsoft.com/SelfHelp?knowledgebaseArticleFilter=2976864
    You might want to see
    Microsoft Azure Virtual Machine Monitoring with Azure Diagnostics Extension
    Regards,
    Shirisha Paderu

  • Component has not input columns and/or input columns have invalid id when creating package programmatically

    I am developing an ETL tool which has to create SSIS packages dynamically (and later execute them without being edited in Data Tools). One of my proto type scenarios is a simple data flow from a flat file to a flat file - without anything in between.
    However there is a problem with the columns of the flat file destination - it says it doesn't have any.
    Saving the package to XML and opening the destination component in the advanced editor (tab "Input and Output Properties") really shows that are no input columns defined. One click on the tab "Column Mappings" however solves the
    problem. The columns and the mapping are generated, the package can run.
    I already tried to place "ReinitializeMetaData()" calls nearly anywhere in the code, for both components, unfortunately without success:
    destinationComponentWrapper.AcquireConnections(null);
    destinationComponentWrapper.ReinitializeMetaData();
    destinationComponentWrapper.ReleaseConnections();
    The actual error during validation is (When the line for column mapping in the code below is commented out):
    "0xC020201B - The number of input columns for Flat File Destination.Inputs[Flat File Destination Inputs] cannot be zero"
    I am also trying to insert a column mapping - this leads to a com error: 0xC020201B
    In this case I am wondering why Data Tools tell me that there are no input columns yet I can iterate over them - they just don't have a valid ID (0x8000004B / -2147483573) which is then causing the 0xC020201B.
    See also "PROBLEM HERE" marker in the code below.
    How can I make the destination component recognize the columns programmatically, as when I click on the "Column Mappings" tab of the advanced editor of the component in Data Tools?
    Here is the complete proto type code:
    using Microsoft.SqlServer.Dts.Pipeline.Wrapper;
    using Microsoft.SqlServer.Dts.Runtime;
    using Microsoft.SqlServer.Dts.Runtime.Wrapper;
    using System;
    using System.IO;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using Dts = Microsoft.SqlServer.Dts;
    namespace msdatapipe
    class Program
    static void Main(string[] args)
    Dts.Runtime.Application application = new Dts.Runtime.Application();
    Dts.Runtime.Package package = new Dts.Runtime.Package();
    package.Name = "Data Commander DTS Package";
    // ADD PIPELINE TASK
    Dts.Runtime.Executable pipelineExecutable = package.Executables.Add("STOCK:PipelineTask");
    Dts.Runtime.TaskHost pipelineTaskHost = (Dts.Runtime.TaskHost)pipelineExecutable;
    pipelineTaskHost.Name = "Data Commander Pipeline Task";
    Dts.Pipeline.Wrapper.MainPipe pipelineTask = (Dts.Pipeline.Wrapper.MainPipe) pipelineTaskHost.InnerObject;
    // ADD SOURCE COMPONENT TO THE PIPELINE TASK
    String sourceFilePath = "C:\\cmi\\tmp\\data.csv";
    Dts.Runtime.ConnectionManager sourceConnectionManager = package.Connections.Add("FLATFILE");
    sourceConnectionManager.ConnectionString = sourceFilePath;
    sourceConnectionManager.Name = "Source Connection";
    sourceConnectionManager.Description = "Source Connection Manager";
    sourceConnectionManager.Properties["ColumnNamesInFirstDataRow"].SetValue(sourceConnectionManager, "True");
    sourceConnectionManager.Properties["Format"].SetValue(sourceConnectionManager, "Delimited");
    sourceConnectionManager.Properties["TextQualifier"].SetValue(sourceConnectionManager, "\"");
    sourceConnectionManager.Properties["CodePage"].SetValue(sourceConnectionManager, "65001");
    sourceConnectionManager.DelayValidation = false;
    // START --- MANUALLY READ COLUMNS FROM TEXT FILE AND ADD TO SOURCE CONNECTION MANAGER COLUMNS
    IDTSConnectionManagerFlatFile100 sourceConnectionInterface = sourceConnectionManager.InnerObject as IDTSConnectionManagerFlatFile100;
    using (StreamReader reader = new StreamReader(sourceFilePath))
    String firstSourceFileLine = reader.ReadLine();
    String[] columnNames = firstSourceFileLine.Split(',');
    for (int i = 0; i < columnNames.Length; ++i)
    columnNames[i] = columnNames[i].Substring(1, columnNames[i].Length - 2);
    IDTSConnectionManagerFlatFileColumns100 sourceColumns = sourceConnectionManager.Properties["Columns"].GetValue(sourceConnectionInterface) as IDTSConnectionManagerFlatFileColumns100;
    IDTSConnectionManagerFlatFileColumn100 column = null;
    foreach (String columnName in columnNames)
    column = sourceColumns.Add();
    column.DataType = DataType.DT_TEXT;
    column.ColumnDelimiter = ",";
    column.TextQualified = true;
    (column as IDTSName100).Name = columnName;
    Console.WriteLine(columnName);
    column.ColumnDelimiter = "\r\n";
    // END --- MANUALLY READ COLUMNS FROM TEXT FILE AND ADD TO SOURCE CONNECTION MANAGER COLUMNS
    sourceConnectionInterface.RowDelimiter = "\r\n";
    Dts.Pipeline.Wrapper.IDTSComponentMetaData100 sourceComponent = pipelineTask.ComponentMetaDataCollection.New();
    sourceComponent.Name = "Flat File Source";
    sourceComponent.ComponentClassID = "DTSAdapter.FlatFileSource";
    sourceComponent.ValidateExternalMetadata = true;
    CManagedComponentWrapper sourceComponentWrapper = sourceComponent.Instantiate();
    sourceComponentWrapper.ProvideComponentProperties();
    // LINK CONNECTION TO THE SOURCE COMPONENT
    sourceComponent.RuntimeConnectionCollection[0].ConnectionManager = Dts.Runtime.DtsConvert.GetExtendedInterface(sourceConnectionManager);
    sourceComponent.RuntimeConnectionCollection[0].ConnectionManagerID = sourceConnectionManager.ID;
    // Connect to the data source, and then update the metadata for the source.
    //sourceComponentWrapper.Validate();
    //sourceComponentWrapper.ProvideComponentProperties();
    sourceComponentWrapper.AcquireConnections(null);
    sourceComponentWrapper.ReinitializeMetaData();
    sourceComponentWrapper.ReleaseConnections();
    // ADD DESTINATION CONNECTION MANAGER
    Dts.Runtime.ConnectionManager destinationConnectionManager = package.Connections.Add("FLATFILE");
    destinationConnectionManager.ConnectionString = "C:\\cmi\\tmp\\data_out.csv";
    destinationConnectionManager.Name = "DatComConOut";
    destinationConnectionManager.Description = "Data Commander Connection Manager";
    destinationConnectionManager.DelayValidation = false;
    destinationConnectionManager.Properties["Format"].SetValue(destinationConnectionManager, "Delimited");
    destinationConnectionManager.Properties["TextQualifier"].SetValue(destinationConnectionManager, "\"");
    destinationConnectionManager.Properties["CodePage"].SetValue(destinationConnectionManager, "65001");
    // ADD DESTINATION COMPONENT
    Dts.Pipeline.Wrapper.IDTSComponentMetaData100 destinationComponent = pipelineTask.ComponentMetaDataCollection.New();
    destinationComponent.Name = "Flat File Destination";
    destinationComponent.ComponentClassID = "DTSAdapter.FlatFileDestination";
    destinationComponent.ValidateExternalMetadata = true;
    CManagedComponentWrapper destinationComponentWrapper = destinationComponent.Instantiate();
    destinationComponentWrapper.ProvideComponentProperties();
    destinationComponent.RuntimeConnectionCollection[0].ConnectionManager = Dts.Runtime.DtsConvert.GetExtendedInterface(destinationConnectionManager);
    destinationComponent.RuntimeConnectionCollection[0].ConnectionManagerID = destinationConnectionManager.ID;
    // CREATE PATH
    Dts.Pipeline.Wrapper.IDTSPath100 pipelinePath = pipelineTask.PathCollection.New();
    pipelinePath.AttachPathAndPropagateNotifications(sourceComponent.OutputCollection[0], destinationComponent.InputCollection[0]);
    // DESTION CONNECTION MANAGER COLUMNS
    IDTSConnectionManagerFlatFile100 destinationConnectionInterface = destinationConnectionManager.InnerObject as IDTSConnectionManagerFlatFile100;
    IDTSConnectionManagerFlatFileColumns100 destinationColumns = destinationConnectionManager.Properties["Columns"].GetValue(destinationConnectionManager) as IDTSConnectionManagerFlatFileColumns100;
    // START --- MANUALLY READ COLUMNS FROM DESTINATION COMPONENT AND ADD THEM TO DESTIONATION CONNECTION MANAGER COLUMNS
    foreach (IDTSInput100 input in destinationComponent.InputCollection)
    IDTSVirtualInput100 virtualInput = input.GetVirtualInput();
    IDTSConnectionManagerFlatFileColumn100 column = null;
    foreach (IDTSVirtualInputColumn100 virtualInputColumn in virtualInput.VirtualInputColumnCollection)
    column = destinationColumns.Add();
    column.DataType = DataType.DT_TEXT;
    column.ColumnDelimiter = ",";
    column.TextQualified = true;
    (column as IDTSName100).Name = virtualInputColumn.Name;
    column.ColumnDelimiter = "\r\n";
    // END --- MANUALLY READ COLUMNS FROM DESTINATION COMPONENT AND ADD THEM TO DESTIONATION CONNECTION MANAGER COLUMNS
    // NEED TO CREATE NEW META DATA AFTER COLUMNS
    destinationComponentWrapper.AcquireConnections(null);
    destinationComponentWrapper.ReinitializeMetaData();
    destinationComponentWrapper.ReleaseConnections();
    // MAP INPUT COLUMNS
    foreach (IDTSInput100 input in destinationComponent.InputCollection)
    IDTSVirtualInput100 virtualInput = input.GetVirtualInput();
    foreach (IDTSVirtualInputColumn100 virtualInputColumn in virtualInput.VirtualInputColumnCollection)
    Console.WriteLine("VIC " + virtualInputColumn.Name + "(" + virtualInputColumn.ID + ")");
    destinationComponentWrapper.SetUsageType(input.ID, virtualInput, virtualInputColumn.LineageID, DTSUsageType.UT_READONLY);
    foreach (IDTSExternalMetadataColumn100 metadataColumn in input.ExternalMetadataColumnCollection)
    if (virtualInputColumn.Name.Equals(metadataColumn.Name)) {
    // PROBLEM HERE:
    // An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in msdatapipe.exe
    // Additional information: Exception HRESULT: 0xC0047072
    // at this point is virtualInputColumn.ID = -2147483573
    destinationComponentWrapper.MapInputColumn(input.ID, virtualInputColumn.ID, metadataColumn.ID);
    // if the code is commented out and the program rerun there is a package validation error instead: 0xC020201B
    // 0xC020201B - The number of input columns for Flat File Destination.Inputs[Flat File Destination Inputs] cannot be zero
    // NEED TO CREATE META DATA AFTER COLUMNS HAVE BEEN ADDED TO THE DESTIONATION MANAGER
    // AND USAGE TYPE HAS BEEN SET OR WE'LL GET A VS_NEEDSNEWMETADATA
    destinationComponentWrapper.AcquireConnections(null);
    destinationComponentWrapper.ReinitializeMetaData();
    destinationComponentWrapper.ReleaseConnections();
    // SAVING DTSX PACKAGE FOR DEBUGGING
    application.SaveToXml("C:\\Users\\CMI\\documents\\visual studio 2010\\Projects\\SSIS Tutorial\\SSIS Tutorial\\generated.dtsx", package, null);
    Microsoft.SqlServer.Dts.Runtime.DTSExecResult packageResults = package.Execute();
    Console.WriteLine("package execution result: " + packageResults.ToString());
    // Basic check for errors
    foreach (DtsError error in package.Errors)
    Console.WriteLine("ErrorCode : 0x{0:X}", error.ErrorCode);
    Console.WriteLine(" SubComponent : {0}", error.SubComponent);
    Console.WriteLine(" Description : {0}", error.Description);
    Console.WriteLine("press the return key hard to continue...");
    Console.Read();

    I suggest you revise your code against examples given in http://blogs.msdn.com/b/mattm/archive/2008/12/30/samples-for-creating-ssis-packages-programmatically.aspx
    Arthur My Blog

  • Netinstall package installation fails

    I've been struggling with Netinstall and Netrestore for a few days, and I'm hoping someone can tell me what I'm doing wrong.
    I'm trying to use a customized NetInstall image to install Snow Leopard and some additional software on client machines. The OS installs successfully, but it fails while installing one of the additional packages.
    Here's my image creation workflow from Automator:
    1) Define image source (Snow Leopard retail DVD)
    2) Add Packages and Post-Install Scripts: Includes packages for Audacity (made with Package Maker), Microsoft Remote Desktop and Microsoft Office 2008
    3) Customize Package Selection: Using primarily to have the image skip the non-English language translations.
    4) Apply System Configuration Settings: Used to connect the computer to Active Directory, generate a unique computer name and change ByHost preferences. The installation doesn't seem to get to this point.
    5) Create Image
    Automator says the workflow completed, and it does boot successfully from my 10.6.2 server.
    The hangup seems to be happening when it installs Audacity. The only thing the install package does is put a folder in /Applications with a small number of files in it. The folder and files are created, but nothing after that point runs.
    I saved the installation log, and I noticed something in the last few lines that seems to indicate that the Audacity package is the problem. Is there anything I can do that will make it continue beyond this point?
    Here are the last few lines of the installation log:
    Feb 24 06:24:35 localhost OSInstaller[150]: PackageKit: ----- Begin install -----
    Feb 24 06:24:35 localhost OSInstaller[150]: PackageKit: request=PKInstallRequest <1 packages, destination=/Volumes/Test>
    *Feb 24 06:24:35 localhost OSInstaller[150]: PackageKit: packages=(\n "PKJaguarPackage <file://localhost/System/Installation/Packages/Audacity.pkg>"\n)*
    *Feb 24 06:24:36 localhost OSInstaller[150]: Failed to open resource at path (null)*
    Feb 24 06:24:36 localhost OSInstaller[150]: Allowing machine sleep.
    Feb 24 06:24:36 localhost OSInstaller[150]: Memory statistics for 'Install Succeeded' pane:
    Feb 24 06:24:36 localhost OSInstaller[150]: Physical Memory Allocation: 178 MB wired, 4 MB trapped, 882 MB active, 14 MB inactive, 458 MB free, 1354 MB usable, 1536 MB total
    Feb 24 06:24:38 localhost OSInstaller[150]: PackageKit: Extracting /System/Installation/Packages/Audacity.pkg/Contents/Archive.pax.gz (destination=/Volumes/Test/Install.150qAiaGH/PKInstallSandbox-tmp/Root, uid=0)
    Feb 24 06:24:40 localhost OSInstaller[150]: PackageKit: Shoving /Volumes/Test/Install.150qAiaGH/PKInstallSandbox-tmp/Root (1 items) to /Volumes/Test
    Feb 24 06:24:40 localhost OSInstaller[150]: PackageKit: Registered bundle file://localhost/Volumes/Test/Applications/Audacity/Audacity.app/
    Feb 24 06:24:40 localhost OSInstaller[150]: Installed "Mac OS X" ()
    Feb 24 06:24:40 localhost OSInstaller[150]: PackageKit: ----- End install -----
    Feb 24 06:24:41 localhost OSInstaller[150]: Removing temporary directory "/Volumes/Test/Install.150qAiaGH"
    Feb 24 06:24:41 localhost OSInstaller[150]: Finalize disk "Test"
    Feb 24 06:24:41 localhost OSInstaller[150]: Notifying system of updated components
    Feb 24 06:25:13 localhost Unknown[91]: 2010-02-24 06:25 Mac OS X Installer[150] (CarbonCore.framework) FSEventStreamStart: ERROR: FSEvents_connect() => Unknown service name (1102)

    Yes, that's a tough one to get around. If you don't mind hacking SIU a little the best fix is to edit the script:
    /Applications/Server/System\ Image\ Utility.app/Contents/Library/Automator/Create\ Image.action/Contents/Resources/createNetRestore.sh
    and change the line that reads:
    /usr/bin/hdiutil create "$destPath/System" -srcfolder "${sourceVol}" -uid 0 -gid 80 -mode 1775 -ov -puppetstrings || exit 1
    to:
    /usr/bin/hdiutil create "$destPath/System" -srcfolder "${sourceVol}" -fsargs "-c a=16384,c=8192,e=1280" -uid 0 -gid 80 -mode 1775 -ov -puppetstrings || exit 1
    i.e. add '-fsargs "-c a=16384,c=8192,e=1280"' before the -uid

  • Troubleshooting packages with PCM after migration

    In my lab i've migrated to cm 2012 and installed PCM, however the majority of my packages have a readiness state of
    "the directory name is invalid" The source files are .exe's. SCCM 2012 RC with PCM SP1
    from the PCMTrace.log
    Microsoft.ConfigurationManagement.exe Information: 0 : 16/11/2013 14:58:30 Rule Decision for package: LAB00019 / VLC Player by rule Is Soft Dist Package is Correct package type
    Microsoft.ConfigurationManagement.exe Information: 0 : 16/11/2013 14:58:30 Rule Decision for package: LAB00019 / VLC Player by rule HasContentPath is Content Source Path Found
    Microsoft.ConfigurationManagement.exe Information: 0 : 16/11/2013 14:58:30 Rule Decision for package: LAB00019 / VLC Player by rule HasPrograms is Package contains valid programs.
    Microsoft.ConfigurationManagement.exe Information: 0 : 16/11/2013 14:58:30 Rule Decision for program Silent VLC Install from package LAB00019 by rule ProgramType is Progam is an Exe/Other install 
    Full Description Package LAB00019:Silent VLC Install is an install for an Exe/Other program.
    Microsoft.ConfigurationManagement.exe Error: 0 : 16/11/2013 14:58:30 Rule Decision for package: LAB00019 / VLC Player by rule Error converting package is The directory name is invalid.
    any advice, much appreciated

    typo, using CM12 SP1. The MSI's have a readiness of "Manual" which is fine, i've fixed those its just the .exe's that have a readiness state of "The directory name is invalid"
    as a test i moved the source files of one of the apps to a local share then changed the data source to the new location and re-ran PCM - same thing. Have you come across this? I've not seen many issues documented in my "Google-ling"

  • Plugin Microsoft.Windows.Azure.Extensions.RDP 1.0.0.1 injection failed. Installation exit code: -1

    Hi everybody,
    I've tried to deploy my application into the Azure Worker role but could not get it done successfully. I hope somebody can help me.
    After the error, I can see the error "Plugin Microsoft.Windows.Azure.Extensions.RDP 1.0.0.1 injection failed. Installation exit code: -1" in my Windows Azure Portal.
    If I do RDP, I can see the error message in details Install command for plugin Microsoft.Windows.Azure.Extensions.RDP 1.0.0.1 program D:\Packages\Plugins\Microsoft.Windows.Azure.Extensions.RDP\1.0.0.1\RemoteAccessPluginLauncher.exe exited with non-zero exit
    code -1. . MessageId = 3004 SymbolicName = EVENT_PLUGIN_INSTALL_EXITED_WITH_SUCCESS Severity = Success Language = English Install command for plugin Microsoft.Windows.Azure.Extensions.RDP 1.0.0.1 program D:\Packages\Plugins\Microsoft.Windows.Azure.Extensions.RDP\1.0.0.1\RemoteAccessPluginLauncher.exe
    exited with zero exit code -1. . MessageId = 3005 SymbolicName = EVENT_PLUGIN_INSTALL_STARTED Severity = Success Language = English Executing install command for plugin Microsoft.Windows.Azure.Extensions.RDP 1.0.0.1 program D:\Packages\Plugins\Microsoft.Windows.Azure.Extensions.RDP\1.0.0.1\RemoteAccessPluginLauncher.exe.
    Do anybody know what happens?
    FYI. I see Windows Azure Remote Forwarder Plugin was installed successfully.
    MSI (s) (00:00) [18:32:58:311]: Product: Windows Azure Remote Forwarder Plugin -- Configuration completed successfully.
    MSI (s) (00:00) [18:32:58:311]: Windows Installer reconfigured the product. Product Name: Windows Azure Remote Forwarder Plugin. Product Version: 1.8.40316.1333. Product Language: 1033. Manufacturer: Microsoft Corporation. Reconfiguration success or error status:
    0.
    === Logging stopped: 6/24/2014  18:32:58 ===
    Thanks,

    You can try it later. I had this issue long ago and waited one day.
    You also try those two solution:
    1.redeploy your project to worker role and enable the RDP setting (see this blog
    2.recklessly, you could delete your worker role and redeploy it. The error will be disappeared.
    Regards,
    -Billgiee

Maybe you are looking for