ODBC source, do I have to set up DSN? If so how do I deploy File or Machine DSN?

I have a Datasource that uses a ODBC connection Manager. On my Dev machine, I set up a User DSN, by going into my control panel, etc.  I see you can also build it in the datasource, but it still saves it as a File or Machine Data Source.
This is a pain in the butt.  With OLEDB everything is in the connection string.  I don't have to set up DSN.
When I deploy my package, will I have to go to the extra steps of setting up a DSN on the machine (or a DSN file on the machine) that host the SQL Server I am deploying to.   This means I will have to go through a whole level of bureaucracy and
red tape to get this done cause that server is locked down.
This kinda sucks, especially cause I heard OLE DB is going away and ODBC is the new standard.
Please help, if you know how I can set up ODBC without DSN.  One that works when I deploy without all the extra steps?
Thanks,
Mike

Hi Mike,
Just as Hsbal said, we can use a connection string for ODBC, so that we don’t have to pre-create the DSN on the systems that will be running the SSIS package.
Please note that most of the Source can use a connection string without DSN. Please use the correct connection string based on the source. For more details, please refer to the following document:
http://www.mattmasson.com/2013/11/using-hive-odbc-from-ssis/
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • I have just set up my Apple TV, how do I set it to show my screen on my TV

    I have just set up my Apple TV, how do I set it to show my screen on my TV

    Welcome to the Apple Community.
    AirPlay Mirroring requires a second-generation Apple TV or later, OS X 10.8 or better and is supported on the following Mac models: iMac (Mid 2011 or newer), Mac mini (Mid 2011 or newer), MacBook Air (Mid 2011 or newer), and MacBook Pro (Early 2011 or newer).

  • If I have forgotten my security questions and am not given the option to send them to an alternate email address because I didn't have one set up at the time, how can I get passed this point? I'm sure I'm blocked out at this time from trying.

    I cannot remember my security questions and I am not given the option to send to an alternate email address because I didn't have one set up at the time.  How can I get past this point?

    See Here... ask to speak with the Account Security Team...
    Apple ID: Contacting Apple for help with Apple ID account security
    Or Here  >  Apple  Support  iTunes Store  Contact

  • I have a set of cloned APEX servers, how should I get them working?

    Hey there, I have been asked to configure a set of servers which are clones of an existing APEX environment and get them working as a separate development environment. This APEX setup has three servers which are all running RedHat Linux: a single sign on server, a web server, and a database server. I am having some trouble finding all the configuration files that I need to update with the new ipaddresses and hosts names in order to get the new servers to talk to each-other again. For example, the cloned web server seems to still be trying to connect to the original database server. When I start opmnctl, it doesn't throw any errors even if the cloned database server's listener isn't running.
    I've updated the ssl.conf, httpd.conf, and targets.xml files on the web and sso servers, and the TNSnames.ora and Listener.ora files on the database server. I also updated the generic linux hosts and networking files on both. Can anyone think of anything that I'm missing?

    Hi user8245974,
    You may want to take a look at the dads.conf file, which should be where your Web server is configured. There most likely is a connect string defined in there.
    Joel

  • Newbie (!) - created a report; have to set parameters to print? How to print it all, please?

    Hi,
    I confess I'm a newbie. I've created my first table and a report based on that table. When I try to print the report, I get a dialogue box asking for the parameters for certain fields. How do I indicate "print all"? Can I save this setting, to
    print all of this document, every time? Do I have to input the parameters for each field, each time I print the document?
    I see the value of setting parameters, but don't need to filter this report.
    Thanks so very much!  Endless gratitude!

    That would explain it.  Because the report no longer recognizes the references it contains to the div_cde column, it treats it as a parameter.  Hence the prompt.  You can change the report design so that every reference to div_cde becomes
    one to div.  This could be in a number of places such as the ControlSource property of a control in the form, or the name of a column (field) by which the report is grouped or ordered, so an easier solution might be to change the table design, renaming
    the div column back to div_cde.  The report should then work without amendment.
    Ken Sheridan, Stafford, England

  • When i have more tabs opened a active tab color is gray, i used to have it set to be red. How can i change it back to red?

    Cant find where i can change color of my active tab.

    Where do I get this?
    <i>[email address removed by Moderator]</i>

  • I have os x 10.9.3. How can I return files I have in trash to their original location?

    I was trying to clean up my Time Machine so I put several files from TM to the Trash Bin. Now I see that it is almost impossible to empty the trash bin because of "locked Files". So now I am trying to just return the files from the trash bin to TM.

    Again thank you for your replies.
    This time I did what you suggested with the 3 key click and I did see the "secure erase" option. I got the box indicating that it was preparing to empty the trash. It was counting up the info it was going to delete but then after a couple of minutes it just quit and the box disappeared. Very frustrating to say the least. I tried several times but same result.
    I then went to each individual file using "Info" and I changed the Read only permission for everyone. It was already on Read-Write for Admin but I thought maybe by chance it was not recognizing me as admin. I tried the secure erase again but same results. Now it does not even give me a "locked files" msg. It just stops counting and disappears.
    Bottom line still unable to either empty the trash bin or return the files back to TM. BTW I still don't see the "put back" option.
    Thanks again for trying to help me.
    OK I just tried something else. I put an old .dmg file into the trash then attempted the 'secure empty" option. It started counting items to delete and then after a couple of minutes and aroung 130k items it stopped and disappeared. I went back to the trash bin and the 2 .dmg files were gone. So definitely my problem is connected to the TM files as I suspected. Got to figure out what is preventing me from either getting rid of those files or putting them back.

  • ODBC Sources in OWB

    Hello,
    I have a question regarding ODBC and OWB.
    How can I get a connection from OWB to an ODBC source.
    I have an exsisting and proofed (I use it from SQL Plus) database link.
    My OWB installation has 3 types of Integrators: Flat Files 3.0, Oracle DB and Apps 3.0 and SAP Applications 3.0 .
    What have I got to do now, to connect to an ODBC source?
    If I create a new MODULE and select Generic Oracle DB App as application and Oracle Generic Gateway Connectivy as application version (or an Oracle DB), I get a Java NullPointerExeption when using the DB-Link for my ODBC connection.
    Anyone outside who has an idea.
    Regards
    Ulrich

    Dear all
    The following is taken from one of our internal documents on how to set up ODBC connections to an AS/400. Hope this helps. This would apply to OWB 3i and 9i.
    Configuring Oracle Heterogeneous Services to Connect to a Non-Oracle Database
    =============================================================================
    This document is intended to describe how to connect to a non-oracle source using Oracle’s Heterogeneous Connections. (Generic Connectivity)
    1.     Install the data dictionary tables and views for Heterogeneous Services.
    - Login as sys and run the script caths.sql
    This script is located in $ORACLE_HOME/rdbms/admin
    2.     Set up an ODBC connection to the target database
    - Select Control Panel, Administrative Tools, Data Sources (ODBC)
    NB This must be a system DSN not a User DSN
    3.     Add the following entry to Tnsnames.ora in the $Oracle_home\network\admin directory
    hsas400 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = tcp)(host=<hostname>)(port=1521))
    (CONNECT_DATA =
    (SID = as400)
    (HS=OK)
    •     N.B The address information is based on the Oracle connection and not the target database. The SID name can be chosen but must be identical to the SID configured later on in the listener.ora
    4.     Add the following entry to Listener.ora in the $Oracle_home\network\admin directory
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC=
    (SID_NAME=as400)
    (ORACLE_HOME=c:\oracle\ora81)
    (PROGRAM=hsodbc)
    - NB The SID_NAME must be identical to the SID used in tnsnames.ora. The Program must be hsodbc (this is an executable program)
    5.     Stop and Start the Oracle Listener
    - Select Control Panel, Administrative Tasks, Services
    - Select the Oracle_HomeTNSListener and stop
    - Restart the service
    6.     Check the Service is running
    - From a command prompt type ‘ lsnrctl status’
    - Check that a service handler for the new sid is running
    7.     Create the initialisation file
    - Navigate to the directory $Oracle_Home\hs\admin
    - A sample file inithsodbc.ora file exists. Copy this file into the same directory using the format init<SID>.ora. In my example the SID used is as400 so the file name will be initas400.ora
    8.     Initialisation File configuration
    - Configure the newly create file to with the following information
    HS_FDS_CONNECT_INFO = RENSQL <name of ODBC connection created in step 2>
         HS_FDS_TRACE_LEVEL = 0
    9.     Create a database link to access target database
         SQL> create public database link as400
         SQL> connect to “user” identified by “password” <optional
         SQL> using 'hsas400'; < the connection name created in tnsnames.ora
    10.     Test the connection
         SQL > select * from products@as400
    - N.B Use a known table that exists on the target database
    To check the creation of the database link run:
         Select * from all_db_links
    Connecting to OWB using HS
    Do not deploy the Database link code to the server as the package deployment will fail. This is because the database link created takes priority over the public DB Link created and as it is owned by the OWB schema can only be used by system and the OWB schema.
    regards
    Mark Rittman
    Plus Consultancy

  • I have Lightroom 4 and CS6 Beta and neither recognizes the raw files coming from the 5D Mark III

    Now what do I do? Do I uninstall both and reinstall? What a pain since I have all these presets and actions! How come the raw files are not recognized?

    Stantonup wrote:
    Thank you! Glad to know the problem is not on my end!
    In the meantime if you just can't wait to edit your 5D Mk III files (I know I couldn't ) you can get the DNG converter version 6.7RC and convert the .cr2 files to .dng where LR and PS can work with them.
    See thread:
    http://forums.adobe.com/thread/981620?tstart=30

  • Errors in the high-level relational engine. The data source view does not contain a definition for the table or view. The Source property may not have been set.

    Hi All,
    I have a cube in which i'm using the TIME DIM that i created in the warehouse. But now i wanted a new measure in the cube which is Average over time and when i wanted to created the new measure i got a message that no time dim was defined, so i created a
    new time dimension in the SSAS using wizard. But when i tried to process the new time dimension i'm getting the follwoing error message
    "Errors in the high-level relational engine. The data source view does not contain a definition for "SSASTIMEDIM" the table or view. The Source property may not have been set."
    Can anyone please tell me why i cannot create a new measure average over the time using my time dimension? Also what am i doing wrong with the SSASTIMEDIM, that i'm getting the error.
    Thanks

    Hi PMunshi,
    According to your description, you get the above error when processing the time dimension. Right?
    In this scenario, since you have updated the DSV, it should have no problem on the table existence. One possibility is that table has been specified for tracking in the notifications for proactive caching, but isn't available any more for some
    reason. Please change the setting in Proactive Caching into "MOLAP".
    Reference:
    How To Implement Proactive Caching in SQL Server Analysis Services SSAS
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
    TechNet Community Support

  • Why do I have to set the PrincipalName property on my discovered ApplicationComponent instances?

    In the simple example below I define three classes:
    MyComputerRoleClass (with base Microsoft.Windows.ComputerRole)
    MyLocalApplicationClass (with base Microsoft.Windows.LocalApplication)
    MyApplicationComponentClass (with base Microsoft.Windows.ApplicationComponent)
    As well as a hosting relationship
    MyLocalApplicationClassHostsMyApplicationComponentClass
    that let's MyLocalApplicationClass host MyApplicationComponentClasses.
    In a timed PowerShell discovery targeting the RootManagementServer (Root Management Server Emulator) I create
    1 MyComputerRoleClass instance
    1 MyLocalApplicationClass instance and 
    2 MyApplicationComponentClass instances hosted on the instance of MyLocalApplicationClass
    By setting the PrincipalName property for the instances of MyComputerRoleClass
    and MyLocalApplicationClass I implicitly create hosting relationship instances of
    Microsoft.Windows.ComputerHostsComputerRole and Microsoft.Windows.ComputerHostsLocalApplication
    respectively.
    But why do I have to set PrincipalName on instances of MyApplicationComponentClass as well? If I don't I'll get this error:
    Microsoft.EnterpriseManagement.Common.DiscoveryDataMissingKeyException,Missing key in the discovery data item.
    Key property name: Microsoft.Windows.Computer.PrincipalName
    Here my discovery script:
    param($sourceId,$managedEntityId)
    $api = new-object -comObject "MOM.ScriptAPI"
    $api.LogScriptEvent('DiscoverClassesAndRelationships.ps1', 1001, 0, "Discovery started (12)")
    $discoveryData = $api.CreateDiscoveryData(0,$sourceId,$managedEntityId)
    $computer = 'SomeServer.SomeDomain'
    $myComputerRoleClass = $discoveryData.CreateClassInstance("$MPElement[Name='MyDiscoveryDemoManagementPack.MyComputerRoleClass']$")
    $myComputerRoleClass.AddProperty("$MPElement[Name='System!System.Entity']/DisplayName$", "MyComputerRoleClass instance on $computer")
    $myComputerRoleClass.AddProperty("$MPElement[Name='Windows!Microsoft.Windows.Computer']/PrincipalName$", $computer)
    $discoveryData.AddInstance($myComputerRoleClass)
    $myLocalApplicationClass = $discoveryData.CreateClassInstance("$MPElement[Name='MyDiscoveryDemoManagementPack.MyLocalApplicationClass']$")
    $myLocalApplicationClass.AddProperty("$MPElement[Name='System!System.Entity']/DisplayName$", "MyLocalApplicationClass instance on $computer")
    $myLocalApplicationClass.AddProperty("$MPElement[Name='Windows!Microsoft.Windows.Computer']/PrincipalName$", $computer)
    $discoveryData.AddInstance($myLocalApplicationClass)
    $myApplicationComponentClass1 = $discoveryData.CreateClassInstance("$MPElement[Name='MyDiscoveryDemoManagementPack.MyApplicationComponentClass']$")
    $myApplicationComponentClass1.AddProperty("$MPElement[Name='System!System.Entity']/DisplayName$", "MyApplicationComponentClass instance")
    $myApplicationComponentClass1.AddProperty("$MPElement[Name='Windows!Microsoft.Windows.Computer']/PrincipalName$", $computer) # Why is this needed
    $myApplicationComponentClass1.AddProperty("$MPElement[Name='MyDiscoveryDemoManagementPack.MyApplicationComponentClass']/Name$", "Number 1")
    $discoveryData.AddInstance($myApplicationComponentClass1)
    $myApplicationComponentClass2 = $discoveryData.CreateClassInstance("$MPElement[Name='MyDiscoveryDemoManagementPack.MyApplicationComponentClass']$")
    $myApplicationComponentClass2.AddProperty("$MPElement[Name='System!System.Entity']/DisplayName$", "MyApplicationComponentClass instance")
    $myApplicationComponentClass2.AddProperty("$MPElement[Name='Windows!Microsoft.Windows.Computer']/PrincipalName$", $computer) # Why is this needed
    $myApplicationComponentClass2.AddProperty("$MPElement[Name='MyDiscoveryDemoManagementPack.MyApplicationComponentClass']/Name$", "Number 2")
    $discoveryData.AddInstance($myApplicationComponentClass2)
    $relationshipInstance1 = $discoveryData.CreateRelationshipInstance("$MPElement[Name='MyDiscoveryDemoManagementPack.MyLocalApplicationClassHostsMyApplicationComponentClass']$")
    $relationshipInstance1.Source = $myLocalApplicationClass
    $relationshipInstance1.Target = $myApplicationComponentClass1
    $discoveryData.AddInstance($relationshipInstance1)
    $relationshipInstance2 = $discoveryData.CreateRelationshipInstance("$MPElement[Name='MyDiscoveryDemoManagementPack.MyLocalApplicationClassHostsMyApplicationComponentClass']$")
    $relationshipInstance2.Source = $myLocalApplicationClass
    $relationshipInstance2.Target = $myApplicationComponentClass2
    $discoveryData.AddInstance($relationshipInstance2)
    $api.LogScriptEvent('DiscoverClassesAndRelationships.ps1', 1002, 0, "Discovery ended - data returned now")
    #$api.return($discoveryData)
    $discoveryData
    Here my classes and relationships:
    <TypeDefinitions>
    <EntityTypes>
    <ClassTypes>
    <ClassType ID="MyDiscoveryDemoManagementPack.MyComputerRoleClass" Base="Windows!Microsoft.Windows.ComputerRole" Accessibility="Internal" Abstract="false" Hosted="true" Singleton="false"/>
    <ClassType ID="MyDiscoveryDemoManagementPack.MyLocalApplicationClass" Base="Windows!Microsoft.Windows.LocalApplication" Accessibility="Internal" Abstract="false" Hosted="true" Singleton="false"/>
    <ClassType ID="MyDiscoveryDemoManagementPack.MyApplicationComponentClass" Base="Windows!Microsoft.Windows.ApplicationComponent" Accessibility="Internal" Abstract="false" Hosted="true" Singleton="false">
    <Property Key="true" ID="Name" Type="string"/>
    </ClassType>
    </ClassTypes>
    <RelationshipTypes>
    <RelationshipType ID="MyDiscoveryDemoManagementPack.MyLocalApplicationClassHostsMyApplicationComponentClass" Base="System!System.Hosting" Abstract="false" Accessibility="Internal">
    <Source ID="Source" Type="MyDiscoveryDemoManagementPack.MyLocalApplicationClass"/>
    <Target ID="Target" Type="MyDiscoveryDemoManagementPack.MyApplicationComponentClass"/>
    </RelationshipType>
    </RelationshipTypes>
    </EntityTypes>
    </TypeDefinitions>
    For anyone who would like to try this out, the complete management pack (you need to change $computer = 'SomeServer.SomeDomain' to match some managed computer in your system):
    <?xml version="1.0" encoding="utf-8"?>
    <ManagementPack SchemaVersion="2.0" ContentReadable="true" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <Manifest>
    <Identity>
    <ID>MyDiscoveryDemoManagementPack</ID>
    <Version>1.0.0.28</Version>
    </Identity>
    <Name>MyDiscoveryDemoManagementPack</Name>
    <References>
    <Reference Alias="SC">
    <ID>Microsoft.SystemCenter.Library</ID>
    <Version>7.0.8433.0</Version>
    <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
    <Reference Alias="Windows">
    <ID>Microsoft.Windows.Library</ID>
    <Version>7.5.8501.0</Version>
    <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
    <Reference Alias="System">
    <ID>System.Library</ID>
    <Version>7.5.8501.0</Version>
    <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
    </References>
    </Manifest>
    <TypeDefinitions>
    <EntityTypes>
    <ClassTypes>
    <ClassType ID="MyDiscoveryDemoManagementPack.MyComputerRoleClass" Base="Windows!Microsoft.Windows.ComputerRole" Accessibility="Internal" Abstract="false" Hosted="true" Singleton="false" />
    <ClassType ID="MyDiscoveryDemoManagementPack.MyLocalApplicationClass" Base="Windows!Microsoft.Windows.LocalApplication" Accessibility="Internal" Abstract="false" Hosted="true" Singleton="false" />
    <ClassType ID="MyDiscoveryDemoManagementPack.MyApplicationComponentClass" Base="Windows!Microsoft.Windows.ApplicationComponent" Accessibility="Internal" Abstract="false" Hosted="true" Singleton="false">
    <Property Key="true" ID="Name" Type="string" />
    </ClassType>
    </ClassTypes>
    <RelationshipTypes>
    <RelationshipType ID="MyDiscoveryDemoManagementPack.MyLocalApplicationClassHostsMyApplicationComponentClass" Base="System!System.Hosting" Abstract="false" Accessibility="Internal">
    <Source ID="Source" Type="MyDiscoveryDemoManagementPack.MyLocalApplicationClass" />
    <Target ID="Target" Type="MyDiscoveryDemoManagementPack.MyApplicationComponentClass" />
    </RelationshipType>
    </RelationshipTypes>
    </EntityTypes>
    </TypeDefinitions>
    <Monitoring>
    <Discoveries>
    <Discovery ID="MyDiscoveryDemoManagementPack.MyDiscovery" Target="SC!Microsoft.SystemCenter.RootManagementServer" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal">
    <Category>Discovery</Category>
    <DiscoveryTypes>
    <DiscoveryClass TypeID="MyDiscoveryDemoManagementPack.MyComputerRoleClass" />
    <DiscoveryClass TypeID="MyDiscoveryDemoManagementPack.MyLocalApplicationClass" />
    <DiscoveryClass TypeID="MyDiscoveryDemoManagementPack.MyApplicationComponentClass" />
    <DiscoveryRelationship TypeID="MyDiscoveryDemoManagementPack.MyLocalApplicationClassHostsMyApplicationComponentClass" />
    </DiscoveryTypes>
    <DataSource ID="DS" TypeID="Windows!Microsoft.Windows.TimedPowerShell.DiscoveryProvider">
    <IntervalSeconds>300</IntervalSeconds>
    <SyncTime />
    <ScriptName>DiscoverClassesAndRelationships.ps1</ScriptName>
    <ScriptBody><![CDATA[param($sourceId,$managedEntityId)
    $api = new-object -comObject "MOM.ScriptAPI"
    $api.LogScriptEvent('DiscoverClassesAndRelationships.ps1', 1001, 0, "Discovery started (12)")
    $discoveryData = $api.CreateDiscoveryData(0,$sourceId,$managedEntityId)
    $computer = 'SomeServer.SomeDomain'
    $myComputerRoleClass = $discoveryData.CreateClassInstance("$MPElement[Name='MyDiscoveryDemoManagementPack.MyComputerRoleClass']$")
    $myComputerRoleClass.AddProperty("$MPElement[Name='System!System.Entity']/DisplayName$", "MyComputerRoleClass instance on $computer")
    $myComputerRoleClass.AddProperty("$MPElement[Name='Windows!Microsoft.Windows.Computer']/PrincipalName$", $computer)
    $discoveryData.AddInstance($myComputerRoleClass)
    $myLocalApplicationClass = $discoveryData.CreateClassInstance("$MPElement[Name='MyDiscoveryDemoManagementPack.MyLocalApplicationClass']$")
    $myLocalApplicationClass.AddProperty("$MPElement[Name='System!System.Entity']/DisplayName$", "MyLocalApplicationClass instance on $computer")
    $myLocalApplicationClass.AddProperty("$MPElement[Name='Windows!Microsoft.Windows.Computer']/PrincipalName$", $computer)
    $discoveryData.AddInstance($myLocalApplicationClass)
    $myApplicationComponentClass1 = $discoveryData.CreateClassInstance("$MPElement[Name='MyDiscoveryDemoManagementPack.MyApplicationComponentClass']$")
    $myApplicationComponentClass1.AddProperty("$MPElement[Name='System!System.Entity']/DisplayName$", "MyApplicationComponentClass instance")
    $myApplicationComponentClass1.AddProperty("$MPElement[Name='Windows!Microsoft.Windows.Computer']/PrincipalName$", $computer) # Why is this needed
    $myApplicationComponentClass1.AddProperty("$MPElement[Name='MyDiscoveryDemoManagementPack.MyApplicationComponentClass']/Name$", "Number 1")
    $discoveryData.AddInstance($myApplicationComponentClass1)
    $myApplicationComponentClass2 = $discoveryData.CreateClassInstance("$MPElement[Name='MyDiscoveryDemoManagementPack.MyApplicationComponentClass']$")
    $myApplicationComponentClass2.AddProperty("$MPElement[Name='System!System.Entity']/DisplayName$", "MyApplicationComponentClass instance")
    $myApplicationComponentClass2.AddProperty("$MPElement[Name='Windows!Microsoft.Windows.Computer']/PrincipalName$", $computer) # Why is this needed
    $myApplicationComponentClass2.AddProperty("$MPElement[Name='MyDiscoveryDemoManagementPack.MyApplicationComponentClass']/Name$", "Number 2")
    $discoveryData.AddInstance($myApplicationComponentClass2)
    $relationshipInstance1 = $discoveryData.CreateRelationshipInstance("$MPElement[Name='MyDiscoveryDemoManagementPack.MyLocalApplicationClassHostsMyApplicationComponentClass']$")
    $relationshipInstance1.Source = $myLocalApplicationClass
    $relationshipInstance1.Target = $myApplicationComponentClass1
    $discoveryData.AddInstance($relationshipInstance1)
    $relationshipInstance2 = $discoveryData.CreateRelationshipInstance("$MPElement[Name='MyDiscoveryDemoManagementPack.MyLocalApplicationClassHostsMyApplicationComponentClass']$")
    $relationshipInstance2.Source = $myLocalApplicationClass
    $relationshipInstance2.Target = $myApplicationComponentClass2
    $discoveryData.AddInstance($relationshipInstance2)
    $api.LogScriptEvent('DiscoverClassesAndRelationships.ps1', 1002, 0, "Discovery ended - data returned now")
    #$api.return($discoveryData)
    $discoveryData]]></ScriptBody>
    <Parameters>
    <Parameter>
    <Name>sourceId</Name>
    <Value>$MPElement$</Value>
    </Parameter>
    <Parameter>
    <Name>managedEntityId</Name>
    <Value>$Target/Id$</Value>
    </Parameter>
    </Parameters>
    <TimeoutSeconds>120</TimeoutSeconds>
    </DataSource>
    </Discovery>
    </Discoveries>
    </Monitoring>
    <LanguagePacks>
    <LanguagePack ID="ENU" IsDefault="true">
    <DisplayStrings>
    <DisplayString ElementID="MyDiscoveryDemoManagementPack.MyComputerRoleClass">
    <Name>A demo Computer Role (base Microsoft.Windows.ComputerRole)</Name>
    <Description></Description>
    </DisplayString>
    <DisplayString ElementID="MyDiscoveryDemoManagementPack.MyLocalApplicationClass">
    <Name>A demo Local Application (base Microsoft.Windows.LocalApplication)</Name>
    <Description></Description>
    </DisplayString>
    <DisplayString ElementID="MyDiscoveryDemoManagementPack.MyApplicationComponentClass">
    <Name>A demo Application Component (base Microsoft.Windows.ApplicationComponent)</Name>
    <Description></Description>
    </DisplayString>
    <DisplayString ElementID="MyDiscoveryDemoManagementPack.MyDiscovery">
    <Name>My Demo Discovery</Name>
    <Description>Script based discovey of all demo classes and relationships in this demo. To run at the Root Management Server Simulator</Description>
    </DisplayString>
    </DisplayStrings>
    <KnowledgeArticles></KnowledgeArticles>
    </LanguagePack>
    </LanguagePacks>
    </ManagementPack>

    According to
    System Center Authoring Hub:
    "Any key properties of the class being discovered and the key properties of any of its parents must be provided. Values for other properties are optional. In this example [as well as mine], the class being discovered is hosted by Windows Computer
    and the key property of that class is added to the instance."
    http://social.technet.microsoft.com/wiki/contents/articles/14261.operations-manager-management-pack-authoring-discovery-scripts.aspx
    So that's why :-)
    Michael

  • Source does not have a runnable target.

    I am just learning Stored Procedures. I have Oracle SQL Developer Version 1.5.1 loaded, going against 11G running on Ubuntu Linux.
    I try to build a very basic Stored Procedure:
    CREATE OR REPLACE
    PROCEDURE HR.TEST AS
    BEGIN
    Select * from hr.jobs
    NULL;
    END HR.TEST;
    I always receive the following error:
    Source does not have a runnable target
    I always post these question in the wrong area on this Forum, so go ahead and just direct me to the correct forum if applicable.
    Any ideas?
    Thanks Zach

    Ah, so Tom O'Neill was not writing about Oracle. The clue was in the title, "SQL Server Stored Procedures for Beginners". Easy to miss perhaps ;)
    This is a valid procedure:
    CREATE OR REPLACE PROCEDURE test
        ( p_salary       IN  jobs.min_salary%TYPE
        , p_out_results  OUT SYS_REFCURSOR )
    AS
    BEGIN
        OPEN p_out_results FOR
            SELECT *
            FROM   jobs
            WHERE  p_salary BETWEEN min_salary AND max_salary
            ORDER BY min_salary, max_salary, job_title;
    END test;Here's how you might call it from SQL*Plus:
    SQL> var results refcursor
    SQL> exec test(3000, :results)
    PL/SQL procedure successfully completed.
    SQL> print :results
    JOB_ID     JOB_TITLE                           MIN_SALARY MAX_SALARY
    ST_CLERK   Stock Clerk                               2000       5000
    PU_CLERK   Purchasing Clerk                          2500       5500
    SH_CLERK   Shipping Clerk                            2500       5500
    AD_ASST    Administration Assistant                  3000       6000
    4 rows selected.or if you prefer,
    SQL> set autoprint on
    SQL>
    SQL> exec test(3000, :results)
    PL/SQL procedure successfully completed.
    JOB_ID     JOB_TITLE                           MIN_SALARY MAX_SALARY
    ST_CLERK   Stock Clerk                               2000       5000
    PU_CLERK   Purchasing Clerk                          2500       5500
    SH_CLERK   Shipping Clerk                            2500       5500
    AD_ASST    Administration Assistant                  3000       6000
    4 rows selected.No idea how to call it from SQL Developer, sorry.

  • How it's possible to add ODBC source to windows resources?

    Hi.
    I'm using DB Connectivity Tools and MS Access Driver to connect to the database. My VI reads previous created data link. My problem is that I need do EXE file, and doesn't know how I can set the ODBC source in Windows directly in LabView, and create Datalink direct in LV (without using Tools->Create Data Link). Maybe somebody knows how to do this. Thanks in advance.

    Wiebe@CARYA wrote:
    In the last string, don't seperate each parameter. Simply put a space
    between two of them, not the quotes and \0. The \0 on the end is
    automatically added by LabVIEW, so there is no need for that as well. Like I
    mentioned, it should look like this: "DNS=databasename DBQ=filepath UID=user
    PWD=password", where the quotes are not in the string. Perhaps the file path
    needs quotes, if it contains spaces, but I don't think I use them, and it
    works fine.
    Instead of creating a DSN you can also simply pass those parameters to the "connection string" parameter of the DB Tools Open Connec (String).vi.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Clone tool offsetting source when it's not set to

    I haven't set the clone stamp tool to do any offsetting other than where I place it, but if I click more than once, it step duplicates from the source.
    I can't find anywhere that causes that other than the "Frame offset" area in the clone source panel and that is set to 0.
    Anyone have any ideas hot to make it stop?
    Thanks!
    -Renee

    Sometimes computers and programs just decide to glitch. If you ever run into a problem that come out of nowhere you can reset the tool that isn't working, or even the Photoshop preference file if needed. Glad it just took a restart..
    Benjamin

  • Each target assigned to a job must have a setting and destination.

    Simple. Basic Question.
    Trying to use Compressor to change the codec on my flip cam to make it more compatible with FCP X.
    I have dragged a source and destination into the batch. But it keeps giving me the error "Each target assigned to a job must have a setting and destination." I saw others had this same issue and the solution I saw was to set a destination for the video AND audio. How do you assign for BOTH? I thought it was just a drag and drop method into batch ... 

    You didn't say what your settings were. But tif it's not one of the DVD presets, you shouldn't ordinarily be faced with separate audio and video streams with the majority of presets. Here's an example of a batch with one source file, multiple targets and multiple destinations. Only the DVD Preset has separate audio and video…and those do require that destinations be specified. If the destination is not specified, it defaults to Source.
    Good luck.
    Russ

Maybe you are looking for

  • How can I display a letter grade in my gridview after calculating percentage into a hidden field in Visual Studio?

    For school I am working on an app using C# in visual studio that allows a student to enter their name, the number of points they earned and the points possible. When they click a submit button, the grade percentage is calculated in a hidden field and

  • How to enclose a pdf with Podcast

    Hi, I am trying to use iWeb to create an educational video podcast. For each lesson there is a video and support notes in pdf. I have seen podcasts in iTunes where video content and pdf files are inter-mixed (an example: http://phobos.apple.com/WebOb

  • WebDynpro ABAP + IFRAME

    Hi everyone, I've developed a WD ABAP application which renders 2 iFrames. If I take a look at the source code that is generated by the framework I can see the following snippet: <iframe src=myhost:50000/irj/servlet/prt/portal/prtroot/com.sap.portal.

  • Where in settings is memory usage?

    Where in settings is memory usage for individual apps?

  • Multiple server download options in PKGBUILD?

    While updating my "gift-gnutella" package, apparently the download server specified in the PKGBUILD is being hit hard since "makepkg" times out while trying to connect: --19:27:42--  http://umn.dl.sourceforge.net/sourcefor - .2.tar.bz2   (try: 3) =>