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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationCannot authenticate other visitorsCannot authenticate other visitors
Previous
 
Next
New Post
5/26/2006 2:10 PM
 

Since I have upgraded to DNN 4.00.03 (from 4.00.02), I have not been able to get other visitors to authenticate automatically using Active Directory authentication as it was doing before.

I have set-up the Active Directory authentication in the Admin menu, removed Anonymous authentication in IIS 6.0, and set the web.config to use Windows Authentication with and without Impersonation.  However, anyone who is not me gets this error (taken from the Log Viewer):

AssemblyVersion: 04.00.03
Method: System.Web.Caching.CacheEntry..ctor
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: [PORTAL NAME]
UserID: -1
UserName:
ActiveTabID: 36
ActiveTabName: Home
AbsoluteURL: /LCSBPortal/Default.aspx
AbsoluteURLReferrer: http://[INTRANETSERVERNAME]/
ExceptionGUID: 2f25e383-4d23-4518-b98c-a00dce3f3201
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Unhandled Error:
Message: System.Exception: Unhandled Error: ---> System.ArgumentNullException: Value cannot be null. Parameter name: value at System.Web.Caching.CacheEntry..ctor(String key, Object value, CacheDependency dependency, CacheItemRemovedCallback onRemovedHandler, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, Boolean isPublic) at System.Web.Caching.CacheInternal.DoInsert(Boolean isPublic, String key, Object value, CacheDependency dependencies, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback, Boolean replace) at System.Web.Caching.Cache.Insert(String key, Object value, CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration) at DotNetNuke.Services.Cache.FileBasedCachingProvider.FBCachingProvider.Insert(String CacheKey, Object objObject, CacheDependency objDependency, DateTime AbsoluteExpiration, TimeSpan SlidingExpiration, Boolean PersistAppRestart) at DotNetNuke.Common.Utilities.DataCache.SetCache(String CacheKey, Object objObject, TimeSpan SlidingExpiration, Boolean PersistAppRestart) at DotNetNuke.Common.Utilities.DataCache.SetCache(String CacheKey, Object objObject, TimeSpan SlidingExpiration) at DotNetNuke.HttpModules.DNNMembershipModule.OnAuthenticateRequest(Object s, EventArgs e) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: [SERVERNAME]

I am sure I probably missed a setting.  Can someone point me in the right direction to fix this please?


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
6/7/2006 8:21 AM
 
Have you solved this problem? I'm getting exactly the same error, and I don't know where to look for the solution.
 
New Post
6/7/2006 9:43 AM
 
I did solve the problem.  However, I don't know what the actual fix is.  I had a feeling that the application was getting cached in the GAC and it was having the conflict there.  Since I house my portals under virtual directories on the web servers I deal with, I was able to create a new virtual directory with a NEW directory name and it worked.

However, in the new one I have found that there is a very specific order in the steps that you want to follow when enabling Active Directory authentication.  However, whenever I get it set-up it is by trail and error.  I have yet to nail down or find documentation on the specific order or details on any step.

That leads me to the only true deficiency that DNN has.  Its documentation is very poor in my opinion.  I only use it as a guide and that is not very often since I find it normally leads me in the wrong direction.

I was attempting to upgrade to DNN 4.03, but its caching fix isn't working well for me.  So I suggest sticking with DNN 4.02 until 4.1 is released.  (That is, if you are using 4.x)

I hope this helps!

Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
6/21/2006 12:46 PM
 

I have the same problem.  I traced it down to using forms authentication versus using windows authentication.

Assuming that you have already uncommented the Add name Authentication in <httpModules>.

If I use forms authentication my end-users are able to login and then if I switch back to windows authentication.  My existing users work fine, but any new users get the cache error?  This is dealing with windows authentication/Active Directory, so I will post this question to Tam Tran.  Perhaps he may have some kind of solution?

Please post here if you find a resolution to this issue?

 
New Post
6/21/2006 12:56 PM
 
I did indeed have that uncommented.  In fact, when I got this running I could still recreate the error simply by renaming the virutal directory to the original name. I could even completely delete the compiled app from the framework temporary files folder and I could recreate this scenario over and over again just by renaming the virtual directory.

I wish I could explain why this happens.  I am normally able to find an answer.  Sorry.

Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationCannot authenticate other visitorsCannot authenticate other visitors


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