Errror in importing data from smuggler

61 views
Skip to first unread message

Alok Agarwal

unread,
Nov 16, 2015, 6:22:47 AM11/16/15
to RavenDB - 2nd generation document database
Hi,

I am using #2945 version of ravendb. The database size is approximately 2.5 gb and having around 90500 records. When I use smuggler to import data on a new database it throws an error at the end. I am using following command within powershell.

I have tried various time out values but same results.

Raven.Smuggler.exe in $RavenDBUrl/databases/$database $RavenDump --api-key=$ReadWriteKey --timeout=3000000 --negative-metadata-filter:@id=Raven/Replication/Destinations --negative-metadata-filter:@id=Raven/Backup/Periodic/Setup --negative-metadata-filter:@id=Raven/Backup/Periodic/Status --negative-metadata-filter:@id=Raven/Replication/VersionHilo" 
    
Importing attachment 045b5bb2-d3ad-48e9-adec-003df1669fa6 Importing attachment 46452899-0252-43a7-b19f-32deea5054fd Importing attachment f1715892-d5aa-495d-99a0-d4d19e6d9c59 Importing attachment 5b81305a-cd55-4105-b779-973f70063680 Done with reading attachments, total: 7398 Begin reading transformers Done with reading transformers, total: 0 Imported 90,529 documents and 7,398 attachments in 1,235,279 ms Finished writing all results to server NotSpecified: (:String) [], RemoteException + CategoryInfo : NotSpecified: (:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError + PSComputerName : 10.254.36.151 Unhandled Exception: System.AggregateException: One or more errors occurred. ---> System.Net.WebException: The request was aborted: The request was canceled. Server stack trace: at System.Net.HttpWebRequest.BeginGetResponse(AsyncCallback callback, Object state) at System.Threading.Tasks.TaskFactory`1.FromAsyncImpl(Func`3 beginMethod, Func`2 endFunction, Action`1 endAction, Object state, TaskCreationOptions creationOptions) at AsyncCompatLibExtensions.<>c__DisplayClass30.<GetResponseAsync>b__2f() at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.Tasks.Task.Execute() Exception rethrown at [0]: at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task) at Raven.Client.Connection.HttpJsonRequest.<RawExecuteRequestAsync>d__4b.Mov eNext() in c:\Builds\RavenDB-Stable-2.5\Raven.Client.Lightweight\Connection\Htt pJsonRequest.cs:line 933 Exception rethrown at [1]: at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at Raven.Client.Document.RemoteBulkInsertOperation.<DisposeAsync>d__18.MoveNext() in c:\Builds\RavenDB-Stable-2.5\Raven.Client.Lightweight\Document\RemoteBulkIns ertOperation.cs:line 295 Exception rethrown at [2]: at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task) at Raven.Smuggler.SmugglerApi.<ImportData>d__6.MoveNext() in c:\Builds\RavenDB-Stable-2.5\Raven.Smuggler\SmugglerApi.cs:line 100 Exception rethrown at [3]: at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task) at Raven.Abstractions.Smuggler.SmugglerApiBase.<ImportData>d__2b.MoveNext() in c:\Builds\RavenDB-Stable-2.5\Raven.Abstractions\Smuggler\SmugglerApiBase.cs: line 387 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait() at Raven.Smuggler.Program.Parse(String[] args) in c:\Builds\RavenDB-Stable-2.5\Raven.Smuggler\Program.cs:line 201 at Raven.Smuggler.Program.Main(String[] args) in c:\Builds\RavenDB-Stable-2.5\Raven.Smuggler\Program.cs:line 118

Any help will be appreciated.

Oren Eini (Ayende Rahien)

unread,
Nov 16, 2015, 6:24:08 AM11/16/15
to ravendb
How are you running ravendb?
Also, try importing this via the studio

Hibernating Rhinos Ltd  

Oren Eini l CEO Mobile: + 972-52-548-6969

Office: +972-4-622-7811 l Fax: +972-153-4-622-7811

 


--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alok Agarwal

unread,
Nov 24, 2015, 12:46:08 PM11/24/15
to RavenDB - 2nd generation document database
we are running ravendb in IIS.

When I try importing it through import database task in studio, it imports the documents but as soon as it starts importing attachments it throws an error

Error 0x2115: Debugging resource string was unavailable.

Oren Eini (Ayende Rahien)

unread,
Nov 25, 2015, 9:26:25 AM11/25/15
to ravendb
What build are you using?
Can you show the fiddler output?
Reply all
Reply to author
Forward
0 new messages