Hep with New-Object -ComObject InternetExplorer.Application on Powershell ISE

Hi All,
I'm trying to  work on powershell ISE (windows 7) with New-Object -ComObject InternetExplorer.Application. My issue is that I can set a variable like this:
$iemessage = $ie.Document.Body.InnerText
Beacuse for some reason will be a null variable, this is the code that I'm using which do not work on ISE, but it works on the normal porwershell console
$ie = New-Object -ComObject InternetExplorer.Application
$ie.Navigate("http://www.microsoft.com/technet/scriptcenter/default.mspx")
$iemessage = $ie.Document.Body.InnerText
this is the error I get when I use $iemessage | get-member
Get-Member : No object has been specified to the get-member cmdlet.
Thanks in advance for any suggestion.

Hi,
I have no explanation for why this adjustment works (I don't do much IE automation):
$ie = New-Object -ComObject InternetExplorer.Application
$ie.Navigate("http://www.microsoft.com/technet/scriptcenter/default.mspx")
Start-Sleep -Seconds 1
$iemessage = $ie.Document.Body.InnerText
The old adage of 'if you run out of options, just take a nap and see if the problem fixes itself' seems to have worked yet again.
Don't retire TechNet! -
(Don't give up yet - 13,085+ strong and growing)

Similar Messages

  • How to open IE browser in private mode with powershell script? $ie = New-Object -com internetexplorer.application

    How can I open IE, in inPrivate Browsing mode using PowerShell script?
    $ie = New-Object -com internetexplorer.application;
    $ie.visible = $true;
    $ie.navigate2("http://bing.com");
    while ($ie.Busy -eq $true) { Start-Sleep -Milliseconds 1000; }
    Ramana

    Hi
    Venkata,
    I’m writing to just check in to see if the suggestions were helpful. If you need further help,
    please feel free to reply this post directly so we will be notified to follow it up.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna
    TechNet Community Support

  • Execute powershell command (new-object -comObject ...) in management pack

    Hello everyone
    I have a COM Object that want to use it in my management pack. When I write the powershell command "new-object -comObject ... " to create it outside of MP and in a ps1 file it works without any error. However when I write it in my MP, this
    error is showed in event viewer: "Retrieving the COM class factory for component with CLSID {clsID} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))."
    I have to mention that when I use vb script in my MP and using "CreateObject()", I don't have any problem.
    How can I use "new-object -comObject ... " in my management pack?
    thank you all
    Alireza

    Hi Marthijn,
    Actually I don't have any problem with powershell in my management packs. For example I can use "MOM.ScriptAPI"
    to create $oBag and return it to next module. My problem is only with that custom COM object. Interesting thing is that, it
    works fine when I create it in powershell file outside of MP, but when I create it in my MP, that error occures.
    thank you so much
    Alireza

  • NOOB Q: Does the New-Object -ComObject cmdlet not respect -ErrorAction SilentlyContinue?

    I'm trying to test to see if a set of COM interfaces have been registered on the system or not.  In my script I'm running the New-Object command to attempt to instantiate a COM object using the ProgID of each of the COM interfaces but I don't want errors
    displayed to the screen when one of the ProgIDs isn't registered on the system.  The New-Object help says it supports the <CommonParameters> but when I attempt to use "-ErrorAction SilentlyContinue" I still get the errors displayed
    in the PoSh session.
    I'm running the cmdlet below and getting the error output below that.  Is this the correct way to test a set of COM interfaces or is there another option?  If this is the correct way, is there a way to run the command such that it doesn't display
    an error for the COM interfaces that aren't registered?
    Command:
    New-Object -ComObject "myProgID" -ErrorAction SilentlyContinue
    Error:
    New-Object : Retrieving the COM class factory for component with CLSID {00000000-0000-0000-0000-000000000000} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 REGDB_E_CLASSNOTREG)).
    At line:1 char:11
    + $comObj = New-Object -ComObject "Fake_ProgID" -ErrorAction SilentlyContinue
    +           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ResourceUnavailable: (:) [New-Object], COMException
        + FullyQualifiedErrorId : NoCOMClassIdentified,Microsoft.PowerShell.Commands.NewObjectCommand

    yep, use try / catch:
    try { New-Object -ComObject "myProgID" -ErrorAction Stop } catch { "not found" }
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
    Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

  • How can I update JTable with new Object[][]

    Hallo, I have got a problem. I want to update my Jtable with new Values,
    with
    setValueAt(Object aValue, int row, int column)
    i can only update one Object.
    Is it possible to update All Objects "Object[][]"??? in a whole Table
    after I clicked a Button???

    Hi,
    AbstractTableModel's method setValueAt(Object aValue, int row, int column)
    is not the way to fill values into a table. It is the way the table returns the changed values to you after the user has entered something. This is a very common misconception, probably because the method names are so confusing.
    The table model uses getValueAt (int row , int column)
    to fill in its rows and columns.
    If you extend AbstractTableModel to make this method fill in the correct values from you data array. then, when you wish to update the whole table, you can
    1) Put new values in the data array
    2) fireTableValuesChanged
    this will cause the table model to call getValueAt for every row and column.
    good luck.

  • Error with response object in Portal Application Module

    Hi,
    i have a portal application project in NWDS, with a JspDynpage component. I have a jsp that contains this code:
    OutputStream os = componentResponse.getServletResponse().getOutputStream();
    response.addHeader("Content-Disposition", "attachment;filename=" + sTITLE +".pdf");
    response.setContentType("application/pdf");
    os.write(contenido);
    os.close();
    this code open a pdf in new window. In web module project that app runs correctly but in portal application no, it fails in object response. the log (in default trace) doesn´t help me nothing, only sais:
    Jun 6, 2011 3:19:55 PM     com.sap.portal.prt.runtime.servlet_jsp [SAPEngine_Application_Thread[impl:3]_13] Error: >>> JSPCompiler >>> ERROR in Compiling :JSPFileInfo :314221189
    JSP File : /usr/sap/DP4/DVEBMGS40/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/appl.factdist.efact.por/pagelet/inicio.jsp
    Class Name: sapportalsjspInicio
    Java File : /usr/sap/DP4/DVEBMGS40/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/appl.factdist.efact.por/work/pagelet/_sapportalsjsp_inicio.java
    Package Name : pagelet
    Class File : /usr/sap/DP4/DVEBMGS40/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/appl.factdist.efact.por/work/pagelet/_sapportalsjsp_inicio.class
    Is out dated : false [email protected]bbc2b
    In addition, i can use the request object perfectly
    somebody knows what's happening??
    Thank you,
    Fernando

    Hi,
    You shouldn't use the response object directly
    Instead, create a new HttpServletResponse reference from the componentRequest object.
    Try using the following:
    long length = file.length(); // where 'file' is a File() object of your sTITLE +".pdf" file
    // Create the byte array to hold the data
    byte[] bytes = new byte[(int)length];
    int offset = 0;
    int numRead = 0;
    while (offset < bytes.length && (numRead=is.read(bytes, offset, bytes.length-offset)) >= 0) {
        offset += numRead;
    //The most important part:
    HttpServletResponse res = componentRequest.getServletResponse(true);
    res.setContentType("application/pdf");
    res.addHeader("Content-Disposition", "attachment;filename=" + sTITLE +".pdf");
    res.getOutputStream().write(bytes);

  • Newbie problem with new objects and tools.

    in chapter 4 of the after effects essential training series from Lynda.com in the section about controlling animation with the pick whip. when he applies the null object the red bar immediately populates (correct usage?) the timeline to the right. when i apply the null object it's hidden to the left, under all the layer info, and i need to drag it out into view.
    ive found that whenever i have a problem, e.g., im using a tool and nothing is happening, it always comes down to this same thing: the layer is not with everything else and i need to drag it out into view.
    not only am i new to mac, but im only marginally literate and a total newb to anything more advanced than iphoto, any advice would be appreciated.

    Rick Gerard wrote:
    I'm not understanding what you are asking.
    If you have a layer in the timeline, a null, and the parenting column is visible you simply click on the pickwhip next to the layer and drag it to the name of the null layer. The Parenting box now says that Layer 1 is connected to Null 1.
    Now, when you move the null, the layer will move.
    i understand what they do and how to set them up.
    my question is more specific, but also applies more generally to other tools and layers. when Ian creates his null layer in the video (as well as other layers ive seen him create) the red bar that represents his null layer immediately appears in the timeline with the begining of the red bar at the left end of the work area. it is fully visible. when i create one the file shows up in the list of layers on the panel to the left of the time line, but it is not visible in the comp window and the red bar is hidden to the left side of the visible timeline to where you have to click its right end and drag it out from behind the panel on the left.
    this has happened with other layers ive created using other tools and before i figured out what to look for it was very frustrating. now, whenever i can't find something, or a tool that im using isnt doing anyhting (besides creating more and more layers) ive learned to look and see if theyre just hidden. it seems like it's probably a setting. but clearly, something is different: he creates a null layer and it appears in the timeline, and mine appear slid to the left.

  • Cnfiguration of OAM integrating OID with new Object class

    Hi,
    OID/OAM are installed in our environment. We need to add additional attributes with inetorgperson class. We are currently creating new class inheriting inetorgperson class in that.
    Do we require Identity Server setup of OAM to re-run for OAM to identify this new class ?
    Thanks.

    Yes you would have to reconfigure to recognize new Objectclass in OAM

  • Internetexplorer.application performance

    Hi
    I made a small script that displays some information via HTML and Internet Explorer:
    $ie = New-Object -com internetexplorer.application;
    $ie.navigate2("about:blank")
    $ie.document.body.innerHTML = $html
    $ie.visible = $true
    $ie.MenuBar = $false
    $ie.AddressBar = $false
    $ie.StatusBar = $false
    $ie.ToolBar = $false
    This works well. The problem is that i made some buttons on the page that should refresh the content. But when powershell needs to pull that information:
    do {
    if ($ie.Document.getElementByID("finished").value -eq 1) {
    $skip = $true
    if ($ie.Document.getElementByID("autorefresh").value -eq 1) {
    $autorefresh = $true
    Start-Sleep -Milliseconds 500
    } until (($autorefresh -eq $true) -or ($skip -eq $true))
    I get a high CPU load (40-45%).
    Is this normal, or should it be done another way?

    Hi ThomasICG,
    I am trying to involve someone familiar with this topic to further look at this issue.
    There might be some time delay. Appreciate your patience.
    If you have any feedback on our support, please click here.
    Best Regards
    Anna
    TechNet Community Support

  • New-object itextsharp causes an error

    Hi, i am trying to use powershell to read a pdf document with the following code
    [System.Reflection.Assembly]::LoadFrom(".\itextsharp.dll")
    $reader = New-Object iTextSharp.text.pdf.PdfReader -ArgumentList ".\201408_issue.pdf"
    for ($page = 1; $page -le $reader.NumberOfPages; $page++) {
    $lines = [char[]]$reader.GetPageContent($page) -join "" -split "`n"
    foreach ($line in $lines) {
    if ($line -match 'test')
    $matches[1]
    I get an error though, has anyone encoutnered this? Thanks
    New-Object : Exception calling ".ctor" with "1" argument(s): "Object reference not set to an instance
    of an object."
    At C:\PsScripts\test\PDFReader\PDFReader.ps1:2 char:11
    + $reader = New-Object iTextSharp.text.pdf.PdfReader -ArgumentList ".\201408_RIN_i ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidOperation: (:) [New-Object], MethodInvocationException
    + FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObject
    Command

    PS C:\PsScripts\test\PDFReader> $error[0].Exception | Format-List * -Force
    ErrorRecord : Exception calling ".ctor" with "1" argument(s): "Object reference not
    set to an instance of an object."
    StackTrace : at System.Management.Automation.DotNetAdapter.AuxiliaryConstructorInvo
    ke(MethodInformation methodInformation, Object[] arguments, Object[]
    originalArguments)
    at
    System.Management.Automation.DotNetAdapter.ConstructorInvokeDotNet(Type
    type, ConstructorInfo[] constructors, Object[] arguments)
    at
    Microsoft.PowerShell.Commands.NewObjectCommand.CallConstructor(Type
    type, ConstructorInfo[] constructors, Object[] args)
    WasThrownFromThrowStatement : False
    Message : Exception calling ".ctor" with "1" argument(s): "Object reference not
    set to an instance of an object."
    Data : {}
    InnerException : System.NullReferenceException: Object reference not set to an instance
    of an object.
    at iTextSharp.text.pdf.PdfReader.ReadObjStm(PRStream stream,
    IntHashtable map)
    at iTextSharp.text.pdf.PdfReader.ReadDocObj()
    at iTextSharp.text.pdf.PdfReader.ReadPdf()
    TargetSite : System.Object AuxiliaryConstructorInvoke(System.Management.Automation.Met
    hodInformation, System.Object[], System.Object[])
    HelpLink :
    Source : System.Management.Automation
    HResult : -2146233087
    Any meaning to you?

  • New LabHSM Toolkit - Agile development of complex event-driven maintainable LabVIEW applications with active objects / actors based on a universal Hierarchical State Machine / statechart template.

    Dear Fellow LabVIEW programmers:
    Most of the systems you deal with are reactive. It means that their
    primary function is constant interaction with their environment by
    sending and receiving events. But most likely, they can have something
    happening inside them too, even when they are not processing messages
    received from outside. So, such systems have to continuosly react to
    external and internal stimuli. Right? Moreover, most likely, they
    consist of subsystems that are reactive too and, in turn, can have
    their own "life", to an extent independent from other parts (with
    which they still communicate, of course). Reactive (event-driven)
    systems are more naturally modeled with active objects. So, why then
    should we try to model and code them with GOOP and its passive
    ("dead"!) objects?
    "Flat" State Machines have been known for decades to have severe
    limitations. It's been more than 20 years since Dr. Harel invented
    Hierarchical State Machines (statecharts) to fight those limitations.
    Then why does NI still tout the same old good Moore FSM as the
    ultimate tool for event-driven programming in LabVIEW in its $995
    State Diagram KIt?
    The LabHSM toolkit we are happy to present, makes it possible to
    easily create and then maintain complex event-driven applications in
    LabVIEW as a collection of HSM-driven active object VIs using a higher
    level of abstraction and agile software development methodologies.
    These active object VIs are created based on a universal Hierarchical
    State Machine ( HSM or statechart ) template. So. all your code looks
    similar regardless of its functionality!
    We all love just jump to code, right? However, to be good boys, we
    need to do design first. Then implement it in code. If the logic is
    modified we need to redo the design first and then redo the code. When
    using LabHSM where behavior information is abstracted into a separate
    HSM data file editable with a supplied editor, there is no need for
    coding separate from design any more. The modified behavior becomes
    code automatically as soon as the HSM file is saved. Design is code!
    The implementation basically follows Dr. Samek's Quantum Programming
    paradigm. (see http://www.quantum-leaps.com). However, as already
    mentioned, LabHSM stores the behavior information in a file separate
    from the code itself. It also adds state dependent priorities to
    events, a separate queue for public events/messages, and, of course,
    some LabVIEW specific code like capturing front panel user events and
    putting them into the private Events queue. Communication and
    instantiation functions are also rather specific for LabVIEW.
    It is available for UNLIMITED PERIOD trial. Please visit
    http://www.labhsm.com for details and download. The site also contains
    references which you may want to check to learn more about
    hierarchical state machines and active object computing.
    Since this is our debut we will appreciate any comments and
    suggestions. Our contact information is available on our site, of
    course.
    Have a G'day!

    Symtx is currently hiring the following position. Please contact me if interested.
    Amy Cable
    Symtx, HR
    [email protected]
    Symtx, the leading supplier of functional test equipment, hires the brightest & most talented engineering professionals to design & manufacture complex custom electronic systems for advanced technology leaders in the defense, aerospace, communications, medical, transportation & semiconductor industries. Symtx’ challenging & dynamic work environment seeks to fill openings with highly qualified electronic engineering design professionals.The ideal candidate will be responsible for defining the requirements, software design and code development, and integration of test control software for custom functional test systems. Candidate should be familiar with data acquisition concepts, instrument control, complex test, measurement and calibration algorithm development and definition and implementation of control interfaces to hardware. Prefer familiarity with instrument control via GPIB, VXI, MXI, RS-232 desirable. Requires BS/MSEE and 3 -7+ yrs of experience in one or several of the following test applications in a Windows NT/2000/XP environment using Labwindows CVI, TestStand, Labview, Visual Basic, C++ and knowledge of RF systems is a plus. Job responsibilities will include software design, development, integration, team leadership, and interfacing with customers( includes PDR’s & CDR’s).

  • Internetexplorer.application activex component can't create object

    I am getting the infamous 429 error with a new image of Windows 2003 Server.
    I am sure this is an issue with the Windows 2003 Server image, so I have to figure out a work around to get this  to work.  No updates to the image are possible.  I have been searching for a solution for a couple of days and nothing I have
    tried has worked so any assistance you can provide is most welcome.
    This script works just fine on my Windows 7 machine and used to work just fine on the previous image of Windows 2003 Server I had which is no longer available:
    Err.Number: 429
    Err.Description: "ActiveX component can't create object"
    Here is the code:
    On Error Resume Next
    Set fsoObj = CreateObject("Scripting.FileSystemObject")
    Dim objIE
    Err.Clear
    Set objIE = CreateObject( "InternetExplorer.Application" )
    If ( Err.Number <> 0 ) Then
       WScript.Echo "Number (" & Err.Number & ")" & vbCrLf _
                  & "Description [" & Err.Description & "]"
       WScript.Quit
    End If
    objIE.Navigate "about:blank"
    objIE.Width          = 200
    objIE.Height         = 300
    Do Until objIE.ReadyState = 4
       WScript.Sleep 200
    Loop
    Do While objIE.Busy
       WScript.Sleep 200
    Loop
    bodyStr = javaScriptStr & "<table align='center'><tr><td align='center' colspan='2'>Click Run or Cancel</td></tr>" _
            & "<tr align='center'>" & vbCrLf _
            & "<td colspan='2'>" & vbCrLf _
            & "<input type='submit' value=' Run ' " & "OnClick='VBScript:OK.Value=1'>" & vbCrLf _
            & " &nbsp; &nbsp; " & vbCrLf _
            & "<input type='submit' value=' Cancel ' " & "OnClick='VBScript:CANCEL.Value=1'>" & vbCrLf _
            & "</td></tr>" & vbCrLf _
            & "</table>" & vbCrLf _
            & "<input type='hidden' id='CANCEL' name='CANCEL' value='0'>" & vbCrLf _
            & "<input type='hidden' id='OK' name='OK' value='0'>"
    objIE.Document.Body.InnerHTML = bodyStr
    objIE.Visible = True
    Do While ( ( objIE.Document.All.CANCEL.Value = 0 ) AND ( objIE.Document.All.OK.Value = 0 ) )
       WScript.Sleep 200
       If Err Then ' user clicked red X (or alt-F4) to close IE window
          objIE.Quit
          Set objIE = Nothing
          logFile.WriteLine Now & " - aborting input!"
       End if
    Loop
    objIE.Quit

    I tested this cleaned up version on WS2003.  It works exactly the same way as it does on Windows 8 and Windows 7.
    Set objIE = CreateObject( "InternetExplorer.Application" )
    objIE.Navigate "about:blank"
    objIE.Width = 200
    objIE.Height = 300
    Do While objIE.Busy
    WScript.Sleep 200
    Loop
    bodyStr = javaScriptStr & "<table align='center'><tr><td align='center' colspan='2'>Click Run or Cancel</td></tr>" _
    & "<tr align='center'>" & vbCrLf _
    & "<td colspan='2'>" & vbCrLf _
    & "<input type='submit' value=' Run ' " & "OnClick='VBScript:OK.Value=1'>" & vbCrLf _
    & " &nbsp; &nbsp; " & vbCrLf _
    & "<input type='submit' value=' Cancel ' " & "OnClick='VBScript:CANCEL.Value=1'>" & vbCrLf _
    & "</td></tr>" & vbCrLf _
    & "</table>" & vbCrLf _
    & "<input type='hidden' id='CANCEL' name='CANCEL' value='0'>" & vbCrLf _
    & "<input type='hidden' id='OK' name='OK' value='0'>"
    objIE.Document.Body.InnerHTML = bodyStr
    objIE.Visible = True
    On Error Resume Next
    Do While ( ( objIE.Document.All.CANCEL.Value = 0 ) AND ( objIE.Document.All.OK.Value = 0 ) )
    If Err Then ' user clicked red X (or alt-F4) to close IE window
    WScript.Echo Now & " - aborting input!"
    WScript.Quit
    End if
    WScript.Sleep 200
    Loop
    WScript.Echo Now & " - EXITING!"
    objIE.Quit
    ¯\_(ツ)_/¯

  • Error when trying to create a new object that begins with Z

    Hi forum,
    When I try to create a new BW object that begins with Z (infofuente, infoarea, component application), I skip the following error.
    Namespace''is not a valid namespace BI
    Message no. R7017
    Diagnosis
    Namespace''must be entered in both the BI RSNSPACE table and the basic table TRSNSPACE or the view V_TRNSPACE. You also have to enter the relevant generation namespace '& V2' in TRNSPACE table. This value is taken from table RSNSPACE.
    Both namespaces must be set to 'Changeable' - providing they are not empty.
    Response System
    You can not edit or create an object in this namespace.
    Procedure
    Use a different name.
    Or contacct your system administrator. He / she can switch to the namespaces' Changeable 'using SE06 transaction, or - if they do not already exist - enter them in the table above named using sm30 transaction.
    If the namespace '& V1' is empty, then the problem is with the generation namespace '/ BIC /'.
    Procedure for System Administration
    I've been following steps said to me, and yet I still persisted error. I am probably missing something ... that may be?
    A greeting,

    Hi,
    Try to create the objects again and take the screenshot of SU53 when you get the error and see the authorization object for which you are getting the error here.
    It is possible that you dont have development authorization.
    Also the issue could be that the system is not configured to create the objects begining with Z.
    Check this with basis as well.
    Thanks
    Ajeet

  • HOW DO I SAVE APPLICATIONS INSTALILNG A NEW HARD DRIVE WITH NEW OS?

    I recently purchased a used G5 that is loaded with programs. I am getting signs that the hard drive is getting ready to crash. I installed a 1TB hard drive and formatted it. What I want to do is install leopard on the TB hard drive but still transfer all the applications and programs over from the old HD. A lot of the programs I don't have serial codes for. Can I do a new OS instilation on TB HD with new users and everything and still transfer all the programs over that I don't have serials for and them work perfectly without entering in new serials.

    No. Either ask the original seller for the discs, manuals, and serial numbers, and ensure they destroy their copies of the data, or purchase your own license for the software that they did not supply on disc and/or legitimate license code. The license to the software is limited to whomever has the software in hand with its codes. Purchasing Leopard will only entitle you to the contents of Leopard. Leopard retail on its own does not include iLife, except for iTunes, though Apple does have a Mac Box Set which includes iLife and iWork. The original discs that came with the Mac still have a hardware test which you can't get other than by requesting them from the original seller.

  • HFM EPMA application deployment aborted with error Object reference not set

    HFM EPMA application deployment aborted with error Object reference not set to an instance of an object when trying to validate/deploy any HFM application in EPMA. This has started happending after we have deleted a Dimension in one of HFM applications. The deleted dimension is a shared dimension.
    We are facing this issue in a distributed environment with version 11.1.2.1. This applications are built here newly.
    Following is the error log entry
    16] ERROR Object reference not set to an instance of an object.
    at Hyperion.DimensionServer.CompareCriteria.<>c__DisplayClass5.<GetMemberClassProperties>b__4(Dimension dim)
    at Hyperion.DimensionServer.Library.IterateDimensions(Action`1 action)
    at Hyperion.DimensionServer.CompareCriteria.GetMemberClassProperties(ApplicationClass appClass, DimensionClass dimClass, MemberClass mbrClass)
    at Hyperion.DimensionServer.CompareCriteria.GetCommonMemberClassProperties(RelationshipMember fromMember, RelationshipMember toMember, ApplicationClass fromAppClass, ApplicationClass toAppClass)
    at Hyperion.DimensionServer.CompareMemberEvaluator.CompareProperties(RelationshipMember fromMember, RelationshipMember toMember, ApplicationClass fromAppClass, ApplicationClass toAppClass, List`1 propertyDifferences)
    at Hyperion.DimensionServer.CompareMemberEvaluator.Compare(RelationshipMember sourceMember, Application sourceApp, Application targetApp, Boolean firstPass, Int32 level, Boolean continueCheckingAfterDifferences)
    at Hyperion.DimensionServer.CompareMemberEvaluator.Compare(List`1 sourceTopMembers, List`1 targetTopMembers, Application sourceApp, Application targetApp, Boolean firstPass, Boolean continueCheckingAfterDifferences)
    at Hyperion.DimensionServer.CompareMemberEvaluator.Execute(List`1 fromTopMembers, List`1 toTopMembers, Dimension fromDimension, Dimension toDimension, Boolean continueCheckingAfterDifferences)
    at Hyperion.DimensionServer.CompareDimensionEvaluator.Execute(Dimension fromDimension, Dimension toDimension, ApplicationClass fromAppClass, ApplicationClass toAppClass)
    at Hyperion.DimensionServer.CompareEngine.CompareDimensions(Dimension fromDimension, Dimension toDimension)
    at Hyperion.DimensionServer.CompareEngine.StartCompare()
    at Hyperion.DimensionServer.Validations.HFMApplicationValidation.CheckStaticDimension(Library snapShot, Dimension dim, Application oldApp, String[] skipProperties)
    at Hyperion.DimensionServer.Validations.HFMApplicationValidation.CheckStaticDimensions(Application baselineApp)
    at Hyperion.DimensionServer.Validations.ApplicationValidation.ValidateAgainstBaseline()
    at Hyperion.DimensionServer.Validations.HFMApplicationValidation.InternalValidate()
    at Hyperion.DimensionServer.Validations.ApplicationValidation.Validate()
    at Hyperion.DimensionServer.Validations.ApplicationValidation.<ValidateAsync>b__0()System.NullReferenceException: Object reference not set to an instance of an object.
    at Hyperion.DimensionServer.CompareCriteria.<>c__DisplayClass5.<GetMemberClassProperties>b__4(Dimension dim)
    at Hyperion.DimensionServer.Library.IterateDimensions(Action`1 action)
    at Hyperion.DimensionServer.CompareCriteria.GetMemberClassProperties(ApplicationClass appClass, DimensionClass dimClass, MemberClass mbrClass)
    at Hyperion.DimensionServer.CompareCriteria.GetCommonMemberClassProperties(RelationshipMember fromMember, RelationshipMember toMember, ApplicationClass fromAppClass, ApplicationClass toAppClass)
    at Hyperion.DimensionServer.CompareMemberEvaluator.CompareProperties(RelationshipMember fromMember, RelationshipMember toMember, ApplicationClass fromAppClass, ApplicationClass toAppClass, List`1 propertyDifferences)
    at Hyperion.DimensionServer.CompareMemberEvaluator.Compare(RelationshipMember sourceMember, Application sourceApp, Application targetApp, Boolean firstPass, Int32 level, Boolean continueCheckingAfterDifferences)
    at Hyperion.DimensionServer.CompareMemberEvaluator.Compare(List`1 sourceTopMembers, List`1 targetTopMembers, Application sourceApp, Application targetApp, Boolean firstPass, Boolean continueCheckingAfterDifferences)
    at Hyperion.DimensionServer.CompareMemberEvaluator.Execute(List`1 fromTopMembers, List`1 toTopMembers, Dimension fromDimension, Dimension toDimension, Boolean continueCheckingAfterDifferences)
    at Hyperion.DimensionServer.CompareDimensionEvalua
    There was a bug in earlier releases for deleting dimensions with children, making the children orphans.
    Heard from release notes that it has been fixed, but we are seeing this issue in 11.1.2.1 again.
    Please help us out in resolving this error.

    Hi,
    I always ask this first, have you installed all the planning and epma patches as there have been many issues addressed in 9.3.1
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for