Reference Variable Set Within CFDIV

I've got a .cfm page in which a CFDIV is called near the top.
Variables are set within the CFDIV file that I then want to
reference further down the calling .cfm page.
Does anyone know a way to reference the values of the
variables set within the CFDIV without using javascript? I'd like
to reference the variables within a CFIF tags.

Thanks Gordon,  it seems my syntax was correct but my logic failing.  My filterFunction was (item[fieldName]!="" || item[fieldName]!=null) instead of &&  I had no confidence in the syntax. Hate it when I doubt myself
Thanks again. This is going to be a pretty slick SQL generator for reporting once complete. Here we are selecting the WHERE criteria for the fields included in the report.  My previous question (unanswered) instead of rendering ComboBox for each row, only fields with lookup tables would have had a ComboBox and these other potentially null fields were going to render TextInputs - but never could get that working with dynamic dataProviders.  This may be a better solution, just need to make the non-lookup ComboBoxes editable.
Thanks again.

Similar Messages

  • Should i set null those reference variable object created inside of funtion

    hi,
    I create object inside of a member function . after finish execute that method those variable should set null to be garbage collection or no need ?
       public void sampleFun(){
           Object obj = new Object();
            // some work
         obj = null ;  //// ----------- > this need or not ?
    }after finished that method execution should i set
       obj = null;explicitly or no need ?? plz

    No, there's no need.
    When the reference variable passes out of scope, it ceases to exist, so it doesn't reference the object any more. As soon as an object has no references pointing to it, it is available for garbage collection.
    Your rule of thumb should be: don't do anything about garbage collection unless you know why you're doing it. And even then don't do it unless you can prove you need to.
    Dave.

  • Object Reference Not Set To An Instance Of An Object - Outlook Add-In - Add-In Express

    Hi,
    My Add-In has been developed in VS2010 using the Add-In Express pack.
    Its a very simple add-in that shows an IT support ticket email detailing PC information. To use it, following installing the add-in, the user must select the tab in outlook and click on the Send IT Support Email button which will generate an Outlook Email
    Template with specific information about the PC that I pull using VB.
    It works fine in Windows 7 & 8, but throws an 'Object Reference Not Set To An Instance Of An Object' exception in Windows XP. Screenshot is shown below:
    The code is below
    Imports System.Runtime.InteropServices
    Imports System.ComponentModel
    Imports System.Drawing
    Imports System.Windows.Forms
    Imports AddinExpress.MSO
    Imports System.Object
    Imports System.Net
    Imports System.Environment
    Imports System.Net.NetworkInformation
    Imports System.Windows.Forms.Application
    Imports Microsoft.Office.Interop.Outlook
    Imports outlook = Microsoft.Office.Interop.Outlook
    'Add-in Express Add-in Module
    <GuidAttribute("735B7BC8-DD2F-44D8-BC37-30D86769C065"), ProgIdAttribute("$safeprojectname$.AddinModule")> _
    Public Class AddinModule
    Inherits AddinExpress.MSO.ADXAddinModule
    #Region " Add-in Express automatic code "
    'Required by Add-in Express - do not modify
    'the methods within this region
    Public Overrides Function GetContainer() As System.ComponentModel.IContainer
    If components Is Nothing Then
    components = New System.ComponentModel.Container
    End If
    GetContainer = components
    End Function
    <ComRegisterFunctionAttribute()> _
    Public Shared Sub AddinRegister(ByVal t As Type)
    AddinExpress.MSO.ADXAddinModule.ADXRegister(t)
    End Sub
    <ComUnregisterFunctionAttribute()> _
    Public Shared Sub AddinUnregister(ByVal t As Type)
    AddinExpress.MSO.ADXAddinModule.ADXUnregister(t)
    End Sub
    Public Overrides Sub UninstallControls()
    MyBase.UninstallControls()
    End Sub
    #End Region
    Public Shared Shadows ReadOnly Property CurrentInstance() As AddinModule
    Get
    Return CType(AddinExpress.MSO.ADXAddinModule.CurrentInstance, AddinModule)
    End Get
    End Property
    Private Sub AddInModule_AddInInitiatize(ByVal sender As Object, ByVal e As EventArgs) _
    Handles MyBase.AddinInitialize
    'Outlook 2010 = 14
    If Me.HostMajorVersion >= 14 Then
    AdxOlExplorerCommandBar1.UseForRibbon = False
    End If
    End Sub
    Public ReadOnly Property OutlookApp() As Outlook._Application
    Get
    Return CType(HostApplication, Outlook._Application)
    End Get
    End Property
    'Gets the MAC Address from the NIC Information
    Function getMacAddress()
    Dim nics() As NetworkInterface = _
    NetworkInterface.GetAllNetworkInterfaces
    Return nics(0).GetPhysicalAddress.ToString
    End Function
    Sub CreateTemplate()
    Dim sHostName As String
    Dim sDomain As String
    Dim sUserName As String
    Dim sOS As String
    Dim s64 As String
    Dim sMAC As String
    Dim host As String = System.Net.Dns.GetHostName()
    Dim LocalHostaddress As String = System.Net.Dns.GetHostEntry(host).AddressList(1).ToString()
    Dim MyItem As Outlook.MailItem
    'Finds the PC Number
    sHostName = Environ$("computername")
    'Finds the Domain
    sDomain = Environ$("userdomain")
    'Finds the Username logged into the PC
    sUserName = (Environment.UserDomainName & "\" & Environment.UserName)
    'Finds the Operating System
    sOS = (My.Computer.Info.OSFullName)
    'Shows the results collected from the getMacAddress Function in the sMac variable
    sMAC = getMacAddress()
    'Finds the Architecture of the Operating System - x86 or x64
    If (Environment.Is64BitOperatingSystem) Then
    s64 = ("64bit")
    Else
    s64 = ("32bit")
    End If
    'Creates a Template Email
    MyItem = OutlookApp.CreateItem(Outlook.OlItemType.olMailItem)
    'Configures the Sender as [email protected]
    MyItem.To = "[email protected]"
    'Shows the template
    MyItem.Display()
    'Shows all of the string in the Email Body
    MyItem.HTMLBody = String.Concat("<b><u>IT SUPPORT TICKET</u></b>", "<br/><br/>", "<tr><b>PC Number: </b></tr>", sDomain, "\", sHostName, "<b></b>", "<br/><br/>", "<b>Username: </b>", sUserName, "<b></b>", "<br/><br/>", "<b>OS Version: </b>", sOS, s64, "<b></b>", "<br/><br/>", "<b>IP Address: </b>", LocalHostaddress, "<b></b>", "<br/><br/>", "<b>MAC Address: </b>", sMAC, "<b></b>", "<br/><br/>", "<b>Comment:</b>", "<br/>", "<i>Please give a brief description of your problem attaching a screen shot if possible</i>", "<br/><br/>") & MyItem.HTMLBody
    End Sub
    Private Sub AdxRibbonButton1_OnClick(ByVal sender As Object, ByVal control As IRibbonControl, ByVal pressed As Boolean) Handles AdxRibbonButton1.OnClick
    'Runs CreateTemplate
    CreateTemplate()
    End Sub
    Private Sub AdxCommandBarButton1_Click(ByVal sender As Object) Handles AdxCommandBarButton1.Click
    'Runs CreateTemplate
    CreateTemplate()
    End Sub
    End Class
    I would appreciate any help with this whatsoever as I am pulling my hair out!!
    Many Thanks!!
    Chris

    Hi,
    Welcome to MSDN forum.
    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses
    the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Because your Add-in is developed using Add-in Express which is third-party, I suggest consulting Add-in Express forum:
    http://www.add-in-express.com/forum/index.php for better support.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How do I get at a variable set in the On Start macro?

    Within the On Start macro of an Access Web App, I set the variable CurrentUserEmailAddress to =UserEmailAddress.  I would like to be able to access this variable somehow from a table On Update event macro.  How can I pass this variable along?

    For those following this thread, some of the suggestions don't apply to Access Web Apps, unfortunately.
    Access Web Apps have an On Start macro (accessible from the 'Advanced' button on the Home ribbon), which runs when the app is launched in the browser.  This is a UI Macro.
    The OnUpdate event is a table event, and runs a data macro.
    As you've noticed, you can't access the UserEmailAddress() function in a data macro, and you also can't access variables set in a UI Macro.
    UI Macros and data macros run in different contexts (the former locally in the browser, and the latter on the server) so the sharing available between them is limited.
    There may be alternatives, but one possibility is to keep a table to hold variables (in this case just CurrentUserEmailAddress, but if you have more, you could use the same table).
    I would try creating a table called Vars, with a column called CurrentUserEmailAddress.  Add a single row to it (the value for CurrentUserEmailAddress is not critical, since we will override it in the OnStart macro).
    Create a data macro called SetEmailVar, that takes a Value as a parameter.  It will set the value in the Vars table.
    <?xml version="1.0" encoding="UTF-16" standalone="no"?>
    <DataMacros xmlns="<DataMacro><Parameters><Parameter">http://schemas.microsoft.com/office/accessservices/2010/12/application"><DataMacro><Parameters><Parameter
    Name="Value" Type="Text" Description="Value"/></Parameters><Statements><LookUpRecord><Data><Reference>Vars</Reference><WhereCondition><Expression><Original>[ID]=1</Original><FunctionCall
    Name="="><Identifier Name="ID" Index="0"/><IntegerLiteral Value="1" Index="1"/></FunctionCall></Expression></WhereCondition></Data><Statements><EditRecord><Data/><Statements><Action
    Name="SetField"><Argument Name="Field">CurrentUserEmailAddress </Argument><ExpressionArgument Name="Value"><Expression><Original>[Value]</Original><Identifier Name="Value"/></Expression></ExpressionArgument></Action></Statements></EditRecord></Statements></LookUpRecord></Statements></DataMacro></DataMacros>
    Then create a corresponding GetEmailVar macro that will fetch the value and return it:
    <?xml version="1.0" encoding="UTF-16" standalone="no"?>
    <DataMacros xmlns="<DataMacro><Statements><LookUpRecord><Data><Reference>Vars</Reference><WhereCondition><Expression><Original>[ID]=1</Original><FunctionCall">http://schemas.microsoft.com/office/accessservices/2010/12/application"><DataMacro><Statements><LookUpRecord><Data><Reference>Vars</Reference><WhereCondition><Expression><Original>[ID]=1</Original><FunctionCall
    Name="="><Identifier Name="ID" Index="0"/><IntegerLiteral Value="1" Index="1"/></FunctionCall></Expression></WhereCondition></Data><Statements><Action Name="SetReturnVar"><Argument
    Name="Name">Value</Argument><ExpressionArgument Name="Value"><Expression><Original>[Vars].[CurrentUserEmailAddress ]</Original><Identifier Name="Vars.Email"/></Expression></ExpressionArgument></Action></Statements></LookUpRecord></Statements></DataMacro></DataMacros>
    Now in the OnStart macro you can call SetEmailVar and pass it =UserEmailAddress(), and in the tables OnUpdate macro, you can call GetEmailVar to get the value.
    Note that there is a limitation to this solution, which is that if multiple users are using the app at the same time, the variable will reflect the most recent user, so any user which gets the value will get that value, which may not be what you want.
    Another potential approach is to remove the built-in Save button from the action bar, and to write data macros to do update/insert, and call them from a custom action bar button and pass in the value from the UI macro for the button.  However, that
    solution is somewhat complicated, and won't work at all for datasheets since you can't force users to save only through the action bar button since just changing the current row will trigger a record save.

  • Passing a reference / variable to a Custom Component

    Hi, I was wondering if someone could help me.
    It seems like a very simple problem but I cant for the life
    of me seem to work out a solution.
    I have created a Custom Component that extends from the
    UIComponent that consists of a “rev counter” style
    clock face etc….
    I want to use this component multiple times within my
    application – however feed it different data so for example
    each “rev counter” on the page will be displaying
    different data etc…..
    I want to be able to reuse my component and not have to
    create a new component every time I add a “rev counter”
    to my application, therefore I need some way of passing a reference
    / variable to the component (maybe from the <mx /> tag where
    I declare it in the MXML code ??? )
    <mx:Application ….
    xmlns:comps="components.*" …..>
    <comps:RevCounterComp id=”” (add something
    here to reference???) />
    </ mx:Application>
    Doing this will allow me to reuse my ONE custom component
    MANY times feeding it different data (different data provaiders for
    each instance of the single component)
    Hope this makes sense???
    Any help / advice is much appreciated,
    Thanks,
    Jon.

    Jon,
    jmryan's suggestion is the preferred way to go. This way you
    can use the simple MXML syntax that you described in your post.
    If your custom component is defined in ActionScript, you can
    use setters or the creationComplete event to update the component
    when the values are passed in from the tag (they are set *after*
    your constructor runs).
    Even easier, if your component is defined in MXML, you can
    add [Bindable] to your public field and then bind directly to it in
    the custom component's MXML code.
    - Peter

  • Object reference not set to an instance of an object.at Microsoft.SharePoint.ApplicationPages.VersionsPage.ItemVersion

    I am getting an object reference not found error when trying to view the version history of any list item within my web application, as well as view or edit any list item properties in general.  Below is what the ULS log generates when I try to view
    the version history of an item.
    System.NullReferenceException: Object reference not set to an instance of an object.   
     at Microsoft.SharePoint.ApplicationPages.VersionsPage.ItemVersion.get_CreatedBy()    
     at ASP._layouts_versions_aspx.__Render__control14(HtmlTextWriter __w, Control parameterContainer)    
     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)    
     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)    
     at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)    
     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)    
     at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)    
     at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)    
     at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)    
     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)    
     at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)    
     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)    
     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)    
     at Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase.RenderChildren(HtmlTextWriter writer)    
     at System.Web.UI.Page.Render(HtmlTextWriter writer)    
     at Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase.Render(HtmlTextWriter writer)    
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    I followed what was said in this blog post to remove any extraneous calls of the "Microsoft.Sharepoint.ApplicationPages.dll"
    in the GAC or the bin folder of the web application, yet I am still getting the same error.

    Hi Max, did you ever get this resolved? if yes, what were steps?  thanks
    Stacy www.sharepointpapa.com

  • Object reference not set to an instance of an object in BEX 7.10 on NW2004S

    When I want to change variable values (even at startup of a report), I get the following error when clicking the "select from list" button.  I have the latest version/patches of sapgui 7.10 and the BEX analyzer.  .NET framework 1, 2 and 3 installed. 
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
       at com.sap.bi.et.selector.BExSelectorDialog.SelUIDialog.HandleUnhandledException(Exception iException)
       at com.sap.bi.et.selector.BExSelectorDialog.SelUIDialog.OnGuiUnhandledException(Object iSender, ThreadExceptionEventArgs iEventArgs)
       at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
       at System.Windows.Forms.Control.WndProcException(Exception e)
       at System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)
       at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
       at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
       at System.Windows.Forms.Control.set_Visible(Boolean value)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
       at System.Windows.Forms.Form.ShowDialog()
       at com.sap.bi.et.selector.BExSelectorDialog.SelUIDialog.GetUserSelection()
       at com.sap.bi.et.selector.BExSelectorDialog.SelUIDialog.ShowSelector()
       at com.sap.bi.et.selector.BExSelectorDialog.SelUICtrlDDBox.InvokeSelector()
       at com.sap.bi.et.selector.BExSelectorDialog.SelUICtrlDDBox.OnInvokeSelector()
       at com.sap.bi.et.selector.BExSelectorDialog.SelUICtrlDDBox.picValueHelp_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    BExAddin
        Assembly Version: 7100.0.0.0
        Win32 Version: 7100.0.0.461
        CodeBase: file:///C:/Program%20Files/SAP/Business%20Explorer/BI/BExAddin.DLL
    BExCommunication
        Assembly Version: 7100.0.0.0
        Win32 Version: 7100.0.0.109
        CodeBase: file:///C:/Program%20Files/SAP/Business%20Explorer/BI/BExCommunication.DLL
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    Microsoft.VisualBasic
        Assembly Version: 8.0.0.0
        Win32 Version: 8.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    BExCommon
        Assembly Version: 7100.0.0.0
        Win32 Version: 7100.0.0.109
        CodeBase: file:///C:/Program%20Files/SAP/Business%20Explorer/BI/BExCommon.DLL
    BExApi
        Assembly Version: 7100.0.0.0
        Win32 Version: 7100.0.0.461
        CodeBase: file:///C:/Program%20Files/SAP/Business%20Explorer/BI/BExApi.DLL
    BExControls2
        Assembly Version: 7100.0.0.0
        Win32 Version: 7100.0.0.108
        CodeBase: file:///C:/Program%20Files/SAP/Business%20Explorer/BI/BExControls2.DLL
    BExControls
        Assembly Version: 7100.0.0.0
        Win32 Version: 7100.0.0.109
        CodeBase: file:///C:/Program%20Files/SAP/Business%20Explorer/BI/BExControls.DLL
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    BExGeneratedAll
        Assembly Version: 7100.0.0.0
        Win32 Version: 7100.0.0.108
        CodeBase: file:///C:/Program%20Files/SAP/Business%20Explorer/BI/BExGeneratedAll.DLL
    SAP.Connector
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.0.23
        CodeBase: file:///C:/WINDOWS/assembly/GAC/SAP.Connector/2.0.0.0__50436dca5c7f7d23/SAP.Connector.dll
    System.Web.Services
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
    t-qex2qc
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    Accessibility
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    BExOpenSaveServices
        Assembly Version: 7100.0.0.0
        Win32 Version: 7100.0.0.100
        CodeBase: file:///C:/Program%20Files/SAP/Business%20Explorer/BI/BExOpenSaveServices.DLL
    BExSharedImageList
        Assembly Version: 7100.0.0.0
        Win32 Version: 7100.0.0.109
        CodeBase: file:///C:/Program%20Files/SAP/Business%20Explorer/BI/BExSharedImageList.DLL
    6n-gek36
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    4h2asawh
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    office
        Assembly Version: 11.0.0.0
        Win32 Version: 11.0.5530
        CodeBase: file:///C:/WINDOWS/assembly/GAC/office/11.0.0.0__71e9bce111e9429c/office.dll
    stdole
        Assembly Version: 7.0.3300.0
        Win32 Version: 7.00.9466
        CodeBase: file:///C:/WINDOWS/assembly/GAC/stdole/7.0.3300.0__b03f5f7f11d50a3a/stdole.dll
    CustomMarshalers
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
    BExThemes
        Assembly Version: 7100.0.0.0
        Win32 Version: 7100.0.0.109
        CodeBase: file:///C:/Program%20Files/SAP/Business%20Explorer/BI/BExThemes.DLL
    Interop.SAPLogonCtrl
        Assembly Version: 1.1.0.0
        Win32 Version: 1.1.0.0
        CodeBase: file:///C:/Program%20Files/SAP/Business%20Explorer/BI/Interop.SAPLogonCtrl.DLL
    SAP.Connector.Rfc
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.0.23
        CodeBase: file:///C:/WINDOWS/assembly/GAC/SAP.Connector.Rfc/2.0.0.0__50436dca5c7f7d23/SAP.Connector.Rfc.dll
    njs3gney
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    fvfw3zm-
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    lb33x8gi
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    yt0ehav4
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    hlzgrjnh
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    BExCAControls
        Assembly Version: 7100.0.0.0
        Win32 Version: 7100.0.0.109
        CodeBase: file:///C:/Program%20Files/SAP/Business%20Explorer/BI/BExCAControls.DLL
    ewh3x7e_
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    gwmombju
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    Syncfusion.Tools.Windows
        Assembly Version: 3.202.1.0
        Win32 Version: 3.202.1.0
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Syncfusion.Tools.Windows/3.202.1.0__3d67ed1f87d44c89/Syncfusion.Tools.Windows.dll
    Syncfusion.Shared.Base
        Assembly Version: 3.202.1.0
        Win32 Version: 3.202.1.0
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Syncfusion.Shared.Base/3.202.1.0__3d67ed1f87d44c89/Syncfusion.Shared.Base.dll
    Syncfusion.Core
        Assembly Version: 3.202.1.0
        Win32 Version: 3.202.1.0
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Syncfusion.Core/3.202.1.0__632609b4d040f6b4/Syncfusion.Core.dll
    System.Design
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
    cld_yvcx
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    System.Data.SqlXml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Data.SqlXml/2.0.0.0__b77a5c561934e089/System.Data.SqlXml.dll
    mlb05v5r
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    uav_c8c3
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    hlkdxawk
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    tig1qpjm
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    bipr2_0_
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ibasu4wg
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    vlqnam8u
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    qxnu37xx
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    BExCompression
        Assembly Version: 7100.0.0.0
        Win32 Version: 7100.0.0.109
        CodeBase: file:///C:/Program%20Files/SAP/Business%20Explorer/BI/BExCompression.DLL
    kwdfubpd
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    BExVariableScreen
        Assembly Version: 0.0.0.0
        Win32 Version: 0.0.0.0
        CodeBase: file:///C:/Program%20Files/SAP/Business%20Explorer/BI/BExVariableScreen.DLL
    BExSelectorAPI
        Assembly Version: 7100.0.0.0
        Win32 Version: 7100.0.0.145
        CodeBase: file:///C:/Program%20Files/SAP/Business%20Explorer/BI/BExSelectorAPI.DLL
    BExSelectorDialog
        Assembly Version: 7100.0.0.0
        Win32 Version: 7100.0.0.145
        CodeBase: file:///C:/Program%20Files/SAP/Business%20Explorer/BI/BExSelectorDialog.DLL
    azzivzm9
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    at-jlyyj
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    nivmxhum
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    kj0udleu
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    zaxkxirq
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    5bwpa07u
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    1rscddno
        Assembly Version: 7100.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    System.Data
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
    JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    Any help would be appreciated (and rewarded of course).
    Regards,
    Freek

    I am experiencing just the same troubles.
    Have you found a resolution?
    What I can say, it must be related to .Net installation. Some of my colleagues run the same query and change the variable value without a problem. So this is not a server installation but a client one.
    I have reintstalled sap gui, bex, .net , hotfixes - nothing helps. the clue I have, when installing patch GUI710_1-10002995.exe the installation reports an error:
    Execute Install on Patch Not Available C:\WINDOWS\SapWksta\setup\SAPsetup.exe StrRemoveOldSapGui -2147467259
    but it doesn't help much((
    Message was edited by:
            Northern

  • Not able to Pass Reference Variables to Deferred task

    Hi All,
    I am not able to Pass the reference variables to Deferred task, With the following code, I am getting null values (for the passed refs) in Deferred Task.
    Code is as:
    <Action id='1' name='Set Deferred Task Action' application='com.waveset.session.WorkflowServices'>
    <Argument name='op' value='addDeferredTask'/>
    <Argument name='type' value='User'/>
    <Argument name='name' value='$(empId)'/>
    <Argument name='authorized' value='true'/>
    <Argument name='task' value='WF_User Deferred Task'/> // Task defination
    <Argument name='date'>
    <Date>2008-11-19T14:50:18.840Z</Date>
    </Argument>
    <Argument name='taskDefinition'>
    <block trace='true'>
    <defvar name='usrObject'> // This is the variable I am passing to 'WF_User Deferred Task'
    <new class='com.waveset.object.GenericObject'/>
    </defvar>
    <invoke name='setAttributes'>
    <ref>usrObject</ref>
    <map>
    <s>accId</s>
    <ref>empId</ref>
    <s>updStatus</s>
    <ref>newStatus</ref>
    </map>
    </invoke>
    </block>
    </Argument>
    </Action>
    <Transition to='End'/>
    Please suggest me.
    Thanks,
    Ravi.

    yeah, you don't have your usrObject available in the deffered task however all variables that you put inside the usrObject are avialble. Like <ref>accId<ref> and <ref>updStatus</ref>. If you still need them organized hierarchically, you might try to add one more level to the object before passing it to addDefferedTask
                <block>
                  <defvar name='objWrapper'>
                    <new class='com.waveset.object.GenericObject'/>
                  </defvar>
                  <defvar name='usrObject'>
                    <new class='com.waveset.object.GenericObject'/>
                  </defvar>
                  <invoke name='setAttributes'>
                    <ref>usrObject</ref>
                    <map>
                      <s>accId</s>
                      <s>yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy</s>
                      <s>updStatus</s>
                      <s>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</s>
                    </map>
                  </invoke>
                  <invoke name='setAttributes'>
                    <ref>objWrapper</ref>
                    <map>
                      <s>usrObject</s>
                      <ref>usrObject</ref>
                    </map>
                  </invoke>
                  <ref>objWrapper</ref>
                </block>I hope you ve got the idea. Cheerz.

  • How to access a variable from within a symbol.

    How do I access a variable set outside a symbol from within that symbol?
    Thanks

    If you set a variable on stage ,say
    sym.setVariable("stageVariable", "I am stage variable");
    You can access it from within  a symbol using :
    var myVariable = sym.getComposition().getStage().getVariable("stageVariable");
    Basically you need to get handle to the symbol in which the variable is defined.

  • How to use "Reference Structure" setting in analysis grid item

    Hello expert,
            in Bex analyzer, how to use "Reference Structure" setting in analysis grid item by example?
    Many thanks,

    The variable needs assigned a value, that's why you're getting prompted. When you execute the statement, it's not executing the variable and exec lines.
    Having script output available in a grid would be an enhancement request.

  • WFA 3.1RC1 throws "Object reference not set to an instance of an object", worked in 3.0P1

    I am running a custom workflow to create volumes that has worked since WFA 2.x, and which works well in 3.0P1. With WFA 3.1RC1 it throws this error when attempting to apply a quota to the volume:   INFO  [Apply Quota Policy to Volume or Qtree] Started Quota resize on volume post_wfa31rc1_test2_w_mirror on vserver MySVM   ERROR [Apply Quota Policy to Volume or Qtree] Command failed for Workflow 'Create Volume (Schwab)' with error : Object reference not set to an instance of an object.  INFO  [Apply Quota Policy to Volume or Qtree] ***** Workflow Execution Failed ***** I have executed the PS commands from this code block in a PS shell with no errors. Has anyone else seen a similar issue with 3.1RC1?     Scott Lindley

    I have narrowed the problem down to a single command and can reproduce the problem very easily. However, I can't seem to fix it. But I believe importing this single custom command into both a WFA 3.0P1 and WFA 3.1RC1 system will easily show that it works in 3.0P1 and throws the odd 'Object reference not set to an insance of an object' error. I say that is an odd error because I'm only used to seeing that error at Preview time referring to an object reference in a Command Parameter field of a workflow. I know how to deal with that issue. However here, the error appears at the end a PowerShell command. Actually, the PowerShell command appears to me to execute entirely and correctly. It is just that at the end of running this exception error is thrown and that causes the command (and workflow if running within a workflow) to fail. But the comamnd correctly adds the 'default' quota policy to the volume and even enables quota resize as it should. So it works, but still blows up the workflow it is within. I'm going to attempt to attach these three things here:    1) screenshot showing the command running (with Command Test Button) fine under WFA-3.0P1,    2) a screenshot showing the command running but throwing the error on a WFA-3.1RC1 system    3) the ,dar file holding just the command: "Apply Quota Policy to Volume or Qtree" (I added .txt to the end of .dar file name) ------1) running OKay on 3.0P1  -------------------------- 2) running with the ERROR on WFA 3.1RC1  SOME NOTES: My lab environment where I re-created the problem:    The WFA 3.0P1 system is a Windows 2008R2 server that happens to have the original PowerShell 2.0 on it    The WFA 3.1RC1 system is a Windows 7 system that I have updated PowerShell to 4.0. The customer environment:    I'm less certain of details (maybe Scott can fill in)    The version of PowerShell is TBD (guessing 2.0) , but they are running the same PS version for both 3.0P1 and 3.1RC1 because they are upgrading/downgrading WFA on the same system  

  • New-CMTaskSequenceMedia Help : Object Reference Not Set to Instance of Object

    Having trouble creating a script to automate creation of bootable task sequence media. The following returns "Object Reference not set to an instance of an object" and I can't seem to figure it out:
    Import-Module (Join-Path $(Split-Path $env:SMS_ADMIN_UI_PATH) ConfigurationManager.psd1)
    cd CM1:
    $hash =@{}
    $MPServers = @("Server003.fqdn.com","Server004.fqdn.com","Server005.fqdn.com")
    $StartDate = (Get-Date -Format "MM/dd/yyyy.HH:mm:ss").ToString()
    $EndDate = "08/07/2025.12:12:12"
    <#This section to be finished later:
    #$hash.Add("SMSTSPreferredAdvertID","CM10017A")
    #$hash.Add("OSDComputerName","BLDTMP08R2")
    #$hash.Add("SMSTSPreferredAdvertID","CM100169")
    #$hash.Add("OSDComputerName","BLDTMP2012")
    #>
    $hash.Add("SMSTSPreferredAdvertID","CM10016A")
    $hash.Add("OSDComputerName","BLDTMP12R2")
    $hash.Add("NBUType","NONBU")
    $hash.Add("citrixyn","CITRIXOFF")
    $hash.Add("ovoyn","OVOOFF")
    $hash.Add("IsAutomation","YES")
    New-CMTaskSequenceMedia -BootableMediaOption -MediaPath "c:\temp\ISOName.iso" -BootImageId "CM10008F" -MediaInputType "CDDVD" -DistributionPointServerName "Server023.fqdn.com" -ManagementPointServerName "Server003.fqdn.com","Server004.fqdn.com","Server005.fqdn.com" -MediaMode "Dynamic" -ProtectPassword $false -AllowUnattendedDeployment $true -CreateMediaSelfCertificate $True -EnableUnknownSupport $True -StartDate $StartDate -ExpirationDate $EndDate -Variable $Hash

    We are running R2 CU2.
    When I ran the command with -Verbose I recieved:
    PS CM1:\> C:\Users\INAFN\Documents\codeBin\IsoGenerator.ps1
    VERBOSE: Performing operation "New" on Target "TaskSequenceMedia: New".
    VERBOSE: Executing WQL query: SELECT * FROM SMS_BootImagePackage pkg WHERE pkg.ActionInProgress!=3 And pkg.PackageID ='CM10008F'
    VERBOSE: Query returned 1 results.
    VERBOSE: Executing WQL query: Select dp.* from SMS_DistributionPoint As ref Join SMS_DistributionPointInfo As dp On ref.ServerNALPath=dp.NALPath and ref.SiteCode=dp.SiteCode Where ref.PackageID='CM10
    008F' And dp.ServerName ='Servername.Domain.Com'
    VERBOSE: Query returned 1 results.
    VERBOSE: Executing WQL query: SELECT dp.ServerNALPath, dp.State, oci.SourceSize FROM SMS_PackageStatusDistPointsSummarizer AS dp JOIN SMS_BootImagePackage AS pkg ON pkg.PackageID=dp.PackageID JOIN SM
    S_ObjectContentInfo as oci on oci.PackageID=pkg.PackageID WHERE dp.PackageID='CM10008F' AND pkg.ActionInProgress=0
    VERBOSE: Query returned 30 results.
    VERBOSE: Executing WQL query: SELECT scf.* FROM SMS_SCI_SysResUse AS scf JOIN SMS_SITE AS sit ON sit.SiteCode = scf.SiteCode WHERE scf.RoleName='SMS Management Point' AND site.Type != 1
    VERBOSE: Query returned 5 results.
    New-CMTaskSequenceMedia : Object reference not set to an instance of an object.
    At C:\Users\INAFN\Documents\codeBin\IsoGenerator.ps1:25 char:1
    + New-CMTaskSequenceMedia -BootableMediaOption -MediaPath c:\temp\ISOName.iso -BootIm ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [New-CMTaskSequenceMedia], NullReferenceException
    + FullyQualifiedErrorId : System.NullReferenceException,Microsoft.ConfigurationManagement.Cmdlets.Osd.Commands.NewTaskSequenceMediaCommand
    Since it seemed to fail while pulling the MPs I switched to using just one MP as you had above, this time I get a different error:
    PS CM1:\> C:\Users\INAFN\Documents\codeBin\IsoGenerator.ps1
    VERBOSE: Performing operation "New" on Target "TaskSequenceMedia: New".
    VERBOSE: Executing WQL query: SELECT * FROM SMS_BootImagePackage pkg WHERE pkg.ActionInProgress!=3 And pkg.PackageID ='CM10008F'
    VERBOSE: Query returned 1 results.
    VERBOSE: Executing WQL query: Select dp.* from SMS_DistributionPoint As ref Join SMS_DistributionPointInfo As dp On ref.ServerNALPath=dp.NALPath and ref.SiteCode=dp.SiteCode Where ref.PackageID='CM10
    008F' And dp.ServerName ='Servername.Domain.Com'
    VERBOSE: Query returned 1 results.
    VERBOSE: Executing WQL query: SELECT dp.ServerNALPath, dp.State, oci.SourceSize FROM SMS_PackageStatusDistPointsSummarizer AS dp JOIN SMS_BootImagePackage AS pkg ON pkg.PackageID=dp.PackageID JOIN SM
    S_ObjectContentInfo as oci on oci.PackageID=pkg.PackageID WHERE dp.PackageID='CM10008F' AND pkg.ActionInProgress=0
    VERBOSE: Query returned 30 results.
    VERBOSE: Executing WQL query: SELECT scf.* FROM SMS_SCI_SysResUse AS scf JOIN SMS_SITE AS sit ON sit.SiteCode = scf.SiteCode WHERE scf.RoleName='SMS Management Point' AND site.Type != 1
    VERBOSE: Query returned 5 results.
    VERBOSE:
    VERBOSE:
    New-CMTaskSequenceMedia : ConfigMgr Error Object:
    instance of SMS_ExtendedStatus
    Description = "The package name must be at least 1 and less than 50 characters in length.";
    ErrorCode = 1078462208;
    File = "e:\\qfe\\nts\\sms\\siteserver\\sdk_provider\\smsprov\\ssptspackage.cpp";
    Line = 931;
    ObjectInfo = "";
    Operation = "PutInstance";
    ParameterInfo = "";
    ProviderName = "ExtnProv";
    StatusCode = 2147749889;
    At C:\Users\INAFN\Documents\codeBin\IsoGenerator.ps1:25 char:1
    + New-CMTaskSequenceMedia -BootableMediaOption -MediaPath c:\temp\ISOName.iso -BootIm ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (Microsoft.Confi...nceMediaCommand:NewTaskSequenceMediaCommand) [New-CMTaskSequenceMedia], WqlQueryException
    + FullyQualifiedErrorId : UnhandledExeception,Microsoft.ConfigurationManagement.Cmdlets.Osd.Commands.NewTaskSequenceMediaCommand
    PS CM1:\>

  • "cacheHostInfo is null" and Add-SPDistributedCacheServiceInstance : Object reference not set to an instance of an object.

    I am working on a standalone install Sharepoint 2013 (no Active Directory). I found newsfeed feature is not available and checked Distributed Cache service is stopped. When start it “cacheHostInfo is null” is returned.
    I checked the Windows service “AppFabric caching service” is stopped because the default identity “Network Service” not work. Then I change the AppFabric service identity to use “.\administrator” (which is also the sp farm administrator) and the service can
    be started.
    However the “cacheHostInfo is null” when try to start Distributed Cache service in central admin.
    I searched on web and found this blog: http://rakatechblog.wordpress.com/2013/02/04/sharepoint-2013-spdistributedcacheserviceinstance-cachehostinfo-is-null/
    I tried to run the script but it return error:
    Add-SPDistributedCacheServiceInstance : Object reference not set to an
    instance of an object.
    At C:\root\ps\test.ps1:8 char:13
    + $whatever = Add-SPDistributedCacheServiceInstance
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidData: (Microsoft.Share…ServiceInstance:
    SPCmdletAddDist…ServiceInstance) [Add-SPDistributedCacheServiceInstance]
    , NullReferenceException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletAddDistr
    ibutedCacheServiceInstance
    I am not sure what went wrong. Please give me some idea? Thank you for any comment!

    Can you deploy Active Directory as installing without is not a supported installation scenario - http://support.microsoft.com/kb/2764086.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Test-OutlookConnectivity WARNING: An unexpected error has occurred and a Watson dump is being generated: Object reference not set to an instance of an object.

    Hi All,
    When we do a test-outlookconnectivity -protocol:http the result is a success but then we get the following:
    ClientAccessServer   ServiceEndpoint                               Scenario                           
    Result  Latency
    (MS)
    xxxxxxxxxxxx... xxxxxxxxxxxxxx                 Autodiscover: Web service request.  Success   46.80
    WARNING: An unexpected error has occurred and a Watson dump is being generated: Object reference not set to an instance
     of an object.
    Object reference not set to an instance of an object.
        + CategoryInfo          : NotSpecified: (:) [Test-OutlookConnectivity], NullReferenceException
        + FullyQualifiedErrorId : System.NullReferenceException,Microsoft.Exchange.Monitoring.TestOutlookConnectivityTask
    So it looks like it's not completing successfully.
    I can't find anything on this in particular, and don't really know how to go about solving it - We are fully up to date, Exchange 2010 Sp2 with Rollup 5-v2
    Any help appreciated!

    hi,
    I have the same issue also on Exchange 2010 SP2 RU5v2
    I ran your command and get the below
    [PS] C:\Installs\report\Activesync>Test-OutlookConnectivity -Protocol:http |FL
    RunspaceId                  : ebd2c626-1634-40ad-a17e-c9a713d1a62b
    ServiceEndpoint             : autodiscover.domain.com
    Id                          : Autodiscover
    ClientAccessServer          : CAS01.domain.com
    Scenario                    : Autodiscover: Web service request.
    ScenarioDescription         :
    PerformanceCounterName      :
    Result                      : Success
    Error                       :
    UserName                    : Gazpromuk.intra\extest_645e41faa55f4
    StartTime                   : 8/21/2013 4:08:50 PM
    Latency                     : 00:00:00.1250048
    EventType                   : Success
    LatencyInMillisecondsString : 125.00
    Identity                    :
    IsValid                     : True
    WARNING: An unexpected error has occurred and a Watson dump is being generated: Object reference not set to an instance of an object.
    Object reference not set to an instance of an object.
        + CategoryInfo          : NotSpecified: (:) [Test-OutlookConnectivity], NullReferenceException
        + FullyQualifiedErrorId : System.NullReferenceException,Microsoft.Exchange.Monitoring.TestOutlookConnectivityTask
     Any help would be greatly appreciated, I also get random failures of OWA, EAS and web services, very frustrating
    I have no errors in the app event log
    thanks
    Faisal Saleem Windows Systems Analyst 07595781867

  • "An error has occurred:Object reference not set to an instance of an object."

    This error message comes up with a user in InfoView.  The user schedules a report, updates parameters, and the report kicks off successfully.  But then a few minutes later, this error is received.    This occurs sporadically, regardless of the length of time of report or amount of data being retrieved.  Sometimes the report runs to completion.  Other times this error message occurs.
    Has anyone seen this before and have any thoughts?
    Thank you.
    “An error has occurred:Object reference not set to an instance of an object.”

    Are you able to replicate the issue both in Java and .NET InfoView?
    For .NET InfoView, sometimes the "An error has occurred: Object reference not set to an instance of an object" error shows up after the .NET Framework is upgraded to 2.0

Maybe you are looking for

  • BCC || unable to find linkable item on SKU creation screen

    Hi, I am trying to create a SKU and link its associated items under the "Advanced" tab on SKU creation page. We have derived few SKU-types and associated them with each other; which is working fine. But there are two item-types which are not derived

  • Safari 5.1.7 crashes

    Hello I agree Safari is very fast. but however the last two updates created a problem with the stability of the software. It crashes easily when surfing and or downloading. I had run the disc assistant. No change Any suggestions? Peter

  • How do I get a small .mov?

    Good Morning All, I have a challenge I'm hoping you can help me with. I have imported two different .mov files that are 1920x1080, with XDCAM EX 1080p30 codec and a length of 48 minutes into FCP, made my edits and exported using compressor to a Quick

  • How to display link property : description

    hi all Im trying to display a link's description property in an iview. How do i go about doing this? Message was edited by: rinx

  • WRT54GS v1.1 NEED HELP WITH FIRMWARE!

    'ello, I am sick and tired of getting disconnected by my linksys router and i did smoe research and it appears to be a malfunction in the firmware. Now this is the real problem... I went and i found a Tomato firmware for me and I used winzip to extra