SgDotNet
Singapore Professional .NET User Group -For Cool Developers

Decouple EMS (Event Management System) from Website

rated by 0 users
This post has 4 Replies | 2 Followers

Top 10 Contributor
Posts 2,891
kitkai Posted: 09-16-2005 12:41 AM

Icelava,

could you let me know what is causing problem at your side when you don't have the website configured in your system

Best Regards, Kit Kai, MVP (SharePoint Portal Server)

Top 10 Contributor
Posts 2,284
I'm trying to obtain a new copy of the Events source project afresh and reconfiguring it to run as localhost/SgEvents/ and guess what error I was greeted with:

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.

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
Paladin.Framework.EventLogger.WriteLog(Exception e, String message) +280
Paladin.Core.Data.SqlCoreAdapter.WriteLog(Exception e, String stmt) +564
Paladin.Core.Data.CoreAdapter.Load(EntityListBase entityList, IDbCommand cmd, Boolean autoLoad, Int32 startRecord, Int32 pageSize, Boolean readRowCount) +654
Paladin.Core.Data.CoreAdapter.Populate(EntityListBase entityList, FilterList filters, Boolean autoLoadChildren, String[] columns, String[] sortColumns, Int32 startRecord, Int32 pageSize, Boolean readRowCount) +316
Paladin.Core.BusinessBase.Populate(EntityListBase entityList, FilterList filters, Boolean autoLoadChildren, String[] fieldNames, String[] sortFieldNames, Int32 startRecord, Int32 pageSize, Boolean readRowCount) +51
Paladin.Core.BusinessBase.Populate(EntityListBase entityList, FilterList filters, String[] fieldNames, String[] sortFieldNames) +49
SgDotNet.Events.Controls.Navigation.BindUpcomingEvents() in D:\Projects\SgDotNet\Events\Source\SgDotNet.Events.WebApplication\Controls\Navigation.ascx.cs:80
SgDotNet.Events.Controls.Navigation.Page_Load(Object sender, EventArgs e) in D:\Projects\SgDotNet\Events\Source\SgDotNet.Events.WebApplication\Controls\Navigation.ascx.cs:161
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Page.ProcessRequestMain() +2081
System.Web.UI.Page.ProcessRequest() +218
System.Web.UI.Page.ProcessRequest(HttpContext context) +18
System.Web.HttpServerUtility.ExecuteInternal(String path, TextWriter writer, Boolean preserveForm) +1338


ooohhh.... using Event logs (Registry) for logging eh?

The melody of logic will always play out the truth. ~ Narumi Ayumu, Spiral

Top 10 Contributor
Posts 2,891
Download paladin and run the sample app.. then run the webapp... the sample app got rights to create the event log, and the webapp will be able to access the event log later...

Best Regards, Kit Kai, MVP (SharePoint Portal Server)

Top 10 Contributor
Posts 2,284
It is me (my Firefox and IE), or is GotDotNet site simply not passing any package file after I agree to the Disclaimer dialog for download? It just redirects to the Home page and not initiate any download.

The melody of logic will always play out the truth. ~ Narumi Ayumu, Spiral

Top 10 Contributor
Posts 2,891
The event source has the whole paladin package.

Best Regards, Kit Kai, MVP (SharePoint Portal Server)

Page 1 of 1 (5 items) | RSS
Copyright SgDotNet 2004-2008
Powered by Community Server (Commercial Edition), by Telligent Systems