When trying to export from a repository, the "Folder Export / Import" tool fails with
"A database error has occurred (FailDBReader)"
The vault server is online and available. The Vault version is 6.0.1 (530).
Is there any way to check the integrity of the Vault database? How can I export the folder?
There are two event log entries which seem to relate:
Log Name: Application
Source: .NET Runtime
Date: 10/09/2013 11:54:18
Event ID: 1026
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: ws0731.lpfa.org.uk
Description:
Application: VaultFolderExportImport.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ObjectDisposedException
Stack:
Server stack trace:
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Form.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.GetSafeHandle(IWin32Window window)
at System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp)
at System.Windows.Forms.MessageBox.Show(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon)
at VaultFolderExportImport.frmExport.ProcessResults(ExportCommand ec)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(System.Runtime.Remoting.Messaging.Message, Boolean)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(System.Object, System.Runtime.Remoting.Proxies.MessageData ByRef)
at VaultFolderExportImport.CompletedExportCommandAsyncDelegate.EndInvoke(System.IAsyncResult)
at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessageSink)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name=".NET Runtime" />
<EventID Qualifiers="0">1026</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2013-09-10T10:54:18.000000000Z" />
<EventRecordID>16132</EventRecordID>
<Channel>Application</Channel>
<Computer>ws0731.lpfa.org.uk</Computer>
<Security />
</System>
<EventData>
<Data>Application: VaultFolderExportImport.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ObjectDisposedException
Stack:
Server stack trace:
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Form.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.GetSafeHandle(IWin32Window window)
at System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp)
at System.Windows.Forms.MessageBox.Show(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon)
at VaultFolderExportImport.frmExport.ProcessResults(ExportCommand ec)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(System.Runtime.Remoting.Messaging.Message, Boolean)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(System.Object, System.Runtime.Remoting.Proxies.MessageData ByRef)
at VaultFolderExportImport.CompletedExportCommandAsyncDelegate.EndInvoke(System.IAsyncResult)
at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessageSink)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
</Data>
</EventData>
</Event>
... and two seconds later ...
Log Name: Application
Source: Application Error
Date: 10/09/2013 11:54:20
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: ws0731.lpfa.org.uk
Description:
Faulting application name: VaultFolderExportImport.exe, version: 6.1.0.531, time stamp: 0x50ac1345
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18015, time stamp: 0x50b8479b
Exception code: 0xe0434352
Fault offset: 0x0000000000009e5d
Faulting process id: 0x16b0
Faulting application start time: 0x01ceae1089d4f552
Faulting application path: C:\Program Files (x86)\SourceGear\Vault Client\VaultFolderExportImport.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 57f55f22-1a07-11e3-9560-24be051acd6d
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2013-09-10T10:54:20.000000000Z" />
<EventRecordID>16133</EventRecordID>
<Channel>Application</Channel>
<Computer>ws0731.lpfa.org.uk</Computer>
<Security />
</System>
<EventData>
<Data>VaultFolderExportImport.exe</Data>
<Data>6.1.0.531</Data>
<Data>50ac1345</Data>
<Data>KERNELBASE.dll</Data>
<Data>6.1.7601.18015</Data>
<Data>50b8479b</Data>
<Data>e0434352</Data>
<Data>0000000000009e5d</Data>
<Data>16b0</Data>
<Data>01ceae1089d4f552</Data>
<Data>C:\Program Files (x86)\SourceGear\Vault Client\VaultFolderExportImport.exe</Data>
<Data>C:\Windows\system32\KERNELBASE.dll</Data>
<Data>57f55f22-1a07-11e3-9560-24be051acd6d</Data>
</EventData>
</Event>
A database error has occurred (FailDBReader)
Moderator: SourceGear
Re: A database error has occurred (FailDBReader)
We'd like to see a copy of the Vault Server log from the time of the export and the Export log.
The the Vault Server log is called sgvault.log and is in %windir%\temp\sgvault on the server machine.
The export log is VaultFolderExportImport.txt and should be in your user's temp directory, %temp%
Email the logs to support at sourcegear.com, ATTN: Linda.
Please include a link to this forum post.
The the Vault Server log is called sgvault.log and is in %windir%\temp\sgvault on the server machine.
The export log is VaultFolderExportImport.txt and should be in your user's temp directory, %temp%
Email the logs to support at sourcegear.com, ATTN: Linda.
Please include a link to this forum post.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: A database error has occurred (FailDBReader)
The Vault database transasction log had run out of disk space. When the user freed up space, that resolved the errors.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager