BugNET

Open source issue tracking & project management
| Login

Import Update!

We are currently in transition and have moved our discussions to CodePlex. These forums will remain as reference until we launch of our new site in the upcoming weeks. After that they will be removed.

Thank you for your patience during our transition.

Forums

HomeHomeSupportSupportInstalling BugN...Installing BugN...Security problemSecurity problem
Previous
 
Next
New Post
3/21/2006 3:50 AM
 
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 9:08 AM
 
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

follow us on twitter facebook users group google plus
 
New Post
3/21/2006 10:38 AM
 
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 10:46 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

follow us on twitter facebook users group google plus
 
New Post
3/21/2006 10:53 AM
 
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
 
Previous
 
Next
HomeHomeSupportSupportInstalling BugN...Installing BugN...Security problemSecurity 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.