mojoMembershipProvider

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
5/31/2010 10:35:38 AM
can
Gravatar
Total Posts 3

mojoMembershipProvider

Hi,

I'd like to use the membership and role providers of mojo in a separate asp.net web application so that the user information is kept in one place. mojoMembershipProvider and mojoRoleProvider are inherited from .net membershipprovider and roleprovider respectively so I thought it should be possible.

Is it possible by adding a refrence to a mojo portal assembly and adding a membership section in the web.config

Any hint is appreciated. 

thanks,

 

can

6/1/2010 7:37:07 AM
Gravatar
Total Posts 18439

Re: mojoMembershipProvider

Hi,

It is theoretically possible but I have never tried it and it is possible it won't work well. 

It would require a reference to mojoPortal.Web.dll and it would also require that the mojoPortal.Business.dll, and mojoPortal.Data.dll exist in the bin folder and that you have the mojoportal connection string in the appSettings of your custom app.

Maybe it can work, I don't know for sure.

Hope it helps,

Joe

6/1/2010 9:06:54 AM
can
Gravatar
Total Posts 3

Re: mojoMembershipProvider

Thanks Joe,

It didn't work. Somewhere in the provider there is a call to SiteSettings of the CacheHelpers.cs and I guess since the actual portal is not running in the custom app it crashes at TouchCacheFile

-can

6/2/2010 9:09:24 AM
Gravatar
Total Posts 18439

Re: mojoMembershipProvider

Hi,

You might try create a folder at /Data/Sites/1/systemfiles and make it writable by your web process user, then it can create its own cache dependency files.

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.