Hello,I am in process of writing a web services that will be using DotNetNuke 4.5.1.29. I am having only couple of lines of code trying to make sure I can access the libraries:
DotNetNuke.Security.Membership.MembershipProvider p = DotNetNuke.Security.Membership.MembershipProvider.Instance();UserInfo user = p.GetUserByUserName(0, "myname", true);
I get the following exception:
Exception: Absolute path information is required.
I have debugged the code and this is happening in FBCachingProvider class during cache setting.
Also, I have the following in my web.config file as well:<caching defaultProvider="FileBasedCachingProvider"><providers><clear/><add name="FileBasedCachingProvider" type="DotNetNuke.Services.Cache.FileBasedCachingProvider.FBCachingProvider, DotNetNuke.Caching.FileBasedCachingProvider" providerPath="~\Providers\CachingProviders\FileBasedCachingProvider\"/><add name="BroadcastPollingCachingProvider" type="DotNetNuke.Services.Cache.BroadcastPollingCachingProvider.BPCachingProvider, DotNetNuke.Caching.BroadcastPollingCachingProvider" providerPath="C:\Projects\SVN\ResponseElement\branches\dev\SystemCenter\main\DotNetNuke\Library\Providers\CachingProviders\BroadcastPollingCachingProvider\"/>providers>caching>
I would appreciate any ideas or feedback.
Thanks,Paria
Thanks for the reply. No, it is not running as a module. It is an external web services that will be using the DotNetNuke for the purpose of logging in and validating a user.
Do you have any ideas how could I possibly turn off the caching? It seems that SetCache method in the DataCache.vb in DotNetNuke.UI.Utilities fails.I am sure there is some configuration problem that I am not aware of.Many thanks,Paria