PI does not keep sequence of XSD for external definition

Hi,
currently I face following problem. I have an XSD which decribes a MSCONS market message that contains following sequence:
     <xs:complexType name="MSCONS">
          <xs:sequence>
               <xs:element name="UNH" type="UNH"/>
               <xs:element name="BGM" type="BGM"/>
               <xs:element name="DTM" type="DTM"/>
               <xs:element name="NAD" type="NAD" minOccurs="2" maxOccurs="2"/>
               <xs:element name="UNS" type="UNS"/>
               <xs:element name="NAD" type="NAD" maxOccurs="unbounded"/>
               <xs:element name="CNT" type="CNT" minOccurs="0" maxOccurs="99"/>
               <xs:element name="UNT" type="UNT"/>
          </xs:sequence>
     </xs:complexType>
There are 2 NAD elements, followed by an UNS element, followed by an NAD element again. When I upload that XSD to PI as an external definition, the message is described as:
MSCONS     Message                         
-> MSCONS     Element     MSCONS     1               Metered services consumption report message
-> -> UNH     Element     UNH     1               
-> -> BGM     Element     BGM     1               
-> -> DTM     Element     DTM     1               
-> -> NAD     Element     NAD     1..unbounded               
-> -> UNS     Element     UNS     1               
-> -> CNT     Element     CNT     0..99               
-> -> UNT     Element     UNT     1     
All the NAD elements are summarized before UNS element. After mapping I will get an message which is not valid to XSD, because sequence is not correct.
Does anyone knows a solution/workaround for that issue. Would appreciate you help.
Thank you and Best Regards,
Nico

> All the NAD elements are summarized before UNS element. After mapping I will get an message which is not valid to XSD, because sequence is not correct.
>
> Does anyone knows a solution/workaround for that issue. Would appreciate you help.
No. There is no way. The way how graphical mapping works internally makes it impossible to achieve your requirement.
As work around use two different nodes NDA and NAD1 and rename it with a simple Java mapping as second mapping step.

Similar Messages

  • ORA-19007: Schema - does not match expected T0090.xsd for non xsd owner

    I have registered an xsd in /home/divload/xsd/T0090.xsd. User "prmt" is the owner of this resource. User prmt can schemavalidate xml against this xsd just as it is now. However, I have package code in "prmt_app" user account that will actually do the schemavalidate - not prmt user. When I run the exact same code using the exact same xml with the T0090.xsd above I am getting ORA-19007: Schema - does not match expected T0090.xsd. prmt_app has "all" privs on "/home", "/home/divload", "/home/divload/xsd", and "/home/divload/xsd/T0090.xsd". What am I missing?
    XSD header info
    <?xml version="1.0" encoding="utf-8"?>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb">
         <xs:element name="T0090" xdb:defaultTable="T0090">
    ...XML header info
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <T0090 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="T0090.xsd">
    <PERMIT>
    ...The error occurs when I am inserting into this table off disk..
    create table prmt.cview_xml (filename varchar2(256), xmldoc xmltype) xmltype xmldoc xmlschema "T0090.xsd" element "T0090";
    Edited by: Mark Reichman on Jun 28, 2010 2:42 PM

    I did all that before posting the orignial post..
    declare
      v_schema_exists varchar2(1) := 'N';
      res             boolean;
      schemaURL       varchar2(100) := 'T0090.xsd';
      schemaPath      varchar2(100) :=  '/prmt/xsd/T0090.xsd'; --'/public/T0090.xsd';
      xmlSchema xmlType := XMLTYPE(bfilename('DIR_PRMT_OUT_CVIEW','T0090.xsd'),NLS_CHARSET_ID('AL32UTF8'));
    begin
      begin
        select 'Y'
          into v_schema_exists
          from sys.all_xml_schemas  -- changed from user_xml_schemas
         where schema_url = schemaURL;
        dbms_xmlSchema.deleteSchema(schemaURL,4);
        exception
          when NO_DATA_FOUND then
            null;
      end;
      if (dbms_xdb.existsResource(schemaPath)) then
        dbms_xdb.deleteResource(schemaPath);
      end if;
      res := dbms_xdb.createResource(schemaPath,xmlSchema);   
      dbms_xmlschema.registerSchema ( schemaURL, xdbURIType(schemaPath).getClob(), TRUE, TRUE, FALSE, TRUE );
    end;
    / I guess my understanding was that I could grant another oracle user access to my registered schema just like I can grant a single user access to a table. Evidently I only have two options. Only the schema owner can use the schema or everyone can use the schema and I cannot grant access to a single user other than myself.
    Edited by: Mark Reichman on Jul 2, 2010 9:08 AM
    Edited by: Mark Reichman on Jul 2, 2010 9:09 AM

  • Hi, I have quick question about use of USEBEAN tag in SP2. When I specify a scope of SESSION for the java bean, it does not keep the values that I set for variable in the bean persistent.Thanks,Sonny

     

    Make sure that your bean is implementing the serializable interface and that
    you are accessing the bean from the session with the same name.
    Bryan
    "Sandeep Suri" <[email protected]> wrote in message
    news:[email protected]..
    Hi, I have quick question about use of USEBEAN tag in SP2. When I
    specify a scope of SESSION for the java bean, it does not keep the
    values that I set for variable in the bean persistent.Thanks,Sonny
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • Why do my songs and audio books keep getting erased when I add a new book?  Now some books will not play and the iPod does not keep track of where I was when I pause a book, leave for music and then go back!

    About a month ago I added some new audio books to my iPod Classic and then after disconnecting, I discovered EVERYTHING had been erased. 
    I had to restore through my iTunes but then I could not load my music back on.
    I uninstalled / reinstalled iTunes and completely reformated the iPod drive.
    I successfully got my music and books back on but then added a new book two days ago only to discover everything got erased AGAIN!!!
    Of course, my 1 Year Warranty was up about a week before the first incident.....
    I formatted the iPod again, uninstalled / reinstalled iTunes (it was freezing during sync) and downloaded all my music and books again.
    Now I have several books that will not play (they play on iTunes and they played on the iPod before all these events) and the iPod does not keep track of where I was in a book when I have to stop and go to something else.
    Does anyone know what is going on with this thing???  I have a 5th Gen Video and in all the years I've had it, I've NEVER had problems like this! 
    Does anyone have any ideas on what I can do to get my iPod Classic up and running properly again?
    Thanks.

    When iTunes/iPod sync process failed due to timeout, the iPod, has only the initilaised  filesytem structure at the start of the Sync.
    The timeout failure could be due to
    Bad hardisk - do the iPod disk diagnostic, refer to this excellent post by tt2
    Slow USB port or resource - Dont use any USB hub, disconnect all other USB devices while syncing
    Timeout due to Antivirus or other plugins - disconnect from Internet and stop the Antivirus or monitoribng software if you are syncing.
    Preferably stop doing other things while syncing this ancient device, which the latest iTunes designer, think will soon be extinct.
    Have a nice day!

  • FontBook does not keep settings after computer restart

    I have thousands of fonts on my HD folder, and a standards set of System and Library fonts. Any time I disactivate and acivate certain font families, my FontBook keeps these settings (for activation and disactivation) ONLY UNTILL next computer restart cycle.
    After restart, when I load my FontBook application to check my fonts settings (for to make the fonts I set previously working again), Fontbook starts activating all my thousands fonts in my custom library, taking munites of waiting for a spinning wheel. I also do not see (off) signs for fonts diactivated during previous session. I see lots of duplicate font warning because Font Book is auto-activate all.
    Consiquently, I have to reppeat all the process of activation/disactivation and to help my computer working with less fonts load and resolve duplicates.
    So, why Font Book does not keep setting for fonts activation/disactivation in a custom library after computer restart?

    "*Opened Firefox, which was recently updated to some 3.6 something version. *When opened, it offered to download new vers. 4,* which I initiated. "
    Impossible! FF v4 system requirements are Leopard & Snow Leopard. Your system info confirms that you are still running an outdated version Tiger - Mac Book Pro *Mac OS X (10.4.5)*
    If that information is incorrect, please correct & provide your current OS in the "My Settings" panel.----->
    "(what looked strange that the request was in English, German and some other 2 languages"
    What you experienced was a kernel panic. Disconnect all devices from your computer and try the suggestions mentioned in the following:
    http://docs.info.apple.com/article.html?artnum=106805 *Mac OS X: "Broken folder" icon, prohibitory sign, or +_kernel panic_+ when computer starts*
    User Tips: Kernel Panics

  • Java bytecode operation 'invokevirtual' does not keep consistency

    I have following codes.
    public class Parent {
    @Override
    public int hashCode() {
    return 0;
    public class Child extends Parent {
    public void test() {
    this.toString();
    this.hashCode();
    As you see in the above codes, Child inherits toString() from Object and hashCode() from Parent. Bytecode operation of Child#test is as following.
    ALOAD 0: this
    INVOKEVIRTUAL Object.toString() : String
    ALOAD 0: this
    INVOKEVIRTUAL Child.hashCode() : int
    RETURN
    I think if invokevirtual calls Object.toString(), it should call Parent.hashCode() for consistency. or, Child.hashCode() called, then Child.toString() should be called.
    However, invokevirtual does not keep its consistency if and only if target method is inherited by Object.
    Only that case, invokevirtual calls method in the Object. For other cases, invokevirtual calls method in current class.
    I want to know why this happens.

    I think if invokevirtual calls Object.toString(), it should call Parent.hashCode() for consistencyExcept that it doesn't exist.
    You can't seriously be suggesting that this doesn't work correctly.

  • After updating to Yosemite ITunes update does not keep me logged in

    After updating to Yosemite ITunes update does not keep me logged in all the time. What happen to staying logged in when I decide to logout? Anyone know were to find info on being g able to turn this feature on or off? Thank you all who reply I use my ITunes all the time and hate it to put password in all the time is so frustrating to me.
    Thank you

    Web sites usually remember you by using a cookie, either a traditional browser cookie or a Flash cookie. If you have set Firefox up to clear your history when you shut down, you may be deleting the site's cookie(s), thus making you anonymous upon your return.
    The subject of cookies can trigger strong feelings, so you have a lot of options for how to handle cookies, including built-in choices, add-ons, etc. Rather than write out a very complicated set of options, could you I refer you to an article here:
    * [[Cookies - Information that websites store on your computer]]
    If you have a specific idea for how you want Firefox to handle cookies, but you're not finding enough help around here, please post back on your objectives so we can help you implement it.

  • Bridge does not keep my Label Preference

    I want to be able to rate my images in Bridge CS3 using only the number keys. So I go to Preferences - Labels - then uncheck "Require the Control Key to Apply Labels and Ratings". This works fine and I'm able to rate images by tapping keys 1 through 5 (for star ratings) then 6 to 9 for color labels.
    The problem is when I close Bridge CS3, it does not keep my labels preference. Every time I open Bridge again, the Control key is required to rate images. If I check the preference, that option is once again checked off.
    Is there a way to keep that UNchecked???

    Adobe has started to release really crappy software. Their bug testing is God aweful, and their willingness to fix their problems is even worse!
    Bridge constantly crashes for no reason whatsoever for me. If I leave it open, but haven't used it in a while, when I pull it back up, it often crashes. Explain that! I'm not even doing anything with the program.
    I'm having the same problems with labels retaining the preference. Inexcusable, and a complete failure of proper testing.
    How long has it been since Vista's been released, and yet there's STILL no native DNG preview? Sure, you can buy one for $30 bucks from a third party. Remind me again why I need to pay a third party to do Adobe's job?
    And because they make some of the best stuff, they can get away with this shoddy workmanship. But only for so long. Keep it up guys, and you'll inspire a competitor to do a better job.

  • My safari does not keep my history despite all the settings and adjustment i made to the safari preferences so as to be able to keep my browsing history. the browsing history is wiped out whenever i close safari.

    i use macbook pro mid 2012, OS X mavericks. my safari does not keep my history desp[ite all the adjustments made to the settings at safari preferences. my browsing history are cleared whenever i exit safari. i dont know why. i want to try and re - in stall it . the safari is version 7.0.1. but i dont know how.

    If you're having trouble making changes to files that are inside your home folder (represented by a house icon in the sidebar of a Finder window), or if you can't get changes to the settings of an application to stick, then please see below.
    Back up all data.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    I've tested these instructions only with the Safari web browser. If you use another browser, they may not work as described.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click anywhere in the following line on this page to select it:
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR..; sudo chown -R $UID:staff ~ $_; sudo chmod -R u+rwX ~ $_; chmod -R -N ~ $_; } 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    You'll be prompted for your login password. Nothing will be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command may take a few minutes to run, or perhaps longer if you have literally millions of files in your home folder. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password dialog will open. You’re not going to reset a password.
    In the dialog, select the startup volume ("Macintosh HD," unless you gave it a different name) if it's not already selected.
    Select your username from the menu labeled Select the user account if it's not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • Can you upload Logic pro onto an external drive? Because my G5 does not  have 50 GB available for installation, Can you upload Logic pro onto an external drive? Because my G5 does not  have 50 GB available for installation

    Can you upload Logic pro onto an external drive? Because my G5 does not  have 50 GB available for installation, Can you upload Logic pro onto an external drive? Because my G5 does not  have 50 GB available for installation

    Logic 9.0.2 is the last version that runs on a G5 - 9.1.x is Intel only.
    If you have only 50 GB left on your system drive, you should consider it full. Get an external drive and move your music, movies and photo's to it, and delete them from your system drive to free up space.
    The free space on the system drive is being used by the OS to offload RAM, rule of thumb is to keep at least 20 % of the drives' capacity free. When you have less and less free space, your Mac will eventually become very slow (many "beachballs").
    I believe the current Logic Package has version 9.1 on it, be sure you have the correct (9.0) version...

  • Facebook does not keep logged in

    Facebook does not keep me logged in, although
    I tic keep logged in box.

    Make sure that you not run Firefox in (permanent) [[Private Browsing]] mode.
    * You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
    * To see all History and Cookie settings, choose: Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    * Uncheck: [ ] "Permanent Private Browsing mode"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * [[Troubleshooting extensions and themes]]

  • TIME MACHINE (10.5.2?) DOES NOT KEEP HOME FOLDER FILEVAULTED

    Hello friends,
    I have been using TM & FileVault successfully for awhile. I recently noticed on the TM backup drive that my home folder is backed up UNENCRYPTED!!! I have FileVault turned on and it has appeared to backup my home folder at appropriate times. My concern is WHY IS TM NOT KEEPING MY HOME FOLDER ENCRYPTED THROUGH FILEVAULT?
    If I take the TM backup drive and connect it to a Windows machine, or even another Mac, I am browse the Backups directory with no problem and see all my files and documents UNENCRYPTED. Even on the Windows machine!
    Can anyone else confirm that TM does not keep their home folder encrypted? Why were end-users not made aware of this issue? And, how do we fix this MAJOR SECURITY FLAW?!

    Time Machine simply looks at the files that your user account can see. Since your user account can see the files within your file vault, it reads them, having no real inkling that they started out encrypted. Just as OS X hides the encryption/decryption from you, so does it hide it from Time Machine.
    The .sparseimage that underlies the file vault is just one big file, and changing a single byte in a single file in your file vault would cause Time Machine to have to back up everything.
    Is this a bug? Not really. It's working as designed. Is it an oversight? Yes. Agreed. Is it a major oversight? Depending, yes.
    However, if you were to take all the files in your file vault and drag and drop them to the same drive, the same thing would happen.
    Right answer? Apple should support encrypting ALL time machine backups, regardless of origin.

  • My icloud account on my new iphone does not match the user ID for itunes as it is an old apple ID. There is no password for this ID so I cant change it and it wont let me change the apple ID. Any help?

    my icloud account on my new iphone does not match the user ID for itunes as it is an old apple ID. There is no password for this ID so I cant change it and it wont let me change the apple ID. Any help?

    To change to iCloud ID on your phone you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID then sign in with the new ID.  If you don't know the password for the old ID, and if the old ID is an earlier version of your current ID, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • The security database on the server does not have a computer account for this workstation trust relationship

    When I try to log on to my DC it says "The security database on the server does not have a computer account for this workstation trust relationship". It won't let me log on. I installed another server server 2012r2  (its virtual )
    and I can get to ADSI edit. 
    I think what happened was I had a pc that could not connect without unplugging the network cable. So I found this fix 
    FIX: “The security database on the server does not have a computer account for this workstation trust relationship”2032011
    I’ve seen a lot of solutions, or suggestions rather, with regard to the error in the title of this post.  In my experience, the problem can almost always be resolved without extra domain add/removes and reboots, which is the most prevalent solution I have
    seen around.  Usually, this issue is due to a mismatch between attributes of the computer account in Active Directory and those values on the system itself.  Here are the steps I take to fix this issue when it crops up:
    Open up Active Directory Users & Computers pointed to the domain the computer account resides in
    From the “View” pull-down menu, make sure that “Advanced Features” is checked
    Navigate to the part of your organizational unit (OU) structure where the computer account for this server resides
    Open the Properties for the computer object
    Choose the “Attribute Editor” tab on the Properties dialog box
    Check the Attributes dNSHostName & servicePrincipalName – anywhere that a fully qualified hostname is specified (e.g. myserver.mydomainname.com), make sure that the entry matches the hostname
    you have configured when you go here on your server: Start -> Computer -> Right-Click, Properties -> Change Settings (under “Computer name, domain… settings”) -> Full Computer Name
    As an example, for a fictitious W2K8 R2 server whose Full Computer Name is “srv1.mydomainname.com”, these attribute/value pairs should be in Active Directory:
    dNSHostName:
    srv1.mydomainname.com
    servicePrincipalName:
    HOST/SRV1
    HOST/srv1.mydomainname.com
    RestrictedKrbHost/SRV1
    RestrictedKrbHost/srv1.mydomainname.com
    TERMSRV/SRV1
    TERMSRV/srv1.mydomainname.com"
    Not reading it carefully I add a computer with the same name as the pc having the issue and followed the above. The problem is that I did not notice that the spn did not want the name of my server (serv1) but the name of the trouble
    pc.
    dcdiag output
    PS C:\Users\administrator.TOM> dcdiag.exe
    Directory Server Diagnosis
    Performing initial setup:
       Trying to find home server...
       ***Error: DC3 is not a Directory Server.  Must specify /s:<Directory Server> or  /n:<Naming Context> or nothing to
       use the local machine.
       ERROR: Could not find home server.
    PS C:\Users\administrator.TOM> dcdiag.exe /s:DC2
    Directory Server Diagnosis
    Performing initial setup:
       * Identified AD Forest.
       Done gathering initial info.
    Doing initial required tests
       Testing server: Default-First-Site\DC2
          Starting test: Connectivity
             The host 9e0dca7a-d017-445a-b354-adee5ff53d48._msdcs.TOM could not be resolved to an IP address. Check the DN
             server, DHCP, server name, etc.
             Neither the the server name (DC2.TOM) nor the Guid DNS name (9e0dca7a-d017-445a-b354-adee5ff53d48._msdcs.TOM)
             could be resolved by DNS.  Check that the server is up and is registered correctly with the DNS server.
             Got error while checking LDAP and RPC connectivity. Please check your firewall settings.
             ......................... DC2 failed test Connectivity
    Doing primary tests
       Testing server: Default-First-Site\DC2
          Skipping all tests, because server DC2 is not responding to directory service requests.
       Running partition tests on : ForestDnsZones
          Starting test: CheckSDRefDom
             ......................... ForestDnsZones passed test CheckSDRefDom
          Starting test: CrossRefValidation
             ......................... ForestDnsZones passed test CrossRefValidation
       Running partition tests on : DomainDnsZones
          Starting test: CheckSDRefDom
             ......................... DomainDnsZones passed test CheckSDRefDom
          Starting test: CrossRefValidation
             ......................... DomainDnsZones passed test CrossRefValidation
       Running partition tests on : Schema
          Starting test: CheckSDRefDom
             ......................... Schema passed test CheckSDRefDom
          Starting test: CrossRefValidation
             ......................... Schema passed test CrossRefValidation
       Running partition tests on : Configuration
          Starting test: CheckSDRefDom
             ......................... Configuration passed test CheckSDRefDom
          Starting test: CrossRefValidation
             ......................... Configuration passed test CrossRefValidation
       Running partition tests on : TOM
          Starting test: CheckSDRefDom
             ......................... TOM passed test CheckSDRefDom
          Starting test: CrossRefValidation
             ......................... TOM passed test CrossRefValidation
       Running enterprise tests on : TOM
          Starting test: LocatorCheck
             ......................... TOM passed test LocatorCheck
          Starting test: Intersite
             ......................... TOM passed test Intersite
    PS C:\Users\administrator.TOM> regsvr32 schmmgmt.dll
    PS C:\Users\administrator.TOM> netdig /fix
    netdig : The term 'netdig' is not recognized as the name of a cmdlet, function, script file, or operable program.
    Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + netdig /fix
    + ~~~~~~
        + CategoryInfo          : ObjectNotFound: (netdig:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    PS C:\Users\administrator.TOM> Setup /PrepareSchema
    Setup : The term 'Setup' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
    the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + Setup /PrepareSchema
    + ~~~~~
        + CategoryInfo          : ObjectNotFound: (Setup:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    PS C:\Users\administrator.TOM> netdiag /test
    netdiag : The term 'netdiag' is not recognized as the name of a cmdlet, function, script file, or operable program.
    Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + netdiag /test
    + ~~~~~~~
        + CategoryInfo          : ObjectNotFound: (netdiag:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    PS C:\Users\administrator.TOM> nslooup
    nslooup : The term 'nslooup' is not recognized as the name of a cmdlet, function, script file, or operable program.
    Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + nslooup
    + ~~~~~~~
        + CategoryInfo          : ObjectNotFound: (nslooup:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    PS C:\Users\administrator.TOM>

    Ok fixed. 
    At a elevated cmd prompt run ;
    C:\Users\administrator.TOM>setspn -x
    As you can see the DC serv1 had duplicate SPNs.
    Checking domain DC=TOM
    Processing entry 1
    HOST/serv1.TOM is registered on these accounts:
            CN=SERV1,OU=Domain Controllers,DC=TOM
            CN=C00049,CN=Computers,DC=TOM
    {14E52635-0A95-4a5c-BDB1-E0D0C703B6C8}/TOWN-HBWJ29ZOQC is registered on these ac
    counts:
            CN=Administrator,CN=Users,DC=TOM
            CN=TOWN-HBWJ29ZOQC,CN=Computers,DC=TOM
    {14E52635-0A95-4a5c-BDB1-E0D0C703B6C8}/town-hbwj29zoqc.TOM is registered on thes
    e accounts:
            CN=Administrator,CN=Users,DC=TOM
            CN=TOWN-HBWJ29ZOQC,CN=Computers,DC=TOM
    RestrictedKrbHost/serv1 is registered on these accounts:
            CN=C00049,CN=Computers,DC=TOM
            CN=SERV1,OU=Domain Controllers,DC=TOM
    RestrictedKrbHost/serv1.TOM is registered on these accounts:
            CN=C00049,CN=Computers,DC=TOM
            CN=SERV1,OU=Domain Controllers,DC=TOM
    found 5 groups of duplicate SPNs.
    Went to the computers OU and changed computer c00049 to the correct SPN. Now I have a new issues, I'll start a new thread.

  • I have changed my icloud email in my iphone but in macbook still using old email. I tried to delete the old email in macbook but it requires password and it does not accept the old password for the old email anymore. How do I remove this old email?

    I have changed my icloud email in my iphone but in macbook still using old email. I tried to delete the old email in macbook but it requires password and it does not accept the old password for the old email anymore. How do I remove this old email?

    Hello farahani hairon nizar,
    If your Apple ID was changed from your old account, you may have to change it back to your old account to be able to sign out and then change it back after that is done. Take a look at the article below for more information. 
    If you're asked for the password to your previous Apple ID when signing out of iCloud
    http://support.apple.com/en-us/HT203828
    Regards,
    -Norm G.  

Maybe you are looking for

  • Flash player not working after recent software update

    I have a MAC OSX 10.5.8, after the recent software update my flash player no longer works. I have read that there is a problem with security for the version of flash that I was using and this is the reason it was disabled. However, I have tried to do

  • Something is wrong with my cd/dvd drive

    i just inserted a blank disc to burn some songs from itunes and as soon as i put the cd in it started making this grinding sound after the computer read the cd. i tried other cds and dvds as well and it does the same thing. does anyone know whats wro

  • Configuring file adapter

    This is sundar here i putting my query is in xi While i am configuring the file adapter in comunication channel we will mention the file name given by us in sender & receiver sides. But i want to give file name dynamically. Plz give reply, [email pro

  • Scenario Mail (ZIP) -- PI -- CSV file!!

    Dear forum members, I am new to PI, I have very little awareness on these environments, But I want to develop more. But in the part of my practice, I have got one scenario as follows, will you please guide me how to resolve this thing, you are highly

  • New Windows Phone user - what websites for finding...

    I am wondering just how to go about learning Windows Phone 8.  Thus looking for valuable website content.  Would appreciate input. Specific questions: Where do I go to update ALL my apps at once? My settings are displayed in UK English.  How do I cha