Hello,
After installing Vault and adding my project to Vault, I manually right-click on my wwwroot website folder and removed the 'read-only' flag on the folder because during compilation it wasn't writing to a file and as a result the vs.net application wasn't compiling. It compiles fine now, but I notice that for my web project vault doesn't request a checkout on my .aspx along with the .cs codebehind.
the files show up as 'renegage' in my vault client (so its being updated without being checkout).
what's going on?
renegades
Moderator: SourceGear
Visual Studio requires all source files under Source Control to have the read-only attribute enabled. It is nothing related to Vault, its just how VS works.
If you were having compilation issues, then my guess is too much was under source control. DLLs, PDBs, OBJs, and other files generated by compilation should not be under source control, as the read-only attribute causes compilation to fail.
Perhaps the easiest way to get the correct files into Vault with Visual Studio integration is to:
If you were having compilation issues, then my guess is too much was under source control. DLLs, PDBs, OBJs, and other files generated by compilation should not be under source control, as the read-only attribute causes compilation to fail.
Perhaps the easiest way to get the correct files into Vault with Visual Studio integration is to:
- Have the project on disk.
- Make sure it is not currently "bound" to any Source Control solution. Invoke the Source Control option on the project, and then unbind any projects/solutions.
- Finally Invoke Add To Source Control from within the main VS / Source Control menu.
Jeff Clausius
SourceGear
SourceGear
Hi,
I went into Vault Admin and deleted the repository. I then readded a new repository with the same name as the one I just deleted.
A popup came up and gave me the option to save the options, i said yes. It then gave a failedDBInsert error 2 times in a row. I then deleted that repository and created a new one with a new name, I then got another debug error:
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.FormMain.CommandSetRepositoryOptions()
at VaultAdmin.FormMain.CommandApplyRepOptChanges()
at VaultAdmin.FormMain.CommandCheckRepOptionsUpToDate()
at VaultAdmin.FormMain.FormMain_Closing(Object sender, CancelEventArgs e)
at System.Windows.Forms.Form.OnClosing(CancelEventArgs e)
at System.Windows.Forms.Form.WmClose(Message& m)
at System.Windows.Forms.Form.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.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///g:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
VaultAdmin
Assembly Version: 3.1.9.3798
Win32 Version: 3.1.9.3798
CodeBase: file:///H:/Program%20Files/SourceGear/Admin%20Tool/VaultAdmin.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///g:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///g:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
VaultClientOperationsLib
Assembly Version: 3.1.9.3798
Win32 Version: 3.1.9.3798
CodeBase: file:///H:/Program%20Files/SourceGear/Admin%20Tool/VaultClientOperationsLib.DLL
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///g:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
VaultLib
Assembly Version: 3.1.9.3798
Win32 Version: 3.1.9.3798
CodeBase: file:///H:/Program%20Files/SourceGear/Admin%20Tool/VaultLib.DLL
----------------------------------------
VaultClientUILib
Assembly Version: 3.1.9.3798
Win32 Version: 3.1.9.3798
CodeBase: file:///H:/Program%20Files/SourceGear/Admin%20Tool/VaultClientUILib.DLL
----------------------------------------
VaultPresentationLib
Assembly Version: 3.1.9.3798
Win32 Version: 3.1.9.3798
CodeBase: file:///H:/Program%20Files/SourceGear/Admin%20Tool/VaultPresentationLib.DLL
----------------------------------------
VaultClientNetLib
Assembly Version: 3.1.9.3798
Win32 Version: 3.1.9.3798
CodeBase: file:///H:/Program%20Files/SourceGear/Admin%20Tool/VaultClientNetLib.DLL
----------------------------------------
System.Web.Services
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///g:/windows/assembly/gac/system.web.services/1.0.5000.0__b03f5f7f11d50a3a/system.web.services.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///g:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
System.Web
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2037
CodeBase: file:///g:/windows/assembly/gac/system.web/1.0.5000.0__b03f5f7f11d50a3a/system.web.dll
----------------------------------------
qcrelzaz
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///g:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
xb25z8as
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///g:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Management
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///g:/windows/assembly/gac/system.management/1.0.5000.0__b03f5f7f11d50a3a/system.management.dll
----------------------------------------
vs
Assembly Version: 1.0.2343.17399
Win32 Version: 1.0.2343.17399
CodeBase: file:///H:/Program%20Files/SourceGear/Admin%20Tool/vs.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 went into Vault Admin and deleted the repository. I then readded a new repository with the same name as the one I just deleted.
A popup came up and gave me the option to save the options, i said yes. It then gave a failedDBInsert error 2 times in a row. I then deleted that repository and created a new one with a new name, I then got another debug error:
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.FormMain.CommandSetRepositoryOptions()
at VaultAdmin.FormMain.CommandApplyRepOptChanges()
at VaultAdmin.FormMain.CommandCheckRepOptionsUpToDate()
at VaultAdmin.FormMain.FormMain_Closing(Object sender, CancelEventArgs e)
at System.Windows.Forms.Form.OnClosing(CancelEventArgs e)
at System.Windows.Forms.Form.WmClose(Message& m)
at System.Windows.Forms.Form.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.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///g:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
VaultAdmin
Assembly Version: 3.1.9.3798
Win32 Version: 3.1.9.3798
CodeBase: file:///H:/Program%20Files/SourceGear/Admin%20Tool/VaultAdmin.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///g:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///g:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
VaultClientOperationsLib
Assembly Version: 3.1.9.3798
Win32 Version: 3.1.9.3798
CodeBase: file:///H:/Program%20Files/SourceGear/Admin%20Tool/VaultClientOperationsLib.DLL
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///g:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
VaultLib
Assembly Version: 3.1.9.3798
Win32 Version: 3.1.9.3798
CodeBase: file:///H:/Program%20Files/SourceGear/Admin%20Tool/VaultLib.DLL
----------------------------------------
VaultClientUILib
Assembly Version: 3.1.9.3798
Win32 Version: 3.1.9.3798
CodeBase: file:///H:/Program%20Files/SourceGear/Admin%20Tool/VaultClientUILib.DLL
----------------------------------------
VaultPresentationLib
Assembly Version: 3.1.9.3798
Win32 Version: 3.1.9.3798
CodeBase: file:///H:/Program%20Files/SourceGear/Admin%20Tool/VaultPresentationLib.DLL
----------------------------------------
VaultClientNetLib
Assembly Version: 3.1.9.3798
Win32 Version: 3.1.9.3798
CodeBase: file:///H:/Program%20Files/SourceGear/Admin%20Tool/VaultClientNetLib.DLL
----------------------------------------
System.Web.Services
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///g:/windows/assembly/gac/system.web.services/1.0.5000.0__b03f5f7f11d50a3a/system.web.services.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///g:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
System.Web
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2037
CodeBase: file:///g:/windows/assembly/gac/system.web/1.0.5000.0__b03f5f7f11d50a3a/system.web.dll
----------------------------------------
qcrelzaz
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///g:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
xb25z8as
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///g:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Management
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///g:/windows/assembly/gac/system.management/1.0.5000.0__b03f5f7f11d50a3a/system.management.dll
----------------------------------------
vs
Assembly Version: 1.0.2343.17399
Win32 Version: 1.0.2343.17399
CodeBase: file:///H:/Program%20Files/SourceGear/Admin%20Tool/vs.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.
The Vault Server Log may shed some light here. Can you see if there are any errors that may help us trouble shoot this?
Jeff Clausius
SourceGear
SourceGear