0
votes

We are using RavenDB 2.0 and bundle 2330.

We have a problem in export/import of versioned documents. We did the following.

  • We had a database with versioning bundle enabled
  • We had a number of records with multiple versions
  • exported the database to a dump file using Raven-Studio
  • Tried importing the same in another server with versioning bundle
  • But the server refused to import the documents and gave error as follows and stopped Import

Server sent: at Raven.Studio.Infrastructure.InvocationExtensions.Catch(Task parent, Func2 func) at Raven.Studio.Infrastructure.InvocationExtensions.Catch(Task parent, Action1 action) at Raven.Studio.Commands.ImportDatabaseCommand.<>c_DisplayClass8.b_1() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot) at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution) at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

Client side exception: System.Net.WebException: [HttpWebRequest_WebException_RemoteServer] Arguments: NotFound Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.20513.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer at System.Net.Browser.ClientHttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Func2.Invoke(T arg) at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task`1 promise)

  • So we removed the versioning bundle and then imported and then applied the versioning bundle.
  • The import was successful. But all the versions of the documents are being treated as separate documents and not as different version

We are on our alpha stage and suddenly recovering such issues in RavenDB. Any ideas please?

1

1 Answers

-4
votes

Muthu,

Do Following Steps :

  1. Go to your database where you find list of tables.
  2. click check all to select all the tables.
  3. select export option from dropdown.That will export your tables.
  4. Now create new database where you want all that record
  5. Go inside that database (select database name.)
  6. Go to Import tab.
  7. Now create zip of that exported file. If your server allow simple upload then you can do that also.
  8. Upload that zip/sql exported
  9. your tables are ready to use.

Tell me its working for you or not?