Vbscript Object not a collection

Dear,
i am not able to dertermine whats wrong in line 29
' List the Subfolders of a Folder
Function getus
Dim strusr
strComputer = "."
Dim str(100)
int i 
 i = 0
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colSubfolders = objWMIService.ExecQuery _
    ("Associators of {Win32_Directory.Name='c:\Users'} " _
        & "Where AssocClass = Win32_Subdirectory " _
            & "ResultRole = PartComponent")
For Each objFolder in colSubfolders 
    str(i) =  LCase(objFolder.Name) 
     i = i + 1
Next
getus = str
Dim replstring
For Each objFold in str
replstring = objFold
replstring = Replace(replstring, "c:\users\", "")
For Each replc In replstring
    If replc <> "" then
        getus = replc
    End if
Next
Next
End Function
WScript.Echo getus
[email protected]

What's on line 29?
Is this a homework question?
Are you being a
help vampire?
Please read the following:
Posting guidelines
Handy tips for posting to this forum
How to ask questions in a technical forum
Rubber duck problem solving
How to write a bad forum post
-- Bill Stewart [Bill_Stewart]

Similar Messages

  • Problem with EnumKey "Object Not a Collection"

    The purpose of this script was to allow me to quickly change the WSUS intranet server (I'm not fully done with it yet), instead of using the local Group Policy. Sometimes the WindowsUpdate key does not exist. Rather than guessing and writing a new one, I'd
    rather check if it exists, and only write if it doesn't. The problem I've had is I get "Object is not a collection" when I use EnumKey. From what I know, null values are causing the error, but I don't know how to resolve it.
    const HKEY_LOCAL_MACHINE = &H80000002
    strComputer = "."
    Set objReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\"&_
    strComputer & "\root\default:StdRegProv")
    strKeyPath = "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows"
    Wscript.Echo "This program serves to connect you to your intranet WSUS server. It will create or modify the registry."
    objReg.EnumKey HKEY_LOCAL_MACHINE, strKeyPath, arrSubKeys
    For Each subkey In arrSubKeys
    bFound = (lcase(subkey) = lcase(regkey))
    if bFound then exit for
    Next
    if bFound then
    Wscript.echo "'WindowsUpdate' exists."
    'Continue script without creating a key named WindowsUpdate.
    Else
    'Since key did not exist, create key and then continue.
    The problem code is underlined (Line 10 for me).

    EnumKey has a return value, and you're currently ignoring it. You can only assume that arrSubKeys has been set to an array if EnumKey returns 0. If it returns something other than 0, it's a Win32 error code which will give you more information about what
    went wrong (for example, a return value of 2 is ERROR_FILE_NOT_FOUND, or "The system cannot find the file specified.")
    Here's a brief example of how you might modify your code to check the return value:
    intResult = objReg.EnumKey(HKEY_LOCAL_MACHINE, strKeyPath, arrSubKeys)
    If intResult <> 0 Then
    WScript.Echo "Error code from EnumKey: " & intResult
    Else
    For Each subkey In arrSubKeys
    If LCase(subkey) = LCase(regkey) Then
    bFound = True
    Exit For
    End If
    Next
    If bFound Then Wscript.Echo "'WindowsUpdate' exists."
    End If

  • AuthenticatedUser objects not garbabe collected

    Hi,
    I am using a startup class to spin off a thread which continously listens for events from network devices. When an event is received, I use jndi to get info related to the event and use state less session beans to process the event. Everything works fine except that the 'weblogic.security.acl.internal.AuthenticatedUser' objects created during context initialization, will never be garbage collected. All other weblogic objects created during the process (like T3InitialContextFactory etc) are garbabge collected. Any ideas on what is causing this?

    Sebastien,
    Thanks for your reply.  I tried it with RSA1OLD and it gave me the same results.  While working with the individual who upgraded the system, we noticed that his ID would collect the items.  So we are now looking at this from this angle to see why his ID would act differently then mine.
    Thanks,
    Chris

  • # of objects, not the size of the objects, determine size of a Collection

    There are objects, and references to objects.
    Do, List / Set / Map , etc. just maintain a list of 32-bit addresses for their contained objects? What more does a Collection need, memory-wise, to add an element? The size of the objects in a Collection should not matter?
    listA.add(new Integer(2));  // listA size grows by 32-bits
    listB.add(new GiantSizedClass());  // listB size grows by 32-bitsI started thinking about Collections being able to dynamically grow in runtime. I heard this is complex, but it "looks" like all you do is append a memory address and incriment a counter? This sounds quick, easy, and incorrect. I don't understand. Thanks.

    jverd, ejp: you have always been there with quick responses to help me. ejp, i purchased your book "Fundamental Networking in Java". When I start programming again, your book about RMI is on my list. that said.
    with all sincerity. i belived that serliazing objects in byte[] allows for storing objects in objects, not object references in objects. here is my test code (just cut/paste):
    My idea seems similars to me as cryogenics and so that is the theme of my test code (and it is my favourite movie). note: this code is "proof of concept" and is exetremely hacked together.
    public class Test {
      private static HashMap<String, byte[]> barracks = new HashMap<String, byte[]>();
      public static void main(String[] args) {
        try {  new Test().go();  }   catch(Exception e) {  e.printStackTrace();  }
      public void go() throws Exception {
        Employee empl = new Employee("Dallas", "Captain");
        barracks.put(empl.name, cryogenicallyFreeze(empl));
        empl = new Employee("Kane", "Navigator");
        barracks.put(empl.name, cryogenicallyFreeze(empl));
        empl = new Employee("Ripley", "First Officer");
        barracks.put(empl.name, cryogenicallyFreeze(empl));
        empl = new Employee("Ash", "Science Officer");
        barracks.put(empl.name, cryogenicallyFreeze(empl));
        System.out.println("___log file___");System.out.println(".........");
        int id = (int) (System.currentTimeMillis() % barracks.size());
        System.out.println("[Nostromo]: emergency id #"+id+". Re-animation initiated...");
        switch (id) {
          case 0: empl = (Employee) reanimate("Dallas"); break;
          case 1: empl = (Employee) reanimate("Kane"); break;
          case 2: empl = (Employee) reanimate("Ash"); break;
          case 3: empl = (Employee) reanimate("Ripley");
        System.out.println("[Nostromo]: \"" + empl.name + "\" in command.");
        System.out.println("["+empl.name+"]: Hello. I was an object, not a reference, stored in a collection.");
        System.out.println();
        public static Employee reanimate(String name) throws Exception {
            PipedOutputStream pout = new PipedOutputStream();
            PipedInputStream pin = new PipedInputStream(pout);
            byte[] frozenEmpl = (byte[]) barracks.get(name);
            pout.write(frozenEmpl);
            ObjectInputStream ois = new ObjectInputStream(pin);
            return ((Employee) ois.readObject());
        public static byte[] cryogenicallyFreeze(Employee emp) throws Exception {
            PipedOutputStream pout = new PipedOutputStream();
            PipedInputStream pin = new PipedInputStream(pout);
            ObjectOutputStream oos = new ObjectOutputStream(pout);
            oos.writeObject(emp);
            byte[] frozenEmpl = new byte[pin.available()];
            pin.read(frozenEmpl);
            return frozenEmpl;
          public static class Employee implements Serializable {
            String name; String title;
            Employee(String n, String t) {  name = n; title = t;  }
    }"inside" of each byte[] object is an "Employee" object? I can't see it any other way. But I am not the sharpest pencil in the drawer...I'm on vacation from coding for a while. maybe i will get it when i start again. thanks.
    Edited by: rdkh on Jan 29, 2010 3:53 AM

  • Transfer Structure Could not be Collected

    I am trying to activate some Business Content (CO-OM-CCA Costs & Allocations).
    In the “<b>Select Object</b>” Popup, after selecting the required object and I am pressing the “Transfer <b>Selection</b>”. Now I am getting the errors as below
    <i>1) Object 0VALUATION_TEXT               D6B100PCC (Transfer Structure,ISTS) could not be collected for object 0VALUATION_TEXT        D6B100PCC (Transfer Rules,ISMP)
    2) Object '0VALUATION_TEXT               D6B100PCC' (ISTS) of type 'Transfer Structure' is not available in version 'D'
    Message no. RSO252</i>
    This error is coming even I try to activate some DEMO Content (CO-PA Demo Cube).
    I am Grouping the objects with the Option “<b>In Dataflow Before and Afterwards</b>” with Collection Mode as “<b>Collect Automatically</b>”
    I am following the SAP Best Practices - BW Scenario
    https://media.sdn.sap.com/html/submitted_docs/Best_Practices/BW/html/index.htm
    Your help will be appreciated

    Hi Nathan,
    Make sure the objects are active. If so, then goto the infosource -> Extras (from menu) -> Object directory.. -> Transfer rules -> assign the package and it would ask for transfer structure later so assign the package to that as well.
    Bye
    Dinesh

  • How do you add an object to a collection typed witha wildcard?

    Hi All,
    I want to add an object to a collection typed with a wildcard but I can't figure out how to do it.
    I've been thru the generics tutorial again and I now understand that I can't do exactly what I want to and why. However I don't know how to do it right. I copy some code below to show the problem:
    private List<? extends HasCriteria> dataList;
    private HasCriteria dataObject;
    public HasCriteria getDataObject() {
            return dataObject;
    public List<? extends HasCriteria> getCollection() {
            if(dataList==null){
                refreshDataCollection();
            return dataList;
       }/*I want to be able to do the add() below but the generics tutorial assures me, as does the compiler, that I can't. So how do I get an object into the collection?? */
    public void create(){
    getCollection().add(getDataObject());
    }/*I don't understand why I can do this setCollection() call below as the compiler has no idea that the resultList is of type HasCriteria, however I accept that it is ok with this*/
    protected <T extends HasCriteria> void setCollection(Collection<T> m) {
                dataList = new ArrayList<T>(m) ;
                for(HasCriteria t: dataList){
                    t.setStatus(HasCriteria.Status.SAVED);
    public void refreshDataCollection(String jpaQL, List modelParameters){
                Query q = em.createQuery(jpaQL);
                List rl = q.getResultList();
                if(rl != null){
                    setCollection(rl);
                    setModelQuery(jpaQL, modelParameters);  
    }

    class GenGen <K extends Shape> {
      private List<K> dataList;
      private K dataObject;
      public K getDataObject() {
        return dataObject;
      public List<K> getCollection() {
        if(dataList==null){
          //refreshDataCollection();
        return dataList;
      public void create(){
        getCollection().add(getDataObject());
      protected void setCollection(Collection<K> m) {
        dataList = new ArrayList<K>(m) ;
        for(Shape t: dataList){
          // t.setStatus(HasCriteria.Status.SAVED);
      public void refreshDataCollection(String jpaQL, List modelParameters){
        List rl = null;
        setCollection(rl);
    }Note that in that final setCollection, you'll get an unchecked conversion warning, if you haven't turned them off.

  • From which version JVM starts supporting Object bindings in collections.

    from which version JVM starts supporting Object bindings in collections.
    private ArrayList<String> arr = new ArrayList();
    this will bind String objects to arr, nothing else will be stored.
    which version of JVM should I confirm, before using this feature!!!
    please comment.

    thanks MLRon!!!
    They are called "generics", not "bindings". In any case, you need Java 1.5 (also known as Java 5.0).Can generics be used anywhere, or only with collections.
    for eg:-
    public class Abc {
    public Abc(Object obj) {
    if(obj instanceOf String)
    doSomething;
    if(Obj instanceOf Xyz)
    doSomething;
    while creating Abc instance can I use this:-
    Abc<String> abc = new Abc("abc");
    and could we also do this:-
    Abc<String[]> abc = new Abc(new String[5]);
    and what exception does generics generate, if we don't obey them.
    for eg:-
    Abc<String> abc = null;
    abc=new Abc(new Xyz);
    and should generics code be kept in try catch block!!!
    please guide me!!!

  • How to bypass object between two collections in tree binding editor

    We have a object structure like this one
    object 1 -contains-> collection of objects 2 -contains-> object 3 -contains-> collection of objects 4
    we would like to display this object structure in a master - inline table
    The first object is not representative and we don't need it.
    The first collection is our master level. We selected the corresponding iterator in the data control palette and dropped it into our web page as a master-inline table.
    The second object is not representative and we don't need it, but it is there.
    The second collection is our inline table.
    So we would like to have in our table :
    collection of objects -contains-> collection of objects
    The Tree binding editor show the iterator we selected and we setted the first collection as the data collection definition. We were able to set the display attribute we wanted to show and setted the second object (object 3) in the branch rule accessor. This is our first rule.
    iterator -> collection of objects 2 -> object 3
    For the same iterator we were able to select the second object (object 3) as the data collection definition and an attribute to display (it is not relevant for us but ...). We setted the second collection (collection of objects 4
    ) in the branch rule accessor. This is our second rule.
    Our problem is that we are not able to continue our job ...
    The list of iterator don't list the iterator that correspond to the second collection of object nor the data collection definition list the corresponding collection.
    Is it a way to edit these defintions directly in the page definition ?

    We have a object structure like this one
    object 1 -contains-> collection of objects 2 -contains-> object 3 -contains-> collection of objects 4
    we would like to display this object structure in a master - inline table
    The first object is not representative and we don't need it.
    The first collection is our master level. We selected the corresponding iterator in the data control palette and dropped it into our web page as a master-inline table.
    The second object is not representative and we don't need it, but it is there.
    The second collection is our inline table.
    So we would like to have in our table :
    collection of objects -contains-> collection of objects
    The Tree binding editor show the iterator we selected and we setted the first collection as the data collection definition. We were able to set the display attribute we wanted to show and setted the second object (object 3) in the branch rule accessor. This is our first rule.
    iterator -> collection of objects 2 -> object 3
    For the same iterator we were able to select the second object (object 3) as the data collection definition and an attribute to display (it is not relevant for us but ...). We setted the second collection (collection of objects 4
    ) in the branch rule accessor. This is our second rule.
    Our problem is that we are not able to continue our job ...
    The list of iterator don't list the iterator that correspond to the second collection of object nor the data collection definition list the corresponding collection.
    Is it a way to edit these defintions directly in the page definition ?

  • How to properly detect object not found in query?

    Generally, we'd prefer to catch the unchecked exceptions which JDO throws in
    response to database operations that go awry. That said, there's one in
    particular that's bothering us:
    The most important and common one of these which we'd like to know about is
    when a query or getObjectByID() fails because the desired object isn't in
    the DB.
    Currently, an exception is thrown, which we would presumably have to catch
    and parse the message text of to determine if this was a row not found, vs.
    a database problem?
    Please tell me there's a better way to determine if a row(s) isn't(aren't)
    found!
    thanks,
    david

    Patrick -- I believe we just see them in getObjectById(), which is what we
    do most often.
    The subclass of JDODataStoreException that you'll throw is great.
    I'd suggest that a property setting could configure kodo to return null to
    getObjectById() instead -- ONLY for the case of object not found, for those
    of us who might consider this a less-than-truly-exceptional case :)
    thanks much,
    david
    "Patrick Linskey" <[email protected]> wrote in message
    news:[email protected]..
    David,
    Also, a query should return a collection of size zero, and not throw an
    exception.
    Are you seeing exceptions only when executing getObjectById(), or also
    when querying?
    -Patrick
    On Tue, 29 Apr 2003 05:03:23 -0400, david michaels wrote:
    Generally, we'd prefer to catch the unchecked exceptions which JDO
    throws in response to database operations that go awry. That said,
    there's one in particular that's bothering us:
    The most important and common one of these which we'd like to know about
    is when a query or getObjectByID() fails because the desired object
    isn't in the DB.
    Currently, an exception is thrown, which we would presumably have to
    catch and parse the message text of to determine if this was a row not
    found, vs. a database problem?
    Please tell me there's a better way to determine if a row(s)
    isn't(aren't) found!
    thanks,
    david--
    Patrick Linskey
    SolarMetric Inc.

  • Objects not in BI-CONTENT

    Hello Experts, when i replicate a COPA DS to BI7.0 i got the message that some objects r not in active version.But when i tried to search them in BI-CONTENT for activation ....i couldn't find them......r all objects not available in BI-CONTENT ....if so do need to customize a relevant object eg: ZCURTYPE....what is the best solution

    Check the Object status M or A..and simply activate the IO and collect in a transport and then replicate the data sourceu2026

  • RMI server object getting garbage collected

    Hi all,
    I have seen a number of posts regarding the ConnectException and found that this can occur in a number of situations.
    I am having a problem here.
    I am having an RMI server that is always up and running. And the server object gets requests from the client at regular intervals. But, when the server object is not receiving any requests for a long time (ex: 1 day), then I think the remote object itself is getting garbage collected. And so, tough I am able to get the remote reference using the lookup method, I am getting "Connection refused to host: 192.168.0.216; nested exception is:
         java.net.ConnectException: Connection refused" when I call a method using this reference.
    I believe that this is because the server object getting garbage collected as there are no requests for the server since long. Please correct me if my assumption is wrong.
    I want to know, after how much time the server object gets garbage collected if no requests are received. But, my requirement is that the server object should always be available and WHENEVER a client request comes then that should be processed. What should I do to accomplish this task.
    If any one have any suggestions, please reply as soon as possible.
    Thanks in advance,
    srik4u

    You might do some research into using an activatable remote object. You run rmid (the rmi activation deamon) and register a subclass of java.rmi.activation.Activatable (instead of the usual UnicastRemoteObject) with it. With an activatable object, the remote reference to the activatable object doesn't need to have a live object behind it. If an activatable object is not running (ie: it hasn't been constructed yet, or it has been garbage collected ...as in your case) a remote reference to the object can still be exported to a client. The first time the client calls a method on the remote object, the activation service on the server sees the object is not active, and activates the object for the client. If the object is running ...it is rmi as usual. But if it gets gc'd again, the next invocation on the remote object will trigger the activation service again.
    (The above explanation paraphrases author David Flanagan from Java Enterprise in a Nutshell, O'Reilly)
    I have only built one of these, which loosely followed an example from the above mentioned book. It's a whole other ballgame over and above a regular rmi object. But like anything else, if you dig in and get your head wrapped around it, it eventually makes sense. Ok, why lie ...it confused the hell out of me and left me a little queasy. But you know the drill, by the time you build a few of them it will probably seem as easy as mapping the human genome, right? At any rate, it seems like what you might be after ...so have a look at it. Good luck, and wear your lifejacket.

  • Locking objects in nested collections

    Hi,
    I am looking at having a data store in memory which will be made up of nested collections e.g. a hashmap whose values are hashmaps. This data store will be accessed by multiple threads and to avoid threading issues on updates I realize I have to implement some form of locking. However I don't want to coarse grain lock the data store for all accesses when updating and I would prefer to lock on a more finer grained level.
    My question is this, is it possible to place a lock on an object in a collection or those the entire collection have to be locked e.g. given a hashmap within a hashmap is it possible to lock the inner hashmap and not the outer.
    regards
    Noel

    I don't think there could be any issue. Get the object from the hash map and lock it. But the Object should have synchronized methods to handle multiple threads, So that when multiple threads get reference to the same object from the hash map they get a synchronized access to the data or logic in the Object.

  • ODI not able to detect primary/foreign keys from XML- user lacks privilege or object not found

    Hi Guys,
    Im trying to load an xml file with two entities address and employee as below. The topology reverse engineering everything works fine. Im even able to view the xml data  in ODI,  but when i try to load the data from these two entities joining by the schema primary keys and foreign keys which odi created on reverse engineering process for xml, im getting the below error.  Im able to load data from one entity, error only occurs when i use the join odi creates internally to identify the xml components employee and address
    XML File:
    <?xml version="1.0" encoding="UTF-8" ?>
    <EMP>
    <Empsch>
    <Employee>
    <EmployeeID>12345</EmployeeID>
    <Initials>t</Initials>
    <LastName>john</LastName>
    <FirstName>doe</FirstName>
    </Employee>
    <Address>
    <WorkPhone>12345</WorkPhone>
    <WorkAddress>Test 234</WorkAddress>
    </Address>
    </Empsch>
    </EMP>
    Topology:  jdbc:snps:xml?f=C:/Temp/RR/Empsch.xml&s=Empsch&re=EMP&dod=true&nobu=false
    Error Message:
    -5501 : 42501 : java.sql.SQLException: user lacks privilege or object not found: EMPSCH.EMPSCHPK
    java.sql.SQLException: user lacks privilege or object not found: EMPSCH.EMPSCHPK
        at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
        at org.hsqldb.jdbc.JDBCPreparedStatement.<init>(Unknown Source)
        at org.hsqldb.jdbc.JDBCConnection.prepareStatement(Unknown Source)
        at com.sunopsis.jdbc.driver.xml.SnpsXmlConnection.prepareStatement(SnpsXmlConnection.java:1232)
        at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at oracle.odi.core.datasource.dwgobject.support.OnConnectOnDisconnectDataSourceAdapter$OnDisconnectCommandExecutionHandler.invoke(OnConnectOnDisconnectDataSourceAdapter.java:200)
        at $Proxy2.prepareStatement(Unknown Source)
        at oracle.odi.runtime.agent.execution.sql.SQLCommand.doInitializeStatement(SQLCommand.java:83)
        at oracle.odi.runtime.agent.execution.sql.SQLCommand.getStatement(SQLCommand.java:117)
        at oracle.odi.runtime.agent.execution.sql.SQLCommand.getStatement(SQLCommand.java:111)
        at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:81)
        at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:1)
        at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:70)
        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
        at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:577)
        at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:468)
        at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
        at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
        at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
        at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
        at java.lang.Thread.run(Thread.java:662)
    Caused by: org.hsqldb.HsqlException: user lacks privilege or object not found: EMPSCH.EMPSCHPK
        at org.hsqldb.error.Error.error(Unknown Source)
        at org.hsqldb.ExpressionColumn.checkColumnsResolved(Unknown Source)
        at org.hsqldb.QueryExpression.resolve(Unknown Source)
        at org.hsqldb.ParserDQL.compileCursorSpecification(Unknown Source)
        at org.hsqldb.ParserCommand.compilePart(Unknown Source)
        at org.hsqldb.ParserCommand.compileStatement(Unknown Source)
        at org.hsqldb.Session.compileStatement(Unknown Source)
        at org.hsqldb.StatementManager.compile(Unknown Source)
        at org.hsqldb.Session.execute(Unknown Source)
        ... 27 more
    Please advice
    Thanks
    Revanth

    Thats obvious from the xml file contents you have given here. In this xml file You have four complex type. Two of them are employee and address. However the employee doesnot have any relation with address as you have not added the relationship. Thats why its failing. Its not the fault of ODI.
    Also I would suggest not to use auto generated dtd by ODI as you might face problem in future. For example the address type of XML has 8 attributes and 4 of them are not mandatory. That means each of your xml file may have attributes between 4 to 8.  This is where ODI auto generated DTD fails.
    XML Schema complexType Element
    Thanks
    Bhabani

  • ManagedAccounts.aspx Object not reference to object

    SETUP: 2x SharePoint 2010 Servers (14.0.5130.5002); 1x SQL 2008 R2
    I setup alot of managed accounts (about 10) and had them setup to automatically generate the new passwords.  After doing this operation, i can no longer access the managedaccounts.aspx page.  I get object not referenced to object.  I read
    a bunch of forums that said the farm account shouldn't be set to autogenerate passwords and it will cause the error.  Next, what i did is setup a new AD account with static password and made it the farm account.  I then deleted the old farm account
    using powershell.  However, even after doing this, i am still getting the same error.  Any ideas? (everything else is working in the farm as far as i can tell.
    04/12/2011 10:38:06.44  w3wp.exe (0x197C)                        0x1FB0 SharePoint Foundation        
     Runtime                        tkau Unexpected System.NullReferenceException: Object reference not set to an instance of an object.   
    at Microsoft.SharePoint.ApplicationPages.ManagedAccountsDataSourceView.FillDataTable(DataTable table, DataSourceSelectArguments selectArguments)     at Microsoft.SharePoint.WebControls.DataTableDataSourceView.Select(DataSourceSelectArguments
    selectArguments)     at Microsoft.SharePoint.WebControls.AdministrationDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments)     at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments,
    DataSourceViewSelectCallback callback)     at System.Web.UI.WebControls.DataBoundControl.PerformSelect()     at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound()     at System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildContro... 
    04/12/2011 10:38:06.44* w3wp.exe (0x197C)                        0x1FB0 SharePoint Foundation        
     Runtime                        tkau Unexpected ...ls()     at System.Web.UI.Control.EnsureChildControls()    
    at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()    
    at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) a5dbe0de-bab0-48cc-9d99-9c094490a1f1

    Here is another thread about this:
    http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010setup/thread/406f1817-d687-49d7-9691-26e487fb5577
    However, none of suggestions worked for me.  i can't reinstall our staging farm cause we are in the middle of a migration.  I am probbably going to open a case with MS as it doesn't seem like anyone has any idea about the problem.

  • Error encountered while signing. Windows cryptographic service provider reported an error. Object not found. Error code:2148073489. Windows 7, Adobe Reader XI, Symantec PKI, Smart Card and CAC. I have seen other threads for this error but none have a reso

    Error encountered while signing. Windows cryptographic service provider reported an error. Object not found. Error code:2148073489. Windows 7, Adobe Reader XI, Symantec PKI, Smart Card and CAC. I have seen other threads for this error but none have a resolution. Any help would be appreciated.
    Sorry for the long title, first time poster here.

    This thread is pretty old, are you still having this issue?

Maybe you are looking for

  • How to mirror file server?

    I run a small office network with Mac OS X Server 10.4.x doing various services including AFP. My wife and I also work from home and we would like to be able to access remotely various files which are held on the server. We can do this over the inter

  • Add .mac address

    My wife had a Mobile me account with a .me and a .mac email address. She hadn't been using the .mac address but wants to add it in iCloud so she can receive email at both xxx.me and xxx.mac. How does she do that?

  • Why has drag and drop in mail stopped working

    Drag and drop has only stopped working in Mail, it is still functioning in other programs.

  • How do i deal with multiple iPhoto libraries when migrating to Photos

    how do i deal with multiple iPhoto libraries when migrating to Photos

  • Please help- PSE12 keeps crashing

    When I go to use the text tool it crashes- I have an Imac.  Everything is up to date.  Please help me figure out the issue?!?!