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 ...Need to find Windows 8 equivalent of ASPNET user to resolve exceptionNeed to find Windows 8 equivalent of ASPNET user to resolve exception
Previous
 
Next
New Post
3/16/2013 10:07 AM
 

This should be a fast answer.  I'm getting this exception from a module called Real Drop Zone.  I've also contacted the developer of it as well but really, the issue is the ASPNET user doesn't exist in Windows 8 to add to / give permissions to via the Registry to write to a security log file.

I've found the item that resolves the issue but no such user exists (ASPNET) in windows 8 to grant read permissions to the registry object in question.

 OK, which service might have to be started to expose the user (maybe that's it) or, what User Object do I now use to grant read permissions to the file?

I'm running Wiindows 8 Home. (I don't want to hear  have to upgrade to Pro to expose this user ... :)  I'm afraid this is the answer)  Thanks!

[SecurityException: The source was not found, but some or all event logs could not be searched. To create the source, you need permission to read all event logs to make sure that the new source name is unique. Inaccessible logs: Security.] System.Diagnostics.EventLog.FindSourceRegistration(String source, String machineName, Boolean readOnly, Boolean wantToCreate) +810 System.Diagnostics.EventLog.SourceExists(String source, String machineName, Boolean wantToCreate) +315 System.Diagnostics.EventLogInternal.VerifyAndCreateSource(String sourceName, String currentMachineName) +124 System.Diagnostics.EventLogInternal.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData) +356 System.Diagnostics.EventLog.WriteEntry(String source, String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData) +197 System.Diagnostics.EventLog.WriteEntry(String source, String message, EventLogEntryType type) +30 RealDropzone.Exceptions.WriteToEventLog(String strMessage, String strSource) +527
 

 

 
New Post
3/16/2013 2:18 PM
 

Can't find the edit button on my original post so I replied to myself to give more details.

 The website in IIS is in its own App Pool and has ASP.Net trust level set to Full(Internal)

Here is more detail from the exception.  From below, there's this: Inaccessible logs: Security.  OK, simple basics ... IS there a security log?  Should be -- there's a registry entry for it.  I don't know who has run into this but usually, since this is not rocket science (and my family name isn't von Braun) there's just some simple, missing thing  The real thing is not to focus on the complexity of the Exception but to look for simple stuff.

I've googled the description, the best I could find was setting trust level.  This is set in IIS 8 by selecting the site (called a domain in documentation -- go figure :) ), clicking on ASP.Net Trust Levels and by default it is set already to Full(Internal).  So this isn't it.  I've googled parts of the stack trace, this is what leads to modifying the Registry entry but there is no ASPNET account to add.

Any ideas?

Server Error in '/' Application.Security Exception

Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: The source was not found, but some or all event logs could not be searched.  To create the source, you need permission to read all event logs to make sure that the new source name is unique.  Inaccessible logs: Security.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[SecurityException: The source was not found, but some or all event logs could not be searched. To create the source, you need permission to read all event logs to make sure that the new source name is unique. Inaccessible logs: Security.] System.Diagnostics.EventLog.FindSourceRegistration(String source, String machineName, Boolean readOnly, Boolean wantToCreate) +810 System.Diagnostics.EventLog.SourceExists(String source, String machineName, Boolean wantToCreate) +315 System.Diagnostics.EventLogInternal.VerifyAndCreateSource(String sourceName, String currentMachineName) +124 System.Diagnostics.EventLogInternal.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData) +356 System.Diagnostics.EventLog.WriteEntry(String source, String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData) +197 System.Diagnostics.EventLog.WriteEntry(String source, String message, EventLogEntryType type) +30 RealDropzone.Exceptions.WriteToEventLog(String strMessage, String strSource) +527 


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18033

 

 
New Post
3/16/2013 5:06 PM
Accepted Answer 

Again, for some reason, no edit button is available once a post has been saved and I log out.

There is a known issue that the Real Drop Zone module developer will help me solve here.  Evidently, once the site has been restored on a development machine only accounts created after that are recognized by the module.  We'll be working on it.

So, this isn't a strange Windows 8, IIS or DNN issue.  But thanks and I'm glad to have provided some interesting reading.

I'll mark the issue as resolved.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Need to find Windows 8 equivalent of ASPNET user to resolve exceptionNeed to find Windows 8 equivalent of ASPNET user to resolve exception


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