Cannot delete folder

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
greg_burns
Posts: 6
Joined: Mon Jan 05, 2004 9:31 am

Cannot delete folder

Post by greg_burns » Mon Jan 05, 2004 10:00 am

I am having a terrible time with one of my solutions (folders) in Vault. I just want to delete it and start over, but now I cannot even do that.

I am running Vault 1.2.3(758)

If I try and delete it (or do anything else for that matter) I get an error window that says "The object could not be found. It may have been deleted, moved or renamed." Refreshing does nothing.

The message pan has this log:
[1/5/2004 10:32:51 AM] Preparing data to begin transaction
[1/5/2004 10:32:51 AM] Beginning transaction
[1/5/2004 10:32:51 AM] Item $/TimeSheetSolution caused the transaction to fail: The object could not be found. It may have been deleted, moved or renamed.
[1/5/2004 10:32:51 AM] Transaction failed

Also, I've noticed if I go into Obliterate tab in the Admin Tool is causes the below exception as soon as I choose my default Repository from the dropdown.

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 VaultAdmin.AdminManager.HandleException(Exception e, Boolean bHandle, Boolean isSoap)
at VaultAdmin.AdminManager.SetActiveRepositoryID(Int32 repID, String uniqueRepID)
at VaultAdmin.FormMain.comboBoxObliterateRep_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ComboBox.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/microsoft.net/framework/v1.0.3705/mscorlib.dll
----------------------------------------
VaultAdmin
Assembly Version: 1.2.3.758
Win32 Version: 1.2.3.758
CodeBase: file:///C:/Program%20Files/SourceGear/Admin%20Tool/VaultAdmin.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.3300.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system/1.0.3300.0__b77a5c561934e089/system.dll
----------------------------------------
VaultPresentationLib
Assembly Version: 1.2.3.758
Win32 Version: 1.2.3.758
CodeBase: file:///C:/Program%20Files/SourceGear/Admin%20Tool/VaultPresentationLib.DLL
----------------------------------------
VaultClientUILib
Assembly Version: 1.2.3.758
Win32 Version: 1.2.3.758
CodeBase: file:///C:/Program%20Files/SourceGear/Admin%20Tool/VaultClientUILib.DLL
----------------------------------------
VaultClientNetLib
Assembly Version: 1.2.3.758
Win32 Version: 1.2.3.758
CodeBase: file:///C:/Program%20Files/SourceGear/Admin%20Tool/VaultClientNetLib.DLL
----------------------------------------
System.Web.Services
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.web.services/1.0.3300.0__b03f5f7f11d50a3a/system.web.services.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.3300.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
VaultClientOperationsLib
Assembly Version: 1.2.3.758
Win32 Version: 1.2.3.758
CodeBase: file:///C:/Program%20Files/SourceGear/Admin%20Tool/VaultClientOperationsLib.DLL
----------------------------------------
VaultLib
Assembly Version: 1.2.3.758
Win32 Version: 1.2.3.758
CodeBase: file:///C:/Program%20Files/SourceGear/Admin%20Tool/VaultLib.DLL
----------------------------------------
System.Xml
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.3300.0__b77a5c561934e089/system.xml.dll
----------------------------------------
System.Web
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.web/1.0.3300.0__b03f5f7f11d50a3a/system.web.dll
----------------------------------------
rlmtw2b0
Assembly Version: 0.0.0.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system/1.0.3300.0__b77a5c561934e089/system.dll
----------------------------------------
pf8kpchd
Assembly Version: 0.0.0.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system/1.0.3300.0__b77a5c561934e089/system.dll
----------------------------------------
-q4vf95l
Assembly Version: 0.0.0.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system/1.0.3300.0__b77a5c561934e089/system.dll
----------------------------------------
System.Management
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.management/1.0.3300.0__b03f5f7f11d50a3a/system.management.dll
----------------------------------------
VCDiff
Assembly Version: 1.2.3.758
Win32 Version: 1.2.3.758
CodeBase: file:///C:/Program%20Files/SourceGear/Admin%20Tool/VCDiff.DLL
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (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 machine
rather than being handled by this dialog.



I have been having weirdness with this Solution for awhile. I have restored my database once before when the exception started showing up in the Obliterate tab, and that did correct that problem. But now it is back and I need some help.

Thanks,
Greg Burns
greg_burns@hotmail.com

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Delete problem.

Post by jeremy_sg » Mon Jan 05, 2004 10:59 am

It sounds to me that there is a problem on the client side of things. Could you try deleting your CacheMember_Repository file? Check out This KB article. My theory is that the deletion worked in the DB, but the client tree cache was not updated. The stale client cache would then cause errors like the one that you're seeing. If this doesn't work, please let me know.
[/url]

greg_burns
Posts: 6
Joined: Mon Jan 05, 2004 9:31 am

Post by greg_burns » Tue Jan 06, 2004 8:50 am

Deleting the CacheMember_Repository file did the trick. Although, I still get an exception when trying to use Obliterate from the Admin tool.

Greg

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Tue Jan 06, 2004 10:01 am

What is the exact exception that you're getting on obliterate?

greg_burns
Posts: 6
Joined: Mon Jan 05, 2004 9:31 am

Post by greg_burns » Tue Jan 06, 2004 11:44 am

I get the below exception when I click the drop down to choose a Repository from the list. (I only have one Repository). This happens on both the Obliterate tab and the Undo Checkout tab. I just installed the admin tool on a clean machine and those functions work fine there. So is there another client side file I need to delete?

"Object reference not set to an instance of an object."

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 VaultAdmin.AdminManager.HandleException(Exception e, Boolean bHandle, Boolean isSoap)
at VaultAdmin.AdminManager.SetActiveRepositoryID(Int32 repID, String uniqueRepID)
at VaultAdmin.FormMain.comboBoxObliterateRep_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ComboBox.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/microsoft.net/framework/v1.0.3705/mscorlib.dll
----------------------------------------
VaultAdmin
Assembly Version: 1.2.3.758
Win32 Version: 1.2.3.758
CodeBase: file:///C:/Program%20Files/SourceGear/Admin%20Tool/VaultAdmin.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.3300.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system/1.0.3300.0__b77a5c561934e089/system.dll
----------------------------------------
VaultPresentationLib
Assembly Version: 1.2.3.758
Win32 Version: 1.2.3.758
CodeBase: file:///C:/Program%20Files/SourceGear/Admin%20Tool/VaultPresentationLib.DLL
----------------------------------------
VaultClientUILib
Assembly Version: 1.2.3.758
Win32 Version: 1.2.3.758
CodeBase: file:///C:/Program%20Files/SourceGear/Admin%20Tool/VaultClientUILib.DLL
----------------------------------------
VaultClientNetLib
Assembly Version: 1.2.3.758
Win32 Version: 1.2.3.758
CodeBase: file:///C:/Program%20Files/SourceGear/Admin%20Tool/VaultClientNetLib.DLL
----------------------------------------
System.Web.Services
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.web.services/1.0.3300.0__b03f5f7f11d50a3a/system.web.services.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.3300.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
VaultClientOperationsLib
Assembly Version: 1.2.3.758
Win32 Version: 1.2.3.758
CodeBase: file:///C:/Program%20Files/SourceGear/Admin%20Tool/VaultClientOperationsLib.DLL
----------------------------------------
VaultLib
Assembly Version: 1.2.3.758
Win32 Version: 1.2.3.758
CodeBase: file:///C:/Program%20Files/SourceGear/Admin%20Tool/VaultLib.DLL
----------------------------------------
System.Xml
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.3300.0__b77a5c561934e089/system.xml.dll
----------------------------------------
System.Web
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.web/1.0.3300.0__b03f5f7f11d50a3a/system.web.dll
----------------------------------------
dywyuolq
Assembly Version: 0.0.0.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system/1.0.3300.0__b77a5c561934e089/system.dll
----------------------------------------
ojz-icr_
Assembly Version: 0.0.0.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system/1.0.3300.0__b77a5c561934e089/system.dll
----------------------------------------
pi0s3elo
Assembly Version: 0.0.0.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system/1.0.3300.0__b77a5c561934e089/system.dll
----------------------------------------
System.Management
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.management/1.0.3300.0__b03f5f7f11d50a3a/system.management.dll
----------------------------------------
VCDiff
Assembly Version: 1.2.3.758
Win32 Version: 1.2.3.758
CodeBase: file:///C:/Program%20Files/SourceGear/Admin%20Tool/VCDiff.DLL
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (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 machine
rather than being handled by this dialog.

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Tue Jan 06, 2004 11:56 am

Greg,

My first guess would be that the user that is logged in to the admin tool also has a stale cache file. You could try deleting that user's cache files.

If you already have, then please email me at jeremy@sourcegear.com and I'll work with you offline and post a summary here.

-Jeremy

greg_burns
Posts: 6
Joined: Mon Jan 05, 2004 9:31 am

Post by greg_burns » Tue Jan 06, 2004 1:16 pm

Interesting, I assumed (not sure why) that I had to log into the admin tool as the admin user. If I log into the admin tool as myself (I am in the admin group), it doesn't crash. Taking this to the obvious conclusion, I deleted the "admin" user's CacheMember_Repository file and everything is now fine.

Thanks!

Post Reply