Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Please HELP!! Exception: Absolute path information is required.Please HELP!! Exception: Absolute path information is required.
Previous
 
Next
New Post
2/9/2009 2:21 PM
 

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

 

 
New Post
2/10/2009 10:03 PM
 

if you're working with web services and users, i recommend taking a look at IWEB - http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/1372/Creating-Secure-DotNetNuke-ASP-NET-AJAX-Web-Services-Updated.aspx

 


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Please HELP!! Exception: Absolute path information is required.Please HELP!! Exception: Absolute path information is required.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out