BugNET

Open source issue tracking & project management
Welcome to BugNET Register | Login |

BugNET Forums

 
  Forum  Support  Installation pr...  Security problem
Disabled Previous
 
Next Next
New Post 3/21/2006 5:50 AM
User is offline Chris
5 posts
www.promx.net
No Ranking


Security problem 
Hallo,

I had some trouble with the build script.
If I try to access the Web the following error appears:

Server Error in '/bugnet' 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: Requested registry access is not allowed.

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: Requested registry access is not allowed.]
Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) +473
System.Diagnostics.EventLog.FindSourceRegistration(String source, String machineName, Boolean readOnly) +295
System.Diagnostics.EventLog.SourceExists(String source, String machineName) +78
System.Diagnostics.EventLog.SourceExists(String source) +11
Microsoft.ApplicationBlocks.ExceptionManagement.DefaultPublisher.VerifyValidSource()




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
 
New Post 3/21/2006 11:08 AM
User is offline admin
645 posts
bugnetproject.com
1st Level Poster




Re: Security problem 
The exception management block is trying to log an error to
the event log but does not have permission.

To fix this problem run :
installutil Micrisoft.ApplicationBlocks.ExceptionManagement.dll

in the BugNet \bin folder or where the dll exists. This
will create the proper registry entries for logging errors
to the event log.

Davin Dubeau
BugNET - Core Developer

 
New Post 3/21/2006 12:38 PM
User is offline Chris
5 posts
www.promx.net
No Ranking


Re: Security problem 
what do you mean with installutil?

It would be nice to have a msi or setup.exe for deploying the web...
 
New Post 3/21/2006 12:46 PM
User is offline admin
645 posts
bugnetproject.com
1st Level Poster




Re: Security problem 
Modified By admin  on 3/21/2006 11:48:02 AM)

 Chris wrote
what do you mean with installutil?

It would be nice to have a msi or setup.exe for deploying the web...


Installutil is a .net framework sdk tool. More information can be found here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/html/cpconInstallerUtilityInstallutilexe.asp


You need to run this tool against the exceptiion management dll before event logging is allowed from asp.net.

Installation is a bit painful right now but is currently being addressed by myself and one of the project members, Rachit.

We are aiming for a msi installation of the project that will do all these tasks for you.


Davin Dubeau
BugNET - Core Developer

 
New Post 3/21/2006 12:53 PM
User is offline Chris
5 posts
www.promx.net
No Ranking


Re: Security problem 
ok thanx,

I´ll have a look.
Still don´t know how BugNet is looking like :)
If you post a screenshot I know what I´m doing all this for ;)

greetings,

Chris
 
Disabled Previous
 
Next Next
  Forum  Support  Installation pr...  Security problem

Forum Policy

These Discussion Forums are dedicated to the discussion of the BugNET issue tracker.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:
1. No Advertising.
2. No Flaming or Trolling.
3. No Profanity, Racism, or Prejudice.
4. Site Moderators have the final word on approving/removing a thread or post or comment.
5. English language posting only, please.