Unable to Delete a Menu.

Hi,
I am having problems removing a menu (NNTP Newsgroup Actions).
I can successfully delete all the menu items below this menu but then when
I then try to delete the menu itself, using the Delete method of the
GWMenu object, no error is raised but the menu remains visible in the
client.
An overview of how my C3PO works:
- Read a text file containing the menu items to be removed. This is
performed during the Init function of the CommandFactory. A menu item is
specified by the full 'path' e.g. Actions|NNTP Newsgroup Actions|New
Discussion. The menu items are stored in a (globally declared) Scripting
dictionary object.
- In the CustomiseMenu function I call a procedure to iterate through the
menu items to be removed. Beginning with the top level menu object, the
code drills down the menu path identifying each menu level. If the menu
item is found, the menu type is determined (i.e. GWMenu or GWMenuAction)
and an appropriate object is instantiated and the Delete method called. I
have pasted the functions below.
- The CustomizeMenu function returns False so that the changes are not
volatile and applied the first time an instance of a context is created.
(Assume that the menus are removed regardless of the context.)
Can anyone suggest what I am doing wrong?
Many thanks in advance,
Andy
My environment:
GroupWise client version: 7.0.2 (6/4/2007)
Dev Language VB6 SP6
OS: Windows XP
Public Function CustomizeMenu(sGWContext As String, objGWMenu As Object)
As Boolean
'The changes are not volatile.
CustomizeMenu = False
'Remove the menu items listed in the global dictionary object:
gdicMenuItems.
Call UpdateLogFile("")
Call UpdateLogFile("")
Call
UpdateLogFile("*********************************** *************************************")
Call UpdateLogFile("*")
Call UpdateLogFile("* CustomizeMenu Called for Context: " & sGWContext)
Call UpdateLogFile("*")
Call
UpdateLogFile("*********************************** *************************************")
Call UpdateLogFile("")
Call RemoveMenus(objGWMenu)
End Function
Private Sub RemoveMenus(ByRef objTopMenu As Object)
'This procedure goes through the list of menu items stored in the global
dictionary object: gdicMenuItems
'and if they exist, the item is deleted.
'A typical entry in the dictionary object is "File|New|Document Version"
'The last component in the menu item path is the menu item that is deleted.
Dim objMenu As Object
Dim objGWMenuAction As C3POTypeLibrary.IGWMenuAction
Dim objGWMenu As C3POTypeLibrary.IGWMenu
Dim varFullMenuPath As Variant ' Menu path found in dictionary
object. e.g. "File|New|Document Version"
Dim strFullMenuPath As String ' The full menu path as a string.
Dim arrFullMenuPath() As String ' Menu path as an array, split by the
'|' character.
Dim strMenuItemName As String ' Menu path element e.g. File or New
or Document Version.
Dim lngMenuItemIdx As Long ' Loop index for drilling down the
menu path.
Dim blnMenuFound As Boolean ' Flag indicating whether the menu was
found.
Dim strMsgTxt As String ' Message box text.
On Error Resume Next
Call UpdateLogFile("RemoveMenus Procedure Started.")
Call UpdateLogFile("")
'Go through all the menus to be removed.
For Each varFullMenuPath In gdicMenuItems
'Convert the variant object representing the full menu path into a
string.
strFullMenuPath = CStr(varFullMenuPath)
Call UpdateLogFile("Strip the menu item: " & strFullMenuPath & ".")
'Split the menu into its component parts.
arrFullMenuPath = Split(CStr(varFullMenuPath), "|")
'Set the Menu object to represent the top level menu.
Set objMenu = objTopMenu
'Assume the menu can not be found.
blnMenuFound = False
'Drill down the menu path.
For lngMenuItemIdx = LBound(arrFullMenuPath) To UBound(arrFullMenuPath)
strMenuItemName = arrFullMenuPath(lngMenuItemIdx)
'Set the Menu item object to be the desired child menu item.
Set objMenu = objMenu.MenuItems.Item(strMenuItemName)
Select Case Err.Number
Case 0
' The child menu item was found.
Call UpdateLogFile(String(lngMenuItemIdx, vbTab) & "Found
menu item: '" & strMenuItemName & "'.")
blnMenuFound = True
Case 91
' The menu does not exist - therefore it does not have to
be removed.
Err.Clear
Call UpdateLogFile(" * Unable to find the menu item: '" &
strMenuItemName & "' as part of: " & strFullMenuPath & " in this context.")
blnMenuFound = False
Exit For
Case Else
strMsgTxt = "* An unexpected error was raised in the
'RemoveMenus' procedure when attempting to " & _
"instantiate an object representing a menu." &
vbCrLf & vbCrLf & _
"The full menu path was: " & strFullMenuPath & vbCrLf
& vbCrLf & _
"The menu item name was '" & strMenuItemName & "'." &
vbCrLf & vbCrLf & _
"The error number was " & Err.Number & " with the
description:" & _
vbCrLf & vbCrLf & Err.Description & vbCrLf & vbCrLf &
cstrHelp
Call UpdateLogFile(strMsgTxt)
MsgBox strMsgTxt, vbExclamation, cstrAppTitle
Err.Clear
blnMenuFound = False
Exit For
End Select
Next lngMenuItemIdx
'If the menu item was found, try to delete it.
If blnMenuFound = True Then
Call UpdateLogFile("Menu Identified: " & strFullMenuPath & ".
Caption: " & objMenu.Caption)
' If the menu has previously been stripped, the objMenu object may
be 'Nothing'.
' In this case, do not attempt to remove it.
Call UpdateLogFile("The menu type: " & TypeName(objMenu))
If TypeName(objMenu) = "Nothing" Then
Call UpdateLogFile("* The menu type is 'Nothing' therefore the
menu no longer exists in this context.")
Else
Call UpdateLogFile("Stripping the menu ...")
Select Case objMenu.ObjType
Case C3POTypeLibrary.GWOBJTYPE.eGW_GWMENUACTION
Set objGWMenuAction = objMenu
If Err.Number <> 0 Then
Call UpdateLogFile("* Failed to set a GW Menu
Action type object to this menu. Err Number: " & Err.Number)
Call UpdateLogFile(Err.Description)
Err.Clear
Else
objGWMenuAction.Delete
If Err.Number <> 0 Then
Call UpdateLogFile("* Failed to delete a GW
Menu Action type object. Err Number: " & Err.Number)
Call UpdateLogFile(Err.Description)
Err.Clear
Else
Call UpdateLogFile("Stripped the action menu
item: " & strFullMenuPath & ".")
End If
End If
Case C3POTypeLibrary.GWOBJTYPE.eGW_GWMENU
Set objGWMenu = objMenu
Call UpdateLogFile("The GW Menu has " &
objGWMenu.MenuItems.Count & " sub menu items.")
Call UpdateLogFile("The GW Menu Parent: " &
objGWMenu.Parent.Caption)
If Err.Number <> 0 Then
Call UpdateLogFile("* Failed to set a GW Menu type
object to this menu. Err Number: " & Err.Number)
Call UpdateLogFile(Err.Description)
Err.Clear
Else
objGWMenu.Delete
If Err.Number <> 0 Then
Call UpdateLogFile("* Failed to delete a GW
Menu type object. Err Number: " & Err.Number)
Call UpdateLogFile(Err.Description)
Err.Clear
Else
Call UpdateLogFile("Stripped the menu item: "
& strFullMenuPath & ".")
End If
End If
End Select
End If
End If
Next ' Next (full) menu path.
Set objMenu = Nothing
Set objGWMenuAction = Nothing
Set objGWMenu = Nothing
End Sub

Hi,
Novell informs me that the behaviour described below is normal. It is not
possible to delete any standard menu object (i.e. any client menu provided
by Novell). However, you can delete custom-made menus.
I think the documentation is misleading in that it states that we can not
delete 'root' menus. I understood this to be only the top level menus,
but this is not the case. We can not delete any standard client menu
which has child menu items regardless of their position in the menu
structure.
Thanks,
Andy
Andy Cooper wrote:
> Hi,
> I am having problems removing a menu (NNTP Newsgroup Actions).
> I can successfully delete all the menu items below this menu but then when
> I then try to delete the menu itself, using the Delete method of the
> GWMenu object, no error is raised but the menu remains visible in the
> client.
> An overview of how my C3PO works:
> - Read a text file containing the menu items to be removed. This is
> performed during the Init function of the CommandFactory. A menu item is
> specified by the full 'path' e.g. Actions|NNTP Newsgroup Actions|New
> Discussion. The menu items are stored in a (globally declared) Scripting
> dictionary object.
> - In the CustomiseMenu function I call a procedure to iterate through the
> menu items to be removed. Beginning with the top level menu object, the
> code drills down the menu path identifying each menu level. If the menu
> item is found, the menu type is determined (i.e. GWMenu or GWMenuAction)
> and an appropriate object is instantiated and the Delete method called. I
> have pasted the functions below.
> - The CustomizeMenu function returns False so that the changes are not
> volatile and applied the first time an instance of a context is created.
> (Assume that the menus are removed regardless of the context.)
> Can anyone suggest what I am doing wrong?
> Many thanks in advance,
> Andy
> My environment:
> GroupWise client version: 7.0.2 (6/4/2007)
> Dev Language VB6 SP6
> OS: Windows XP
> Public Function CustomizeMenu(sGWContext As String, objGWMenu As Object)
> As Boolean
> '
> 'The changes are not volatile.
> CustomizeMenu = False
> '
> 'Remove the menu items listed in the global dictionary object:
> gdicMenuItems.
> Call UpdateLogFile("")
> Call UpdateLogFile("")
> Call
>
UpdateLogFile("*********************************** *************************************")
> Call UpdateLogFile("*")
> Call UpdateLogFile("* CustomizeMenu Called for Context: " & sGWContext)
> Call UpdateLogFile("*")
> Call
>
UpdateLogFile("*********************************** *************************************")
> Call UpdateLogFile("")
> '
> Call RemoveMenus(objGWMenu)
> '
> End Function
> Private Sub RemoveMenus(ByRef objTopMenu As Object)
> '
> 'This procedure goes through the list of menu items stored in the global
> dictionary object: gdicMenuItems
> 'and if they exist, the item is deleted.
> '
> 'A typical entry in the dictionary object is "File|New|Document Version"
> '
> 'The last component in the menu item path is the menu item that is deleted.
> '
> Dim objMenu As Object
> Dim objGWMenuAction As C3POTypeLibrary.IGWMenuAction
> Dim objGWMenu As C3POTypeLibrary.IGWMenu
> Dim varFullMenuPath As Variant ' Menu path found in dictionary
> object. e.g. "File|New|Document Version"
> Dim strFullMenuPath As String ' The full menu path as a string.
> Dim arrFullMenuPath() As String ' Menu path as an array, split by the
> '|' character.
> Dim strMenuItemName As String ' Menu path element e.g. File or New
> or Document Version.
> Dim lngMenuItemIdx As Long ' Loop index for drilling down the
> menu path.
> Dim blnMenuFound As Boolean ' Flag indicating whether the menu was
> found.
> Dim strMsgTxt As String ' Message box text.
> '
> On Error Resume Next
> '
> Call UpdateLogFile("RemoveMenus Procedure Started.")
> Call UpdateLogFile("")
> '
> 'Go through all the menus to be removed.
> For Each varFullMenuPath In gdicMenuItems
> '
> 'Convert the variant object representing the full menu path into a
> string.
> strFullMenuPath = CStr(varFullMenuPath)
> Call UpdateLogFile("Strip the menu item: " & strFullMenuPath & ".")
> 'Split the menu into its component parts.
> arrFullMenuPath = Split(CStr(varFullMenuPath), "|")
> '
> 'Set the Menu object to represent the top level menu.
> Set objMenu = objTopMenu
> '
> 'Assume the menu can not be found.
> blnMenuFound = False
> '
> 'Drill down the menu path.
> For lngMenuItemIdx = LBound(arrFullMenuPath) To UBound(arrFullMenuPath)
> strMenuItemName = arrFullMenuPath(lngMenuItemIdx)
> 'Set the Menu item object to be the desired child menu item.
> Set objMenu = objMenu.MenuItems.Item(strMenuItemName)
> Select Case Err.Number
> Case 0
> ' The child menu item was found.
> Call UpdateLogFile(String(lngMenuItemIdx, vbTab) & "Found
> menu item: '" & strMenuItemName & "'.")
> blnMenuFound = True
> Case 91
> ' The menu does not exist - therefore it does not have to
> be removed.
> Err.Clear
> Call UpdateLogFile(" * Unable to find the menu item: '" &
> strMenuItemName & "' as part of: " & strFullMenuPath & " in this context.")
> blnMenuFound = False
> Exit For
> Case Else
> strMsgTxt = "* An unexpected error was raised in the
> 'RemoveMenus' procedure when attempting to " & _
> "instantiate an object representing a menu." &
> vbCrLf & vbCrLf & _
> "The full menu path was: " & strFullMenuPath & vbCrLf
> & vbCrLf & _
> "The menu item name was '" & strMenuItemName & "'." &
> vbCrLf & vbCrLf & _
> "The error number was " & Err.Number & " with the
> description:" & _
> vbCrLf & vbCrLf & Err.Description & vbCrLf & vbCrLf &
> cstrHelp
> Call UpdateLogFile(strMsgTxt)
> MsgBox strMsgTxt, vbExclamation, cstrAppTitle
> Err.Clear
> blnMenuFound = False
> Exit For
> End Select
> Next lngMenuItemIdx
> '
> 'If the menu item was found, try to delete it.
> If blnMenuFound = True Then
> Call UpdateLogFile("Menu Identified: " & strFullMenuPath & ".
> Caption: " & objMenu.Caption)
> ' If the menu has previously been stripped, the objMenu object may
> be 'Nothing'.
> ' In this case, do not attempt to remove it.
> Call UpdateLogFile("The menu type: " & TypeName(objMenu))
> If TypeName(objMenu) = "Nothing" Then
> Call UpdateLogFile("* The menu type is 'Nothing' therefore the
> menu no longer exists in this context.")
> Else
> Call UpdateLogFile("Stripping the menu ...")
> Select Case objMenu.ObjType
> Case C3POTypeLibrary.GWOBJTYPE.eGW_GWMENUACTION
> Set objGWMenuAction = objMenu
> If Err.Number <> 0 Then
> Call UpdateLogFile("* Failed to set a GW Menu
> Action type object to this menu. Err Number: " & Err.Number)
> Call UpdateLogFile(Err.Description)
> Err.Clear
> Else
> objGWMenuAction.Delete
> If Err.Number <> 0 Then
> Call UpdateLogFile("* Failed to delete a GW
> Menu Action type object. Err Number: " & Err.Number)
> Call UpdateLogFile(Err.Description)
> Err.Clear
> Else
> Call UpdateLogFile("Stripped the action menu
> item: " & strFullMenuPath & ".")
> End If
> End If
> Case C3POTypeLibrary.GWOBJTYPE.eGW_GWMENU
> Set objGWMenu = objMenu
> Call UpdateLogFile("The GW Menu has " &
> objGWMenu.MenuItems.Count & " sub menu items.")
> Call UpdateLogFile("The GW Menu Parent: " &
> objGWMenu.Parent.Caption)
> If Err.Number <> 0 Then
> Call UpdateLogFile("* Failed to set a GW Menu type
> object to this menu. Err Number: " & Err.Number)
> Call UpdateLogFile(Err.Description)
> Err.Clear
> Else
> objGWMenu.Delete
> If Err.Number <> 0 Then
> Call UpdateLogFile("* Failed to delete a GW
> Menu type object. Err Number: " & Err.Number)
> Call UpdateLogFile(Err.Description)
> Err.Clear
> Else
> Call UpdateLogFile("Stripped the menu item: "
> & strFullMenuPath & ".")
> End If
> End If
> End Select
> End If
> End If
> '
> Next ' Next (full) menu path.
> '
> Set objMenu = Nothing
> Set objGWMenuAction = Nothing
> Set objGWMenu = Nothing
> '
> End Sub

Similar Messages

  • Unable to delete "Bookmarks Bar & Bookmarks Menu"

    I synced my bookmarks with IE for the first time and then I decided to sync Safari bookmarks which was successful but now I am left with two empty and useless folders called "Bookmarks Bar" from Safari and "Bookmarks Menu" from IE which I am unable to delete or move to the bottom of the Bookmarks menu. This is inconvenient, unsightly and takes up space.
    Can anyone tell me how to remove those folders? And are Apple aware of this error?

    It's not an error, per se. These are default bookmark folders on in Safari, and thus are transferred to the iPhone when you sync Safari bookmarks. If you are still syncing Safari bookmarks, they will always be there, and you cannot alter that. If you no longer want to sync Safari bookmarks, are the folders in your IE bookmarks? If so, delete them from there. Then, in iTunes in the Info tab (with the iPhone connected and selected in the devices list), scroll down to Advanced Options and check the box to replace bookmarks, then click Apply.

  • Unable to delete items from recycle bin

    Unable to delete items from my trash, it starts to delete then stops along the way, when i open the trash, its still sat there.

    Relaunch the Finder, then from the Finder menu bar, select
    Finder ▹ Preferences ▹ Advanced
    and uncheck the box marked Empty Trash securely. Hold down the option key and try again to empty the Trash.

  • My phone has been restored using iTunes.  All of my previous photo are not downloaded on my phone and I'm unable t delete - no trash bin.

    My phone has been restored using iTunes.  All of my previous photo are downloaded. I'm unable to delete the photos from the phone - no trash bin.  It has utilized all my storage and I'm unable to use any of my apps.

    Hello there, Jeanne2919.
    There is a great Knowledge Base article that is right up your alley:
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    Specifically this section:
    To delete synced photos and videos
    In iTunes, select the device icon in the Devices list on the left. Click the Photos tab in the resulting window.
    Choose "Sync photos from."
    On a Mac, choose iPhoto or Aperture from the pop-up menu.
    On a Windows PC, choose Photoshop Album or Photoshop Elements from the pop-up menu.
    Choose "Selected albums" and deselect the albums or collections you want to delete.
    Click Apply.
    To delete Camera Roll photos and videos
    There are two methods to delete items from the Camera Roll:
    Import the Camera Roll to your computer, choosing to delete items after import.
    or
    Delete photos and videos from your device manually. Open the Photos application, open the Camera Roll, tap the Action button, tap each photo to select it, and tap the Delete button.
    Note: For photos and videos you want to save for later, import them to your computer before deleting them from the Camera Roll.
    Thanks for reaching out to Apple Support Communities!
    Cheers,
    Pedro D.

  • Unable to delete saved Crystal reports in SAP BW Browser

    Hi everyone ,
    We are trying to test Integration of Crystal reports with SAP BW .
    CR developer version installed - 12.0.3.900
    SAP BW 7.0
    I have 2 issues :
    1) When I try to open SAP Query from CR SAP menu bar , somehow a blank SAP screen opens first and stays as long as I have CR developer open. I would then have to click on CR from the status line to begin using the software.  The blank screen remains the way it is.
    2) I am unable to delete Crystal reports which are saved in SAP BW Browser . I can delete any other BEX workbook in the same folder .
    Am I missing any role authorizations to delete Crystal reports in BW Browser ?
    Thanks in advance for your help.
    Hitesh

    HI,
    1) When I try to open SAP Query from CR SAP menu bar , somehow a blank SAP screen opens first and stays as long as I have CR developer open. I would then have to click on CR from the status line to begin using the software. The blank screen remains the way it is.
    >> Did you also install the SAP Integration Kit ?
    2) I am unable to delete Crystal reports which are saved in SAP BW Browser . I can delete any other BEX workbook in the same folder .
    Am I missing any role authorizations to delete Crystal reports in BW Browser ?
    >> Most likely you are missing authorizations
    Ingo

  • Auto-Capitalization: How can I set Pages v5.01 to auto-capitalize the first letter of the first word in a sentence and to automatically change lower case "i" to "I" appropriately. I'm unable to find a menu that offers me these.

    Auto-Capitalization: How can I set Pages v5.01 to auto-capitalize the first letter of the first word in a sentence and to automatically change lower case "i" to "I" appropriately. I'm unable to find a menu that offers me these.

    Gavin Lawrie wrote:
    Once it had been established that the iWork rewrite had resulted in some features being lost and others broken, and once Apple had acknowledged the concerns* and suggested they are working on fixes**, I'm not sure what else there is to achieve.
    You are writing that in the perspective of having read about it here already. Repeated often enough that you encountered it somewhere in the posts.
    Users are flooding in here and don't know any of this. Of course we have to repeat everything endlessly.
    Because I like to give precise, understandable and workable answers to repeated questions, and Apple doesn't allow sticky posts here, I created a separate forum which users can consult to look up real answers, and contribute for themselves if they have something valuable to add:
    http://www.freeforum101.com/iworktipsntrick/
    There is a section purely devoted to Pages 5. Add whatever answers you feel will lighten the problems of Apple's 'upgrades'.
    Peter
    * Where have they acknowledged anything?
    ** They have barely anything listed, compared to the massive list of deleted features, and nothing but an extraordinarily long time frame considering they created the problems here and now. Apple has not said they will do anything at all about fixing the real issues, the biggest of which is that the new iWork apps break virtually all the work of existing users.

  • CRASH DURING INSTALLATION OF APPLICATION - UNABLE TO DELETE EITHER !!

    Hi, I am presently very happy with iPhone 3G having upgraded from the original model yesterday...
    I have one small problem, however, I have installed about a dozen or so applications from the the Apps store, about half using the iPhone and the other half from iTunes store on Mac.
    Everything was fine, but one free application:- "Checkword" which I was installing on iPhone locked up during the "Loading: phase of installation and has sat doing nothing in spite of numerous re-sets of phone and connecting to iTunes.
    I am unable to delete the App from the phone itself as this is not possible until installation is complete.
    I am a little concerned as this means potentially "glitchy" software on Apps store or a bug within version 2.0 of iPhone software which allows partially installed software to "hang" and prevents subsequent deletion of "useless" icon.
    I have even attempted to load the software via iTunes with the intention of over-writing onto phone, but iTunes indicates that I have already purchased the software and that I should "Check for purchases" from Store menu.
    Performing this instruction produces "Unable to check for purchases. Unknown error occurred (-206).
    This is only a small problem, but if this were to happen frequently iPhone users will have potentially dozens of unwanted half-installed apps left on their phones......
    Any ideas Guys, Ian R

    chiu,
    What is the exact RPC error messages? See if these article helps and fits the bill.
    http://consumer.installshield.com/kb.asp?id=Q0888
    Jason

  • Unless I repair my hard drive every other day I am unable to delete songs from iTunes or email messages from Postbox. I've only had an iMac for a few weeks, is this normal?

    Unless I repair my hard drive every other day I am unable to delete songs from iTunes or email messages from Postbox. I've only had an iMac for a few weeks, is this normal?

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

  • Unable to delete boot environment

    I installed SXDE207 into a vmware VM on my laptop. I then upgraded it to 907 using live upgrade:
    bash-3.00# lustatus
    Boot Environment           Is       Active Active    Can    Copy     
    Name                       Complete Now    On Reboot Delete Status   
    sxde207                    yes      no     no        yes    -        
    sxde907                    yes      yes    yes       no     -        
    bash-3.00# I now want to upgrade to 108, but I cannot delete 207:
    bash-3.00# ludelete sxde207
    The boot environment <sxde207> contains the GRUB menu.
    Attempting to relocate the GRUB menu.
    ERROR: No suitable candidate slice for GRUB menu on boot disk: </dev/rdsk/c0d0p0>
    INFORMATION: You will need to create a new Live Upgrade boot environment on the boot disk to find a new candidate for the GRUB menu.
    ERROR: Cannot relocate the GRUB menu in boot environment <sxde207>.
    ERROR: Cannot delete boot environment <sxde207>.
    Unable to delete boot environment.
    bash-3.00# Any idea how to fix this? I cannot just create a new boot environment on disk 0. lucreate throws an error when I try that.
    Mark

    got same error, trying to delete same solaris update5 version lu partition:
    # lustatus
    Boot Environment           Is       Active Active    Can    Copy     
    Name                       Complete Now    On Reboot Delete Status   
    solenv1                    yes      no     no        yes    -        
    solenv2                    yes      yes    yes       no     -
    # ludelete solenv1
    The boot environment <solenv1> contains the GRUB menu.
    Attempting to relocate the GRUB menu.
    /usr/sbin/ludelete: lulib_relocate_grub_slice: not found
    ERROR: Cannot relocate the GRUB menu in boot environment <solenv1>.
    ERROR: Cannot delete boot environment <solenv1>.
    Unable to delete boot environment.

  • Unable to delete iCloud email alias

    I am unable to delete my iCloud email Alias sucessfully.
    I have 3 alias at the moment. Two of it is correct and I am going to use it. The third was created wrongly(named spelt wrongly) and I tried to delete it. The moment i click the delete button and re-confirmed at the prompt, nothing happen. If you close the Settings menu and go back to the main interface, the alias itself is not found when u compose an email.
    BUT when you sign out of iCloud, the alias you have deleted will return. If you go back to the menu right after deleting the alias earlier on, there will be an error which always appears when i repeat it(report sent to apple everytime) stating internal inconsistency error or something like that.
    Now if you untick the box for "send and receieve.." for that particular alias, yes the alias itself will disppear from the list of aliases when i compose a new mail.
    BUT NOW there's another bug which comes with this - when i navigate to my iPhone's mail and compose a new mail(through iCloud, i had it enabled on my phone), the alias which i have deactivated just now still REMAINS and in fact i can even send email from it! So much for deactivation.
    I find it ridiculous to pay for support through Express Lane Support for this which does not belong to me(not like its a phone, duh), so i hope apple is actually looking at this and find a fix for it.
    And yes, i want my deleted alias to finally be deleted.
    PS: Im using Windows 7. Issue occur on both Firefox and IE

    I filed a bug report weeks ago with Apple about this issue with the iCloud Mail app crashing when one tries to delete an email alias. Apple has yesterday closed the ticket, telling me that the issue is not a bug but rather a "support" issue.
    In the interest of moving toward a solution for all those affected by the issue, I hope that someone who has access to free Express Lane support will take the time to see what support will do about the problem. Free Express Lane support is available to anyone who has purchased Apple hardware in the last 90 days or who has current AppleCare coverage. If someone does contact Apple support regarding the issue, please report back here so that the rest of us can know whether support reps are able to fix an affected account.
    Thanks.

  • UC 7 - unable to delete distribution list

    I've got this distribution list migrated over, which do not have any members, but am unable to delete it, and getting error this object is currently in use.
    I enabled dependency records but unable to see anywhere I can access this functionality. How do I go about this one? please help.

    I suspect if there is a dependency on it then deleting the DL from the CLI is not going to work either - the SA is essentially doing the same operation and the stored proc is likely returning that error.  You might get lucky and it's the SA doing a seperate/unnecessary check but I'm guessing that's not going to be the case and you'll see a similiar error in the CLI as you do in the SA.
    Another approach is to see if you can find the dependency reference on the DL - it could be a bug (i.e. a bogus reference) or it could be a handler referencing it as a message recipient and/or a name lookup handler referencing it as a scope etc...
    The easiest way to find references to an object is to use the CUDLI data viewer tool:
    http://www.ciscounitytools.com/Applications/CxN/CUDLI/CUDLI.html
    Make sure to have it show all data instead of limiting to the top 100 rows as it does by default (a red flashing text will tell you this when you fire it up).  Find the ObjectID of the DL you're trying to delete and then use the "Find value in db tables" option under the File Menu.  Paste in the object ID and let it rip - it'll look in every column of every row of every table in the database looking for references to that objectId - if there's any in there, it'll take you to them.  If there are valid references to the list keeping it from being deleted, you'll find them.

  • Help Please: unable to delete "artist" from "purchased" in iTunes store

    In my purchased (in iTunes) category, I am unable to delete the artist from my purchased music category in iTunes store.. When I clicked on the artist it shows me no songs but has a 2 written beside the artist name. Are the songs hidden?

    Open your Purchased playlist, and make sure that the View menu is set to "As List" so that you can see everything that is there.
    Are you trying to delete the item from your library, or only from that list?  If the latter don't bother, because the list is rule-driven and the item will immediately pop back in.  If the former, highlight the track(s) you don't want, hold Shift, and hit Delete.

  • Unable to delete the attachments from the order header or line

    Hi Friends,
    when i am saving any short text message through attachments either on sales order header or line, i am unable to delete the same again.
    i would like to know that is it a indented functionality of oracle or any setup needs to be done?
    Can anyone please look in to this?
    We are using 11.5.10.2

    If the order or line is closed, then you probably can not delete the attachments.
    But if the order line is still open, you should be able to delete attachments.
    If you cannot, it might be because your responsibility has a menu that excludes delete function. Try to use one of the seeded responsibilities (such as Order Management super user).
    Hope this answers your question
    Sandeep Gandhi
    Omkar Technologies Inc.
    Independent Techno-functional Consultant

  • Unable to delete unprotected OU

    Hi all,
    does anybody have an idea why I'm unable to delete an OU despite having disabled 'protect object from accidental deletion'? All other OU's show the the option to delete the OU in the context menu. However, this one OU does not. The context menu shows
    the same amount options as if I had never enabled the 'advanced features' option.
    Thanks.

    Hi,
    Would you please tell us that which OU you were trying to delete? If it is the Domain Controllers OU, then we cannot delete it thus it has no delete option with or without the option “Protect objects from accidental deletion” enabled.
    As for redirusr "OU=Users,DC=lab,DC=local", the CN=Users container is a computer-protected object, for backward compatibility reasons, we cannot (and must not) remove it. In addition, there cannot be an OU named Users,
    since the name Users is already in use as CN=Users.
    More information for you:
    Redirusr
    http://technet.microsoft.com/en-us/library/cc771655.aspx
    Best Regards,
    Amy

  • Unable to delete message

    My granddaughter sent me a message consisting of a picture and and a vocal message. It was one of those that has been forwarded several times. I am unable to delete the message. If I go into the menu and select "delete prior" for a given date, all the messages for that date will delete with the exception of the message I referenced. Does anyone have any suggestions that I might pursue?
    Solved!
    Go to Solution.

    Try battery pull: when device is ON remove the battery, wait a minute and turn the battery back to the device.
    And after that try to delete the message.

Maybe you are looking for

  • My camera is not working after upgrade to Maverick

    Hi, I had problem with my in build camare after upgrading to Maverick. I've tried to re-install, reseting and all.. Can anyone help?

  • Personas 2 SP2: field values disappear after entry?

    Hi Folks - we made a couple of changes to our Personas 2.0 flavors for IMA1N and IMA2N. The flavors work fine in our development system. After transporting the flavors to our QA system we now see a problem with data entry. When data is entered into c

  • Multiple Templates?

    We have 3 sales groups, each has its own marketplace. Each would like their own identity and style on 'their' part of the website. I have just installed PMM II so I can give them their own navigation bar from the home page and would like to create an

  • Incoming invoice number range per company code

    Hi! I have a doubt. Is there the possibility of create incoming invoice number range per company code? I need the MM doc, not FI doc. Thank's!

  • Default pay scale group

    Dear All, Can we restrict/defaulted pay scale grouping accordingly to employee sub group? in TARIF feature we can default pay scale type and area in basic pay, but how we can defaulted the payscale group, please let me know the steps. Thanks in a adv