[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

System.Security.SecurityException:

Posted on 2009-07-12
2
Medium Priority
?
1,165 Views
Last Modified: 2012-05-07
Installing assembly 'C:\WroxSamples\PaidTimeOffSolution\EmailService\bin\Debug\emailservice.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = C:\WroxSamples\PaidTimeOffSolution\EmailService\bin\Debug\emailservice.exe
   logfile = C:\WroxSamples\PaidTimeOffSolution\EmailService\bin\Debug\emailservice.InstallLog
Installing service EmailService...
Service EmailService has been successfully installed.
Creating EventLog source EmailService in log Application...
Committing assembly 'C:\WroxSamples\PaidTimeOffSolution\EmailService\bin\Debug\emailservice.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = C:\WroxSamples\PaidTimeOffSolution\EmailService\bin\Debug\emailservice.exe
   logfile = C:\WroxSamples\PaidTimeOffSolution\EmailService\bin\Debug\emailservice.InstallLog
Installing assembly 'D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe
   logfile = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.InstallLog
Installing service EmailService...
Creating EventLog source EmailService in log Application...
Rolling back assembly 'D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe
   logfile = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.InstallLog
Restoring event log to previous state for source EmailService.
An exception occurred during the Rollback phase of the System.Diagnostics.EventLogInstaller installer.
System.Security.SecurityException: The source was not found, but some or all event logs could not be searched.  Inaccessible logs: Security.
An exception occurred during the Rollback phase of the installation. This exception will be ignored and the rollback will continue. However, the machine might not fully revert to its initial state after the rollback is complete.
Installing assembly 'D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe
   logfile = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.InstallLog
Installing service EmailService...
Creating EventLog source EmailService in log Application...
Rolling back assembly 'D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe
   logfile = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.InstallLog
Restoring event log to previous state for source EmailService.
An exception occurred during the Rollback phase of the System.Diagnostics.EventLogInstaller installer.
System.Security.SecurityException: The source was not found, but some or all event logs could not be searched.  Inaccessible logs: Security.
An exception occurred during the Rollback phase of the installation. This exception will be ignored and the rollback will continue. However, the machine might not fully revert to its initial state after the rollback is complete.
Installing assembly 'D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe
   logfile = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.InstallLog
Installing service EmailService...
Creating EventLog source EmailService in log Application...
Rolling back assembly 'D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe
   logfile = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.InstallLog
Restoring event log to previous state for source EmailService.
An exception occurred during the Rollback phase of the System.Diagnostics.EventLogInstaller installer.
System.Security.SecurityException: The source was not found, but some or all event logs could not be searched.  Inaccessible logs: Security.
An exception occurred during the Rollback phase of the installation. This exception will be ignored and the rollback will continue. However, the machine might not fully revert to its initial state after the rollback is complete.
Installing assembly 'D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe
   logfile = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.InstallLog
Installing service EmailService...
Creating EventLog source EmailService in log Application...
Rolling back assembly 'D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe
   logfile = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.InstallLog
Restoring event log to previous state for source EmailService.
An exception occurred during the Rollback phase of the System.Diagnostics.EventLogInstaller installer.
System.Security.SecurityException: The source was not found, but some or all event logs could not be searched.  Inaccessible logs: Security.
An exception occurred during the Rollback phase of the installation. This exception will be ignored and the rollback will continue. However, the machine might not fully revert to its initial state after the rollback is complete.
Installing assembly 'D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe
   logfile = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.InstallLog
Installing service EmailService...
Creating EventLog source EmailService in log Application...
Rolling back assembly 'D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe
   logfile = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.InstallLog
Restoring event log to previous state for source EmailService.
An exception occurred during the Rollback phase of the System.Diagnostics.EventLogInstaller installer.
System.Security.SecurityException: The source was not found, but some or all event logs could not be searched.  Inaccessible logs: Security.
An exception occurred during the Rollback phase of the installation. This exception will be ignored and the rollback will continue. However, the machine might not fully revert to its initial state after the rollback is complete.
Installing assembly 'D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe
   logfile = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.InstallLog
Installing service EmailService...
Creating EventLog source EmailService in log Application...
Rolling back assembly 'D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe
   logfile = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.InstallLog
Restoring event log to previous state for source EmailService.
An exception occurred during the Rollback phase of the System.Diagnostics.EventLogInstaller installer.
System.Security.SecurityException: The source was not found, but some or all event logs could not be searched.  Inaccessible logs: Security.
An exception occurred during the Rollback phase of the installation. This exception will be ignored and the rollback will continue. However, the machine might not fully revert to its initial state after the rollback is complete.
Uninstalling assembly 'D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe
   logfile = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.InstallLog
Removing EventLog source EmailService.
An exception occurred during the uninstallation of the System.Diagnostics.EventLogInstaller installer.
System.Security.SecurityException: The source was not found, but some or all event logs could not be searched.  Inaccessible logs: Security.
An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete.
Installing assembly 'D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe
   logfile = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.InstallLog
Installing service EmailService...
Creating EventLog source EmailService in log Application...
Rolling back assembly 'D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe
   logfile = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.InstallLog
Restoring event log to previous state for source EmailService.
An exception occurred during the Rollback phase of the System.Diagnostics.EventLogInstaller installer.
System.Security.SecurityException: The source was not found, but some or all event logs could not be searched.  Inaccessible logs: Security.
An exception occurred during the Rollback phase of the installation. This exception will be ignored and the rollback will continue. However, the machine might not fully revert to its initial state after the rollback is complete.
Installing assembly 'D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe
   logfile = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.InstallLog
Installing service EmailService...
Creating EventLog source EmailService in log Application...
Rolling back assembly 'D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe
   logfile = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.InstallLog
Restoring event log to previous state for source EmailService.
An exception occurred during the Rollback phase of the System.Diagnostics.EventLogInstaller installer.
System.Security.SecurityException: The source was not found, but some or all event logs could not be searched.  Inaccessible logs: Security.
An exception occurred during the Rollback phase of the installation. This exception will be ignored and the rollback will continue. However, the machine might not fully revert to its initial state after the rollback is complete.
Installing assembly 'D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe
   logfile = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.InstallLog
Installing service EmailService...
Creating EventLog source EmailService in log Application...
Rolling back assembly 'D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.exe
   logfile = D:\inetpub\wwwroot\PaidTimeOffSolution\EmailService\bin\Debug\EmailService.InstallLog
Restoring event log to previous state for source EmailService.
An exception occurred during the Rollback phase of the System.Diagnostics.EventLogInstaller installer.
System.Security.SecurityException: The source was not found, but some or all event logs could not be searched.  Inaccessible logs: Security.
An exception occurred during the Rollback phase of the installation. This exception will be ignored and the rollback will continue. However, the machine might not fully revert to its initial state after the rollback is complete.
0
Comment
Question by:mathieu_cupryk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
Rahul Goel ITIL earned 2000 total points
ID: 24838119
Step 1:

# Start -> Run -> regedit.exe
# Navigate to My Computer > HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\EventLog
# Right click this key, select Permissions, and grant the ASPNET account read/write permissions as described above. Note that for the "inaccessible" logs (ie. Security, Virtual Server), you'll also need to grant read access, as permissions have been set to not inherity from the parent key.
# Restart IIS (start -> Run  -> iisreset)
# Cause the code line that creates the event source to be executed (EventLog.CreateEventSource())

Step 2:

Go in Control Panel -> Administrative Tools -> Computer Management -> Local Users and Groups

Select Administrator Group -> Right Click -> Add to Group Users "Network Service".

It should Work

ASPNET is replaced in Vista with "Network Service".


For Other OS

Go in Control Panel -> Administrative Tools -> Computer Management -> Local Users and Groups
Select Administrator Group -> Right Click -> Add to Group Users "Network Service".

0
 

Author Comment

by:mathieu_cupryk
ID: 24839319
I added network servie to the folder in vista and still nothing.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question