MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

DBResourceManager not working on   (Mono Support )

Viewed 40788 time(s), 6 post(s) 2/10/2016 8:04:07 AMby bord1986

Related topics

bord1986

bord1986

2/10/2016 8:04:07 AM
Hello, I switched the default resource provider to DBResourceManager MonoX_5_1_40_5152

Here the web.config:
 <ResourceProviderModel defaultProvider="DBResourceManager">
      <providers>
        <clear />
        <add name="ResourceManager" type="System.Resources.ResourceManager, Mscorlib" customProperties="" />
        <add name="DBResourceManager" type="MonoSoftware.Web.ResourceProviderModel.Providers.DBResourceManager, MonoSoftware.Web.ResourceProviderModel" customProperties="" />
      </providers>
    </ResourceProviderModel>

Here the error log:
The prefetch path element at index 0 in the passed in prefetch path for root entity type 36 is meant for root entity type 39 which isn't a subtype of 36. This means that you've added a prefetch path node to a Path of an unrelated entity, for example adding OrderDetailsEntity.PrefetchPathProduct to a prefetch path for CustomerEntity.

Steps to reproduce:
Download & install MonoX 5.1, launch to check it works, switch the default ResourceProvider, get the error
This content has not been rated yet. 
30 Reputation 4 Total posts
bord1986

bord1986

2/11/2016 1:23:54 PM
Any news? I'm considering to use MonoX (probably I'll buy the source code too) but this problem, that seems easy to reproduce, is blocking my evaluation
This content has not been rated yet. 
30 Reputation 4 Total posts
khorvat

khorvat

2/11/2016 2:14:22 PM
Hi,

we are investigating the issue related to DBResourceProvider, in the meanwhile we just want to point out that this provider is best suitable for non-so-technical users as they can change resources using the UI. If you are building a commercial Web application then we would suggest you use open sourced Localization project from the GitHub.

Please let us know if we may be of further assistance.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
bord1986

bord1986

2/11/2016 2:19:15 PM
Thanks for your suggestion, much appreciated.
Anyway I do want to give my admin users to edit the localization messages by their own.

I'll wait for your feedback about the issue on DBResourceProvider.

Regards.
This content has not been rated yet. 
30 Reputation 4 Total posts
bord1986

bord1986

2/22/2016 6:38:08 PM
Hello khorvat, do you have any news about this issue?
This content has not been rated yet. 
30 Reputation 4 Total posts
khorvat

khorvat

2/23/2016 2:29:38 PM
Hi,

we have upgraded DB resource manager library so please try and use the following assemblies. Just copy those to bin folder.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts