RavenDB.Client Package and Asp.Net Core 1.0

90 views
Skip to first unread message

Ofir Green

unread,
Oct 20, 2016, 2:35:12 AM10/20/16
to RavenDB - 2nd generation document database
Hello,

I'm trying to execute the following on NetCoreApp1.0 :

IDocumentStore store = new DocumentStore()
      {
        Url = "http://localhost:8080"
      }.Initialize();
string[] databaseNames = store.DatabaseCommands.GlobalAdmin.GetDatabaseNames(1);

and I get the following error:

Exception thrown: 'System.ArgumentNullException' in System.Private.CoreLib.ni.dll

Additional information: SafeHandle cannot be null.

While on .NET 4.5 this code works just fine.

in my project.json I'm using 

"RavenDB.Client":"3.5.0-rc-35173"

as a dependency. any idea why this is happening?

Oren Eini (Ayende Rahien)

unread,
Oct 20, 2016, 2:47:17 AM10/20/16
to ravendb
Ignore this and continue, this is an error internal to CoreCLR and it is handled.

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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages