HomeHomeDotNetNuke Forg...DotNetNuke Forg...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationCannot authenticate other visitorsCannot authenticate other visitors
Previous
 
Next
New Post
5/26/2006 12: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?


These are my personal opinions and don't necessarily represent the views and opinions of DotNetNuke Corporation.
Will Strohl
Media Module Team Lead, User Groups Team Lead
Sales Engineer, DotNetNuke Corporation

DotNetNuke Blog | Find a DNN User Group | Media Module
Twitter: @WillStrohl LinkedIn: Will Strohl on LinkedIn

 
New Post
6/7/2006 6: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 7: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!

These are my personal opinions and don't necessarily represent the views and opinions of DotNetNuke Corporation.
Will Strohl
Media Module Team Lead, User Groups Team Lead
Sales Engineer, DotNetNuke Corporation

DotNetNuke Blog | Find a DNN User Group | Media Module
Twitter: @WillStrohl LinkedIn: Will Strohl on LinkedIn

 
New Post
6/21/2006 10:46 AM
 

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 10:56 AM
 
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.

These are my personal opinions and don't necessarily represent the views and opinions of DotNetNuke Corporation.
Will Strohl
Media Module Team Lead, User Groups Team Lead
Sales Engineer, DotNetNuke Corporation

DotNetNuke Blog | Find a DNN User Group | Media Module
Twitter: @WillStrohl LinkedIn: Will Strohl on LinkedIn

 
Previous
 
Next
HomeHomeDotNetNuke Forg...DotNetNuke Forg...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationCannot authenticate other visitorsCannot authenticate other visitors


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Try An Online Demo
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft .NET. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates Snowcovered.com where users purchase third party apps for the platform.