ExFolders Exception (while adding anonymous and default user)
Hello! One of my Exchange2010 users has delete his anonyoumos and default users from the inbox. No I m trying to bring it back with the exfolders tool. When I try to get the Folder permissions of the onbox, I get the following error: Exception: Object reference not set to an instance of an object When I try to propagete folder ACEs, than I get this error: Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attemt to continue.If you click Quit, the application will close immediately 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 Microsoft.Exchange.ExFolders.Entity.get_Name() at Microsoft.Exchange.ExFolders.PropagateAceForm.GetPermissionsFromPermSet(PermissionSet permSet) at Microsoft.Exchange.ExFolders.PropagateAceForm..ctor(FolderInfo folderInfo) at Microsoft.Exchange.ExFolders.Form1.PropagateAce(TreeNode selectedNode) at System.Windows.Forms.MenuItem.OnClick(EventArgs e) at System.Windows.Forms.Command.Invoke() at System.Windows.Forms.Control.WmCommand(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.TreeView.WndProc(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.4959 (win7RTMGDR.050727-4900) CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll ---------------------------------------- ExFolders Assembly Version: 14.0.0.0 Win32 Version: 14.02.5076.000 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/ExFolders.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- Microsoft.Exchange.Data.Storage Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.012 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/Microsoft.Exchange.Data.Storage.DLL ---------------------------------------- System.Core Assembly Version: 3.5.0.0 Win32 Version: 3.5.30729.4926 built by: NetFXw7 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.DirectoryServices Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.DirectoryServices/2.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll ---------------------------------------- Microsoft.Exchange.Data.Directory Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.011 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/Microsoft.Exchange.Data.Directory.DLL ---------------------------------------- Microsoft.Exchange.Data Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.012 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/Microsoft.Exchange.Data.DLL ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- Microsoft.Exchange.Diagnostics Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.011 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/Microsoft.Exchange.Diagnostics.DLL ---------------------------------------- Microsoft.Exchange.Net Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.014 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/Microsoft.Exchange.Net.DLL ---------------------------------------- Microsoft.Exchange.Data.Common Assembly Version: 14.1.214.0 Win32 Version: 14.01.0218.011 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.Exchange.Data.Common/14.1.214.0__31bf3856ad364e35/Microsoft.Exchange.Data.Common.dll ---------------------------------------- Microsoft.Exchange.Common Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.011 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/Microsoft.Exchange.Common.DLL ---------------------------------------- System.Web Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4955 (win7RTMGDR.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_64/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll ---------------------------------------- Accessibility Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- Microsoft.Exchange.StoreProvider Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.011 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/Microsoft.Exchange.StoreProvider.DLL ---------------------------------------- Microsoft.Exchange.Core.Strings Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.011 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/Microsoft.Exchange.Core.Strings.DLL ---------------------------------------- Microsoft.Exchange.Core.Strings.resources Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.011 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/en/Microsoft.Exchange.Core.Strings.resources.DLL ---------------------------------------- Microsoft.Exchange.Data.resources Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.012 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/en/Microsoft.Exchange.Data.resources.DLL ---------------------------------------- Microsoft.Exchange.Rpc Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.014 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/Microsoft.Exchange.Rpc.DLL ---------------------------------------- msvcm90 Assembly Version: 9.0.30729.4959 Win32 Version: 9.00.30729.4959 CodeBase: file:///C:/Windows/WinSxS/amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4959_none_08e45ce1a83d7e3c/msvcm90.dll ---------------------------------------- System.DirectoryServices.Protocols Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.DirectoryServices.Protocols/2.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.Protocols.dll ---------------------------------------- Microsoft.Exchange.Extensibility.Internal Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.012 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/Microsoft.Exchange.Extensibility.Internal.DLL ---------------------------------------- Microsoft.Exchange.Data.Directory.resources Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.011 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/en/Microsoft.Exchange.Data.Directory.resources.DLL ---------------------------------------- Microsoft.Exchange.Data.Storage.ClientStrings Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.011 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/Microsoft.Exchange.Data.Storage.ClientStrings.DLL ---------------------------------------- Microsoft.Exchange.Data.Storage.ClientStrings.resources Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.011 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/de/Microsoft.Exchange.Data.Storage.ClientStrings.resources.DLL ---------------------------------------- Microsoft.Exchange.Common.IL Assembly Version: 0.0.0.0 Win32 Version: 14.01.0218.001 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/Microsoft.Exchange.Common.IL.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. can anyone help my pls? Thanks
May 5th, 2011 4:52am

Hello! One of my Exchange2010 users has delete his anonyoumos and default users from the inbox. No I m trying to bring it back with the exfolders tool. When I try to get the Folder permissions of the onbox, I get the following error: Exception: Object reference not set to an instance of an object When I try to propagete folder ACEs, than I get this error: Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attemt to continue.If you click Quit, the application will close immediately 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 Microsoft.Exchange.ExFolders.Entity.get_Name() at Microsoft.Exchange.ExFolders.PropagateAceForm.GetPermissionsFromPermSet(PermissionSet permSet) at Microsoft.Exchange.ExFolders.PropagateAceForm..ctor(FolderInfo folderInfo) at Microsoft.Exchange.ExFolders.Form1.PropagateAce(TreeNode selectedNode) at System.Windows.Forms.MenuItem.OnClick(EventArgs e) at System.Windows.Forms.Command.Invoke() at System.Windows.Forms.Control.WmCommand(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.TreeView.WndProc(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.4959 (win7RTMGDR.050727-4900) CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll ---------------------------------------- ExFolders Assembly Version: 14.0.0.0 Win32 Version: 14.02.5076.000 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/ExFolders.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- Microsoft.Exchange.Data.Storage Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.012 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/Microsoft.Exchange.Data.Storage.DLL ---------------------------------------- System.Core Assembly Version: 3.5.0.0 Win32 Version: 3.5.30729.4926 built by: NetFXw7 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.DirectoryServices Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.DirectoryServices/2.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll ---------------------------------------- Microsoft.Exchange.Data.Directory Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.011 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/Microsoft.Exchange.Data.Directory.DLL ---------------------------------------- Microsoft.Exchange.Data Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.012 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/Microsoft.Exchange.Data.DLL ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- Microsoft.Exchange.Diagnostics Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.011 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/Microsoft.Exchange.Diagnostics.DLL ---------------------------------------- Microsoft.Exchange.Net Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.014 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/Microsoft.Exchange.Net.DLL ---------------------------------------- Microsoft.Exchange.Data.Common Assembly Version: 14.1.214.0 Win32 Version: 14.01.0218.011 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.Exchange.Data.Common/14.1.214.0__31bf3856ad364e35/Microsoft.Exchange.Data.Common.dll ---------------------------------------- Microsoft.Exchange.Common Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.011 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/Microsoft.Exchange.Common.DLL ---------------------------------------- System.Web Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4955 (win7RTMGDR.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_64/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll ---------------------------------------- Accessibility Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- Microsoft.Exchange.StoreProvider Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.011 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/Microsoft.Exchange.StoreProvider.DLL ---------------------------------------- Microsoft.Exchange.Core.Strings Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.011 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/Microsoft.Exchange.Core.Strings.DLL ---------------------------------------- Microsoft.Exchange.Core.Strings.resources Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.011 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/en/Microsoft.Exchange.Core.Strings.resources.DLL ---------------------------------------- Microsoft.Exchange.Data.resources Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.012 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/en/Microsoft.Exchange.Data.resources.DLL ---------------------------------------- Microsoft.Exchange.Rpc Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.014 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/Microsoft.Exchange.Rpc.DLL ---------------------------------------- msvcm90 Assembly Version: 9.0.30729.4959 Win32 Version: 9.00.30729.4959 CodeBase: file:///C:/Windows/WinSxS/amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4959_none_08e45ce1a83d7e3c/msvcm90.dll ---------------------------------------- System.DirectoryServices.Protocols Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.DirectoryServices.Protocols/2.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.Protocols.dll ---------------------------------------- Microsoft.Exchange.Extensibility.Internal Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.012 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/Microsoft.Exchange.Extensibility.Internal.DLL ---------------------------------------- Microsoft.Exchange.Data.Directory.resources Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.011 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/en/Microsoft.Exchange.Data.Directory.resources.DLL ---------------------------------------- Microsoft.Exchange.Data.Storage.ClientStrings Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.011 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/Microsoft.Exchange.Data.Storage.ClientStrings.DLL ---------------------------------------- Microsoft.Exchange.Data.Storage.ClientStrings.resources Assembly Version: 14.0.0.0 Win32 Version: 14.01.0218.011 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/de/Microsoft.Exchange.Data.Storage.ClientStrings.resources.DLL ---------------------------------------- Microsoft.Exchange.Common.IL Assembly Version: 0.0.0.0 Win32 Version: 14.01.0218.001 CodeBase: file:///C:/Program%20Files/Microsoft/Exchange%20Server/V14/Bin/Microsoft.Exchange.Common.IL.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. can anyone help my pls? Thanks You mean to say permission from his Mailbox? (Outlook Inbox)Gulab | MCTS-MCITP Messaging: 2010 | MCTS-MCITP Messaging: 2007 | MCC 2011 | Skype: Gulab.Mallah
Free Windows Admin Tool Kit Click here and download it now
May 5th, 2011 5:23am

I want to add the default and the anonymous back to the inbox folder. I have also give my a full access permission on the users mailbox
May 5th, 2011 6:49am

What about the Mailbox, did you check the permission on Mailbox? What its showing in Mailbox? Gulab | MCTS-MCITP Messaging: 2010 | MCTS-MCITP Messaging: 2007 | MCC 2011 | Skype: Gulab.Mallah
Free Windows Admin Tool Kit Click here and download it now
May 5th, 2011 6:53am

Do you mean check the mailbox permissions with exfolders? If yes, there comes the first error message: Exception: Object reference not set to an instance of an object thanks
May 5th, 2011 6:58am

First thing is, why are you using ExFolders for one Mailbox? There is no need to user it. Second is, Check i EMC---Recipient Configuration...Mailbox and Manage Permission, Post the permissions you have.Gulab | MCTS-MCITP Messaging: 2010 | MCTS-MCITP Messaging: 2007 | MCC 2011 | Skype: Gulab.Mallah
Free Windows Admin Tool Kit Click here and download it now
May 5th, 2011 8:43am

Hello! I use exfolders for one user because I must add the anonyoumus and default users, and this are MAPI Rights. At Full Access Permissions, there are no MAPI Rights in.
May 5th, 2011 10:19am

Hi Stephan, Sure, I also could not add it again through Exfolder. But, through my test as below: 1. remove the default and anonymous from the inbox folder, the default seems could not be removed 2. use exfolder remove the anonymous and add it again, there would be an error 3. refresh the mailbox, and check the permission on the inbox floder, I found out that the anonymous showed again automatically Regards! GavinPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
May 11th, 2011 6:23am

Hello Gavin! This workaroung works for my Thanks
May 16th, 2011 10:27am

Hello Gavin! This workaround works for my Thanks
Free Windows Admin Tool Kit Click here and download it now
May 16th, 2011 10:28am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics