RavenDB 3.0 plugins Unique Constraints

30 views
Skip to first unread message

Romeo Ngo

unread,
Jul 23, 2015, 3:37:48 PM7/23/15
to RavenDB - 2nd generation document database
I'm using the Unique Constraints bundles/plugins and it is working with the nuget RavenDB server (I added the Raven.Bundles.UniqueConstraints.dll and .pdb in the tools/Plugins.

However, it doesn't work when I stood up the IIS version of it.  I tried 

1.  Added a Plugins folder within the web folder (where the web.config is).  This doesn't work
2.  Then move the Plugins folder within the bin folder.  This doesn't work.
3.  Then tried renamed the Plugins folder to Bundles and that doesn't work either.


Am I missing something here?  I'm using RavenDB version 3.0.3690.  Downloaded from here http://ravendb.net/downloads.



Romeo Ngo

unread,
Jul 23, 2015, 3:56:06 PM7/23/15
to RavenDB - 2nd generation document database, rome...@gmail.com
I found out what's going on.

I need to add this to the app settings of the web config.

<add key="Raven/ActiveBundles" value="UniqueConstraints" />
         <add key="Raven/PluginsDirectory" value="D:\PATH-To-Plugins-Folder" />

Suggestion, we should add all the keys to the web config inside a comments so users can easily enable them.

Oren Eini (Ayende Rahien)

unread,
Jul 23, 2015, 4:48:20 PM7/23/15
to ravendb
1 should work

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.

Reply all
Reply to author
Forward
0 new messages