Re: Unable to access Management Studio when in embedded mode

35 views
Skip to first unread message

Sharon L

unread,
May 24, 2013, 4:01:37 PM5/24/13
to rav...@googlegroups.com
Looks like this issue occurs when I am using Prism/MEF to load the project that starts the RavenDB process as an extension into the main project. I am not sure what I need to do to resolve it. Any ideas?

Sharon L

unread,
May 24, 2013, 4:05:32 PM5/24/13
to rav...@googlegroups.com
Oh, and some more info, I am compiling the extension project into an "Extensions" Folder. When the main project is run, we add the extension folder as a directory catalog to load the parts. I am wondering if this is a pathing issue since the extension doesn't reside in the same folder as the main app.

Sharon L

unread,
May 24, 2013, 4:22:41 PM5/24/13
to rav...@googlegroups.com
Some more Info. This is being thrown when documentStore.Initialize(); is executed:

System.InvalidOperationException occurred
  HResult=-2146233079
  Message=Could not get compiled index type. This probably means that there is something wrong with the assembly load context.
  Source=Raven.Database
  StackTrace:
       at Raven.Database.Linq.QueryParsingUtils.Compile(String source, String name, String queryText, OrderedPartCollection`1 extensions, String basePath) in c:\Builds\RavenDB-Stable\Raven.Database\Linq\QueryParsingUtils.cs:line 332
  InnerException: 

I assume this has to do with Prism/MEF loading the libraries.

Sharon L

unread,
May 24, 2013, 5:25:39 PM5/24/13
to rav...@googlegroups.com
I had to deploy the ravendb libraries to the root of the application. That solved the issue.

Kijana Woodard

unread,
May 24, 2013, 5:27:27 PM5/24/13
to rav...@googlegroups.com
Raven uses MEF as well. Maybe there's some conflict.


--
You received this message because you are subscribed to the Google Groups "ravendb" 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/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages