Problems deserializing objects with Microsoft VM

I am getting a 30 second delay when deserializing objects: using Java 1.1.8 ObjectOutputStream.defaultReadObject() causes a 30 second delay. This only happens on Internet Explorer using the Microsoft Virtual Machine.Any ideas what's causing this delay?

HERE'S THE CODE ..
URLConnection con = servlet.openConnection();
con.setDoInput(true);
con.setDoOutput(true);
con.setUseCaches(false);
con.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
ObjectOutputStream out = new ObjectOutputStream(SecurityToolkit.openOutputStream(con));
int numObjects = objs.length;
for (int x = 0; x < numObjects; x++) {
out.writeObject(objs[x]);
out.flush();
out.close();
InputStream inStream = SecurityToolkit.openInputStream(con);
ObjectInputStream in = new ObjectInputStream(inStream);
return in;
So .. this is the ObjectInputStream returned and objects are read off this stream. But reading hangs for 30 seconds and then starts reading again.

Similar Messages

  • Calendar object with Microsoft DST patch

    We have been testing changes to the 2007 daylight saving time. We applied Microsoft DST patch to Windows 2000 with Java 1.3.1_18 and Windows 2003 with Java 5.0 Update 8. On both systems the calendar object return time zone of GMT although the system clock is set for Eastern.
    If the Microsoft patch is removed, the correct time zone is again returned. Has anyone else seen this behavior when Windows OS patch is applied?

    > Does anyone know exactly what the problem is (what has Microsoft changed) ?
    a) Go to <http://www.ciac.org/ciac/bulletins/p-006.shtml> and search for the "CAN-" links. Each component has a one paragraph description.
    b) According to <http://patch-info.de/IE/2004/10/12/20-35-16.html> it contains:
    mshtml.dll (6,0,2800,1476 - 29,09,2004)
    urlmon.dll (6,0,2800,1474 - 23,09,2004)
    shdocvw.dll (6,0,2800,1584 - 27,08,2004)
    wininet.dll (6,0,2800,1468 - 23,08,2004)
    browseui.dll (6,0,2800,1584 - 22,08,2004)
    shlwapi.dll (6,0,2800,1584 - 20,08,2004)
    c) Some of the things that could be breaking are DOM references and DHTML, which are advanced features that not every application uses.
    From <http://www.microsoft.com/technet/security/bulletin/MS04-038.mspx>:
    "Caveats: Microsoft Knowledge Base Article 834707 <http://support.microsoft.com/?id=834707> documents the currently known issues that customers may experience when they install this security update. The article also documents recommended solutions for these issues."
    Among other issues, that page says [<b>emphasis</b> added]:
    - After you install the MS04-038 security updates for Internet Explorer, some dynamic HTML (DHTML) <b>drag-and-drop operations are blocked</b> by Internet Explorer.
    - Security update 834707 includes a change to the way that Internet Explorer handles function pointers. This change in functionality occurs when an event handler points directly to a Document Object Model (DOM) function [...] Change in Internet Explorer function pointer behavior <b>causes code to not be executed</b> when an event handler is set to directly reference a DOM function after installing MS04-038 security updates.
    BTW, Note 785308 has been updated with a workaround.
    Regards,
    Sean

  • Problems logging on with microsoft?profile.languag...

    I am having problems logging onto my microsoft account I open skype like normal when I try logging on it brings me to the default log on page and on tops it says. "Sorry, something went wrong. Please try again," well i did and nothing i uninstalled and reinstalled skype and nothing. Please help and thank you in advance

    Try to delete the shared.xml file used by Skype.
    Exit Skype : From the system tray >> right click on the skype icon and click Quit
    Press WinKey + R to open the Run window
    WinKey (the button is located between the left Ctrl and Alt with the Windows logo)
    type: %appdata%\skype and press Enter
    Delete the shared.xml file.
    Restart Skype.
    Regards,
    Tamim
    Location - Dhaka | Bangladesh - Standard Time Zone: GMT/UTC + 06:00 hour
    If one of my replies has adequately addressed your issue, please click on the “Accept as Solution” button. If you found a post useful then please "Give Kudos" at the bottom of my post, so that this information can benefit others.

  • Problems yoga 3 with microsoft office and open office

    Have a problem with running microsoft office and open office on the yoga 3. Both programms are unstable and some calculation sheets in Excel don't even open, while they run perfect on my old HP notebook and the Asus Zenbook of my friend. Does anyone has an idea what could be wrong here?

    Latest Yoga 3 ships with Win 8.1
    Exactly, what error are you getting. Could you get a screenshot?
    Are other/normal excel files working fine?
    Does your file have macros or just complex formulas?
    Could you create a new excel, copy your data into it and try to work with that?
    Current System - Lenovo Y510P, GT755M SLI, 8GB RAM, 1TB HDD + 24GB SSD
    When your plans fail, your Real Story begins!!

  • Problem: View Object with Multiple Updateable Dependent Entity Objects

    I try to implement a ViewObject with 2 updateable entities based on the document:
    http://www.oracle.com/technology/products/jdev/howtos/bc4j/multientityvo.html
    But I get an early NullPointerException:
    As written in the document I overriden the create method in the ViewObjectRowImpl class:
    protected void create(AttributeList attributeList) {
    // The BC4J framework will already have created "blank" entity instances
    System.out.println(getClass().getName()+"create BEGIN");
    LabEventTypeItemImpl newLabEventTypeItem = this.getLabEventTypeItem();
    System.out.println(getClass().getName()+"create 1");
    TariffItemImpl newTariffItem = this.getTariffItem();
    System.out.println(getClass().getName()+"create 2");
    try {
    // Let department "blank" entity instance to do programmatic defaulting
    newLabEventTypeItem.create(attributeList);
    System.out.println(getClass().getName()+"create 3");
    // Let employee "blank" entity instance to do programmatic defaulting
    // passing in new DepartmentImpl instance so its attributes are
    if (newTariffItem == null) // added trace
    System.out.println(getClass().getName()+"create newTariffItem IS NULLLLL");
    // available to the EmployeeImpl's create method.
    newTariffItem.create(newLabEventTypeItem);
    System.out.println(getClass().getName()+"create 4");
    catch (JboException ex) {
    if (newLabEventTypeItem != null)
    newLabEventTypeItem.revert();
    if (newTariffItem != null)
    newTariffItem.revert();
    throw ex;
    catch (Exception otherEx) {
    if (newLabEventTypeItem != null)
    newLabEventTypeItem.revert();
    if (newTariffItem != null)
    newTariffItem.revert();
    throw new RowCreateException(true /* EO Row? */,
    "LabEventTypeItem" /* EO Name */,
    otherEx /* Details */);
    System.out.println(getClass().getName()+"create END");
    The code:
    TariffItemImpl newTariffItem = this.getTariffItem();
    is equivalent in the example to:
    EmployeeImpl newEmployee = getEmployee();
    In my case this.getTariffItem() <=> getEmployee() returns null?
    I get an Exception when I call:
    newTariffItem.create(newLabEventTypeItem);
    Equivalent to:
    newEmployee.create(newDepartment);
    ViewObject partial XML:
    ======================
    <DesignTime>
    <Attr Name="_isCodegen" Value="true" />
    <Attr Name="_version" Value="10.1.2.17.96" />
    <Attr Name="_codeGenFlag2" Value="Access|Coll|Msg" />
    <Attr Name="_isExpertMode" Value="false" />
    </DesignTime>
    <EntityUsage
    Name="LabEventTypeItem"
    Entity="com.photoswing.model.lab.LabEventTypeItem" >
    <DesignTime>
    <Attr Name="_EntireObjectTable" Value="false" />
    <Attr Name="_queryClause" Value="true" />
    <Attr Name="_queryWhere" Value="(((LabEventTypeItem.LAB_EVENT_TYPE_ITEM_ID = TariffItem.LAB_EVENT_TYPE_ITEM_ID)AND (LabEventTypeItem.ITEM_ID = Item.ITEM_ID))AND (LabEventTypeItem.PRINT_SIZE_DPI_ID = PrintSizeDpi.PRINT_SIZE_DPI_ID(+)))AND (LabEventTypeItem.FILM_PRINT_SIZE_DPI_ID = FilmPrintSizeDpi.FILM_PRINT_SIZE_DPI_ID(+))" />
    <Attr Name="_queryOrderBy" Value="Item.ITEM_TYPE_ID,PrintSizeDpi.REQ_MEGA_PIXELS,Item.ITEM_ID" />
    </DesignTime>
    </EntityUsage>
    <EntityUsage
    Name="TariffItem"
    Entity="com.photoswing.model.lab.TariffItem"
    Association="com.photoswing.model.lab.TariffItemLabEventTypeItemFkAssoc"
    AssociationEnd="com.photoswing.model.lab.TariffItemLabEventTypeItemFkAssoc.TariffItemLabEventTypeItem"
    SourceUsage="com.photoswing.model.lab.LabEventTypeItemAndTariffItemVO.LabEventTypeItem"
    Reference="true" >
    <DesignTime>
    <Attr Name="_EntireObjectTable" Value="false" />
    <Attr Name="_queryClause" Value="false" />
    <AttrArray Name="_srcAttributes">
    <Item Value="com.photoswing.model.lab.LabEventTypeItem.LabEventTypeItemId" />
    </AttrArray>
    <AttrArray Name="_dstAttributes">
    <Item Value="com.photoswing.model.lab.TariffItem.LabEventTypeItemId" />
    </AttrArray>
    </DesignTime>
    </EntityUsage>
    Stack trace:
    ===========
    oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for LabEventTypeItem.
         at com.photoswing.model.lab.LabEventTypeItemAndTariffItemVORowImpl.create(LabEventTypeItemAndTariffItemVORowImpl.java:1370)
         at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:353)
         at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:2599)
         at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1048)
         at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:1725)
         at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:1769)
         at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:1749)
         at oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:6230)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:891)
         at oracle.jbo.uicli.jui.JUActionBinding.doIt(JUActionBinding.java:203)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:478)
         at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:306)
         at com.photoswing.component.JUNavBar.doAction(JUNavBar.java:1114)
         at oracle.jbo.uicli.controls.JUNavigationBar.actionPerformed(JUNavigationBar.java:259)
         at com.photoswing.component.JUNavBar.actionPerformed(JUNavBar.java:419)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
         at java.awt.Component.processMouseEvent(Component.java:5100)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java)
         at java.awt.Component.dispatchEvent(Component.java)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:458)
         at com.photoswing.view.start.WaitCursorEventQueue.dispatchEvent(PhotoWebshopDesktop.java:3077)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    ## Detail 0 ##
    java.lang.NullPointerException
         at com.photoswing.model.lab.LabEventTypeItemAndTariffItemVORowImpl.create(LabEventTypeItemAndTariffItemVORowImpl.java:1355)
         at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:353)
         at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:2599)
         at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1048)
         at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:1725)
         at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:1769)
         at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:1749)
         at oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:6230)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:891)
         at oracle.jbo.uicli.jui.JUActionBinding.doIt(JUActionBinding.java:203)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:478)
         at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:306)
         at com.photoswing.component.JUNavBar.doAction(JUNavBar.java:1114)
         at oracle.jbo.uicli.controls.JUNavigationBar.actionPerformed(JUNavigationBar.java:259)
         at com.photoswing.component.JUNavBar.actionPerformed(JUNavBar.java:419)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
         at java.awt.Component.processMouseEvent(Component.java:5100)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java)
         at java.awt.Component.dispatchEvent(Component.java)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:458)
         at com.photoswing.view.start.WaitCursorEventQueue.dispatchEvent(PhotoWebshopDesktop.java:3077)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Thanks
    Frederic

    I get the same error on the scott schema:
    protected void create(AttributeList attributeList) {
    // The BC4J framework will already have created "blank" entity instances
    DeptImpl newDept = getDept();
    EmpImpl newEmp = getEmp();
    try {
    // Let dept "blank" entity instance to do programmatic defaulting
    newDept.create(attributeList);
    // Let emp "blank" entity instance to do programmatic defaulting
    // passing in new DeptImpl instance so its attributes are
    // available to the EmpImpl's create method.
    if (newEmp == null)
    System.out.println(getClass().getName()+".create newEmp IS NULL");
    newEmp.create(newDept);
    catch (JboException ex) {
    newDept.revert();
    newEmp.revert();
    throw ex;
    catch (Exception otherEx) {
    newDept.revert();
    newEmp.revert();
    throw new RowCreateException(true /* EO Row? */,
    "Dept" /* EO Name */,
    otherEx /* Details */);
    The trace shows:
    model.CreateDepartmentAndFirstEmployeeRowImpl.create newEmp IS NULL
    Another problem:
    Refreshing Foreign Key Values in New Employees Once Final Department Id is Assigned:
    Number newDeptno = getDeptno().getSequenceNumber();
    doesn't compile getSequenceNumber() unknown.
    I send you a usecase as a zip file.
    The code for Refreshing Foreign Key in is comment at the end of the DeptImpl file.
    Regards
    Frederic
    I send you the

  • Problem synching ipod with microsoft outlook conacts

    i have a new U2 ipod. i am going crazy trying to synch my microsoft outlook contacts to the ipod. It WAS fine until i updated to the new itunes version yesterday. Now, only some of my contacts in microsoft outlook synch to the ipod. it seems to have randomly decided which contacts i should synch. every time i synch, the same ones stay, but won't add the other's. like i said - this only started when i upgraded to the new itunes version. has anyone else had this problem?

    Yes I am having the same issue. I wish I had not upgraded to 7 because not only I am not able to synch contact (all of them and calendar) I also lost all playlists, movies, original contacts, etc. I cannot reach anyone in phone support and the "genuises" in the store don't have a clue except that they know there are bugs! Why release the **** thing if there are significant problems?
    I hope someone has a solution!!

  • Problem accessing JCOM with Microsoft patch 'Windows2000-KB835732-x86-ENU'

    We have developed an application that uses Weblogic 6.1 and JCOM. This application developed in VC++ uses JCOM's zero client approach to access EJBs deployed on Weblogic. It was working fine.
    But, after installing Microsoft patch 'Windows2000-KB835732-x86-ENU.EXE' on PC, our application is not able to connect to JCOM.
    Can anybody throw some light on what could have been impacted beacuse of this Microsoft patch.

    We are using Microsoft SQL Server 2008 . but it's well with MySQL & JBoss

  • Problems updating ipod with Microsoft Outlook

    It used to work just fine, but now says it needs a more current version of Outlook. I'm not in a position to buy the update right now. Are there special settings I can use to keep me using what I've got?
    Many thanks!

    i hope i can be of some help
    you go into itunes and when you connect your ipod there should be tabs and uncheck the box that tells you to sync contacts.

  • Problems moving  an object with the selection tool

    Im working on CS2 and since last week I have a problem moving objects with the selection tool: To move the object I am obligate to select the object first, and then click at the edge/stroke of the object to drag it. Before that I could move the objects just by selecting somewhere in the object and then just drag it to some other place in one step. I think I maybe changed something in the general preferences....

    Ho thanks a lot Kurt!!!!! Indeed, that was the problem!!! Finally I can work normally again.... (the joker was me...but not on purpose)
    Thanks again!

  • Can't login to Skype with Microsoft account

    Hello!
    My problem is I can't login to Skype (website and program both) with Microsoft account. When I try to login to Skype on website, it says: There is a problem signing in with Microsoft account. Please try again or sign in with Skype details instead.
    Please help me, I tried so many things and nothing works...

    And me. And I tried to reset my password by getting the "password token" emailed to me. Once received I clicked on the link to reset my password and it told me that my "password token wasn't recognized" and to enter it manually. I did that, going as far as to cut and paste the token, and it wasn't "recognized" again.
    And when I was able to sign in, I couldn't get any new contacts, even though I knew they were presently signed in.
    Bring back Windows Live!

  • Problem Embedding 3d objects in Microsoft office 2007 applications

    Dear Experts-
    I'm currently using adobe X professional with the 3d pdf converter from Tetra4d to embed 3d cad models into a pdf file. Maybe i am wrong to say this but i notice one missing feature if it is to be compared with Adobe Professional Extended 9.
    In Adobe professional extended 9 version, i was able to embed 3d cad/object into a microsoft word 2007 by clicking the "embed 3d" on the Acrobat ribbon. However when I recently upgraded to adobe X pro, i cant find this button on the acrobat ribbon.
    Am i having some settings problem or does Adobe Pro X cancelled out the ability to embed 3d object in microsoft office 2007?? Are there any work around methods that enable me to do the same?

    Correct, Updates to Acrobat X Pro to support MS 2010 have occured and they do not support embedding 3D Objects. Curently the level of effort required to develop our own 3D plugin for MS products is quite large and has been out prioritized by other enhancements request by our customers.
    That said, I have personally tried a free Powerpoint plugin that has successfully allowed a PDF to be embeded as a link into a Powerpoint document. Feedback from several customers is that it is also successful.
    The product can be found here -
    http://skp.mvps.org/liveweb.htm
    Tetra 4D is in no way associated to this product, and any questions should be directed to the developer.
    Craig@tetra4d

  • I am having problems interacting with Microsoft Office programs since the last update:cannot create a pdf through the 'print' menu in exel and both Word and Exel docs sent in Mac Mail end up being received as .dat files.

    I am having problems interacting with Microsoft Office programs since the last update:cannot create a pdf through the 'print' menu in exel and both Word and Exel docs sent in Mac Mail end up being received as .dat files.
    Both these situations have cropped up on my MacBook Pro since the last update.
    Thanks for your help.
    Cheers
    Bob

    The 'Winmail.dat' problem has been extensively covered in these forums, I would search for that (a Google search works well) and unfortunately I have not seen the pdf print problem before, but assuming the software is current and functions normally (other than the pdf print problem) I have no suggestion other than the obvious (but time consuming) re-installation of Office.
    I wish I had more

  • Problem extending standard ViewReceiptsSearchVO view object with logic on get method

    Hi All,
    EBS 12.1.3
    Database 11.2.0.3
    I am trying to extend the 3 VOs related to ViewReceiptsSearch.  I extended a seeded ViewReceiptsSearchVO view object.  I haven't made any changes yet, no columns added, nothing altered.  When I run this substitution, the "Received" column is null.  This column in the view used for the view object only selects NULL and uses the getter method for the attribute to populate the value.  The generated extension getter calls getAttributeInternal and skips the logic in the standard getter and the substituted view object is displaying the null in the screen.  The below discussion explains the problem very well except that the original posted had the issue in 11.5.10.2.  I am having this issue with 12.1.3.
    Problem extending standard view object with logic on get method
    The 3 VOs that I am having the problem are:
    ViewReceiptsSearchVO
    ViewReceiptsSearchReqVO
    ViewReceiptsSearchSupplierVO
    What do I need to do to get the "Received" column populated?  Please let me know any additional information you want to troubleshoot the issue.
    Thanks.

    Hi,
    Can you Please Share Extended ViewReceiptsSearchVO.xml and .jpx File?
    Thanks,
    Dilip

  • Anyone know why my itunes says I need to re-install and that it's having problems with Microsoft Visual C

    Anyone know why my itunes says I need to re-install and that it's having problems with Microsoft Visual C++?

    See... Unable to install or open > http://support.apple.com/kb/TS5376
    Also See this User Tip by turingtest2
    https://discussions.apple.com/docs/DOC-6562
    littlered1382 wrote:
      I am also concerned that I will lose all of the things that I have backed up from my phones, purchases, apps, etc.
    It has always been Prudent to Create and Maintain a Backup of anything you would not like to lose.

  • Problems with Microsoft.Update.Session on Windows Server 2012R2

    Hi, I've created a script for collecting Windows Update information using the "Microsoft.Update.Session" comObject.
    I got some problems collecting data from certain servers, but I don't understand what can be wrong.
    In this example I got "DC1" and "DC2", where DC1 is a Windows 2012R2 Core, and DC2 is a Windows 2008R2. Both has installed updates previously.
    The problem is that the Microsoft.Update.Session won't return the installed updates from "DC1", using the identical commands as on "DC2".
    Commands used in this example:
    $updateSession = New-Object -ComObject Microsoft.Update.Session
    $Searcher = $updateSession.CreateUpdateSearcher()
    $PendingUpdates = $Searcher.Search("IsInstalled=0 and Type='Software' and IsHidden=0")
    $PendingUpdates = $PendingUpdates.Updates
    $Installed = $Searcher.QueryHistory(0,1) | select -ExpandProperty Date
    Output from session DC1:
    Windows PowerShell
    Copyright (C) 2014 Microsoft Corporation. All rights reserved.
    PS C:\Users\User> Enter-PSSession -ComputerName DC1 -Credential User
    [DC1]: PS C:\Users\User\Documents> $updateSession = New-Object -ComObject Microsoft.Update.Session
    [DC1]: PS C:\Users\User\Documents> $Searcher = $updateSession.CreateUpdateSearcher()
    [DC1]: PS C:\Users\User\Documents> $PendingUpdates = $Searcher.Search("IsInstalled=0 and Type='Software'
    and IsHidden=0")
    [DC1]: PS C:\Users\User\Documents> $PendingUpdates = $PendingUpdates.Updates
    [DC1]: PS C:\Users\User\Documents> $Installed = $Searcher.QueryHistory(0,1) | select -ExpandProperty Date
    [DC1]: PS C:\Users\User\Documents> $Installed
    [DC1]: PS C:\Users\User\Documents> $Searcher.QueryHistory(0,5)
    [DC1]: PS C:\Users\User\Documents>
    Output from session DC2:
    PS C:\Users\User> Enter-PSSession -ComputerName DC2 -Credential User
    [DC2]: PS C:\Users\User\Documents> $updateSession = New-Object -ComObject Microsoft.Update.Session
    [DC2]: PS C:\Users\User\Documents> $Searcher = $updateSession.CreateUpdateSearcher()
    [DC2]: PS C:\Users\User\Documents> $PendingUpdates = $Searcher.Search("IsInstalled=0 and Type='Software'
    and IsHidden=0")
    [DC2]: PS C:\Users\User\Documents> $PendingUpdates = $PendingUpdates.Updates
    [DC2]: PS C:\Users\User\Documents> $Installed = $Searcher.QueryHistory(0,1) | select -ExpandProperty Date
    [DC2]: PS C:\Users\User\Documents> $Installed
    16. oktober 2014 01:06:52
    [DC2]: PS C:\Users\User\Documents> $Searcher.QueryHistory(0,5)
    Operation : 1
    ResultCode : 2
    HResult : 0
    Date : 16.10.2014 01:06:52
    UpdateIdentity : System.__ComObject
    Title : Security Update for Windows Server 2008 R2 x64 Edition (KB3000869)
    Description : A security issue has been identified in a Microsoft software product that could affect your syste
    m. You can help protect your system by installing this update from Microsoft. For a complete list
    ing of the issues that are included in this update, see the associated Microsoft Knowledge Base a
    rticle. After you install this update, you may have to restart your system.
    UnmappedResultCode : 0
    ClientApplicationID : AutomaticUpdates
    ServerSelection : 1
    ServiceID :
    UninstallationSteps : System.__ComObject
    UninstallationNotes : This software update can be removed by selecting View installed updates in the Programs and Featu
    res Control Panel.
    SupportUrl : http://support.microsoft.com
    Categories : System.__ComObject
    Operation : 1
    ResultCode : 2
    HResult : 0
    Date : 16.10.2014 01:06:38
    UpdateIdentity : System.__ComObject
    Title : Security Update for Microsoft .NET Framework 4.5, 4.5.1 and 4.5.2 on Windows 7, Vista, Server 200
    8, Server 2008 R2 x64 (KB2972107)
    Description : A security issue has been identified in a Microsoft software product that could affect your syste
    m. You can help protect your system by installing this update from Microsoft. For a complete list
    ing of the issues that are included in this update, see the associated Microsoft Knowledge Base a
    rticle. After you install this update, you may have to restart your system.
    UnmappedResultCode : 0
    ClientApplicationID : AutomaticUpdates
    ServerSelection : 1
    ServiceID :
    UninstallationSteps : System.__ComObject
    UninstallationNotes : This software update can be removed by selecting View installed updates in the Programs and Featu
    res Control Panel.
    SupportUrl : http://support.microsoft.com
    Categories : System.__ComObject
    Operation : 1
    ResultCode : 2
    HResult : 0
    Date : 16.10.2014 01:04:30
    UpdateIdentity : System.__ComObject
    Title : Security Update for Windows Vista, Windows 7, Server 2008, Server 2008 R2 (KB2917500)
    Description : Install this update to resolve an issue which requires an update to the untrusted certificate sto
    re on Windows systems and to keep your systems up to date. After you install this update, you may
    have to restart your system.
    UnmappedResultCode : 0
    ClientApplicationID : AutomaticUpdates
    ServerSelection : 1
    ServiceID :
    UninstallationSteps : System.__ComObject
    UninstallationNotes :
    SupportUrl : http://support.microsoft.com
    Categories : System.__ComObject
    Operation : 1
    ResultCode : 2
    HResult : 0
    Date : 16.10.2014 01:04:30
    UpdateIdentity : System.__ComObject
    Title : Security Update for Microsoft .NET Framework 4.5, 4.5.1 and 4.5.2 on Windows 7, Vista, Server 200
    8, Server 2008 R2 x64 (KB2979578)
    Description : A security issue has been identified in a Microsoft software product that could affect your syste
    m. You can help protect your system by installing this update from Microsoft. For a complete list
    ing of the issues that are included in this update, see the associated Microsoft Knowledge Base a
    rticle. After you install this update, you may have to restart your system.
    UnmappedResultCode : 0
    ClientApplicationID : AutomaticUpdates
    ServerSelection : 1
    ServiceID :
    UninstallationSteps : System.__ComObject
    UninstallationNotes : This software update can be removed by selecting View installed updates in the Programs and Featu
    res Control Panel.
    SupportUrl : http://support.microsoft.com
    Categories : System.__ComObject
    Operation : 1
    ResultCode : 2
    HResult : 0
    Date : 16.10.2014 01:03:20
    UpdateIdentity : System.__ComObject
    Title : Security Update for Microsoft .NET Framework 3.5.1 on Windows 7 and Windows Server 2008 R2 SP1 fo
    r x64-based Systems (KB2968294)
    Description : A security issue has been identified in a Microsoft software product that could affect your syste
    m. You can help protect your system by installing this update from Microsoft. For a complete list
    ing of the issues that are included in this update, see the associated Microsoft Knowledge Base a
    rticle. After you install this update, you may have to restart your system.
    UnmappedResultCode : 0
    ClientApplicationID : AutomaticUpdates
    ServerSelection : 1
    ServiceID :
    UninstallationSteps : System.__ComObject
    UninstallationNotes : This software update can be removed by selecting View installed updates in the Programs and Featu
    res Control Panel.
    SupportUrl : http://support.microsoft.com
    Categories : System.__ComObject
    [DC2]: PS C:\Users\User\Documents>
    Anyone got an idea of what might be wrong?
    Thanks!

    Hi Objectclass,
    The updates you query from DC1 (Windows Server core 2012 r2) is different from DC2 (Windows Server 2008 R2), because firstly these two servers have different operating system versions so they apply different updates, and DC1 also have less updates than DC2
    because of server core edition.
    Fewer installed features means fewer features to patch and maintain, Server Core has been available since Windows Server 2008, and historically we've noted as much as 35-45% fewer patches needed on Server Core installations.
    Refer to:
    http://blogs.technet.com/b/keithmayer/archive/2012/10/19/improved-taste-less-filling-more-uptime-server-core-in-windows-server-2012-31-days-of-favorite-features-in-winserv-2012-part-19-of-31.aspx
    If there is anything else regarding this issue, please feel free to post back.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna Wang
    TechNet Community Support

Maybe you are looking for