Getting Security Exception with AzureMonitorLib.cs

Sep 28, 2009 at 12:30 PM

Hello, I want to try out the AzureMonitor. However I am getting a Secutiry Exception with AzureMonitorLib.cs.

What does this mean?

public static void Start(string appName, string roleName, bool deleteOlderEntries)
        {
            if (TrackingActive) return;
            TrackingActive = true;

            // Get the update interval setting or default it.

            PerfCounterUpdateInterval = DEFAULT_PERF_COUNTER_UPDATE_INTERVAL;

            string value = TryGetConfigurationSetting("PerfCounterUpdateInterval");
            if (!String.IsNullOrEmpty(value))
            {
                try
                {
                    PerfCounterUpdateInterval = Convert.ToInt32(value);
                }
                catch (FormatException)
                {

                }
            }

            AppName = appName;
            RoleName = roleName;

            Initialize();

 

System.Security.SecurityException wurde nicht von Benutzercode behandelt.
  Message="Fehler bei der Anfrage."
  Source="AzureMonitorLib"
  StackTrace:
       bei Neudesic.Azure.AzureMonitor.Initialize()
       bei Neudesic.Azure.AzureMonitor.Start(String appName, String roleName, Boolean deleteOlderEntries) in C:\Projects\Azure\Tools\PerformanceMonitor\AzureMonitorSource\AzureMonitorLib\AzureMonitorLib.cs:Zeile 97.
       bei Neudesic.Azure.AzureMonitor.Start(String appName, String roleName) in C:\Projects\Azure\Tools\PerformanceMonitor\AzureMonitorSource\AzureMonitorLib\AzureMonitorLib.cs:Zeile 69.
       bei IntelliSign_WebRole._Default.Page_PreRender(Object sender, EventArgs e) in C:\Projects\Azure\IntelliSign\code\IntelliSign_WebRole\Default.aspx.cs:Zeile 27.
       bei System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
       bei System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
       bei System.Web.UI.Control.OnPreRender(EventArgs e)
       bei System.Web.UI.Control.PreRenderRecursiveInternal()
       bei System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  InnerException: