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.
 
Adam,

Can you give the full exception message text?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top