Scecurity Exception

  • Thread starter Thread starter Adam
  • Start date Start date
A

Adam

I am attempting to wrap some third party controls but I am recieving a
runtime Security Exception when trying to run a test application.

I am not sure what kinds of problems cause Security Exceptions
therefore I am unsure how to remedy this problem. It is happening in
the constructor.


using System;
using System.Collections;
using Infragistics.Win.UltraWinExplorerBar;

namespace MyControls
{
public class ExplorerBar : IExplorerBar
{
public ExplorerBar()
{
mExplorerBar = new UltraExplorerBar();
mGroups = new ExplorerBarGroupCollection( this );
}

I get the exception right after the call to new UltraExplorerBar
(third party control)

The exception is: System.Security.SecurityException.

Any feed back would be appreciated thanks.
 
Back
Top