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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...First Run Problems - EventQueue Issue ?First Run Problems - EventQueue Issue ?
Previous
 
Next
New Post
7/23/2006 5:20 PM
 

 

Ok, I was able to confirm what Warren found out. 

If you are running in an AppPool configured with a unique identity and the site is set to use impersonation then the identity during application_start is the configured identity of the AppPool.

Everything is happening normally until the EventQueue controller attempts to delete the Message after it has been processed.

This is when the windows login prompt appears because that user does not have permission to delete.  Hitting refresh clears the error because the application is now past the startup event and no further attempt is made to delete the message.  When the application is restarted the error will come back because the EventController is attempting to delete the message again after reprocessing it, which is not good. 

A workaround for now is to delete the message manually after the error appears so that further application re-starts will not attempt to re-process the messages that have allready been processed.

Another option is to give the configured app pool identity special permission of only "delete" for the EventQueue folder.

I'll work out a fix that doesn't require a delete during application_start for the next release.


DotNetNuke Modules from Snapsis.com
 
New Post
7/23/2006 7:41 PM
 
jmitchell wrote
Another option is to give the configured app pool identity special permission of only "delete" for the EventQueue folder.

I'll work out a fix that doesn't require a delete during application_start for the next release.



John, I do not think this is an option this is the solution based on the infomation below.

By default the NetWorkService account is the account the AppPool runs under.  If account the hosting services sets the AppPool to run under is changed and not the default NetWorkServices account, then the fix is to make sure the account the appPool is running under has List,Read,Write,Execute,Modify permissions.  This makes sense, since the AppPool is no longer using the NetWorkService account, whatever account that it is replace with would have to have the same directory permissions.  If this is the case the documentation also needs to be updated so users know this.

IMHO, this is not a problem with DNN but with the directory permissions and the AppPool user not having the correct permissions.
Of course, I could be missing something here that totally makes my post incorrect.
 
New Post
7/23/2006 8:09 PM
 
I had stated at the beginning of the other thread you mentioned, that it is indeed an issue with server configuration, not with DNN.  So, I agree with you smehaffie, a documentation update seems like the right idea, unless the EventQueue code can be reworked so othat it doesn't have to delete anything. 


Shane Miller
Call Centers 24x7
 
New Post
7/23/2006 10:24 PM
 

 

Shawn,

The part you are missing is that the Website is configured to impersonate.  This is common in shared hosting scenarios to sandbox each website.  The configured identity for the AppPool should not be the identity that the app is running under because that identity is shared by many websites.

As stated earlier in the thread, apparently during startup the app has not switched to the impersonated user yet, and since the AppPool identity does not have permission in the website this error occurs.

It seems like an issue for Microsoft, but maybe they don't have any choice but to wait till later in the application lifecyle to switch to the impersonated user since this is probably when the Worker Process is being spun up.

 


DotNetNuke Modules from Snapsis.com
 
New Post
7/23/2006 11:28 PM
 

Actually we've never run into the issue because we assign a unique, dedicated application pool to each asp.net hosting account.  While this is more resource-intensive, it also really is the best way to do it.  It creates even more of a sandbox for each app.

So, it seems the larger question is to what extent should DNN compromise to allow it to run on any shared hosting environment?  That's been a long-standing issue.  Nonetheless, I do agree with you that if Microsoft made that change, this wouldn't be an issue in either environment:  neither high-end or dedicated hosting, nor commodity hosting. 



Shane Miller
Call Centers 24x7
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...First Run Problems - EventQueue Issue ?First Run Problems - EventQueue Issue ?


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