473,326 Members | 2,173 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Scecurity Exception

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.
Nov 16 '05 #1
1 1166
Adam,

Can you give the full exception message text?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Adam" <ad**@cu.net> wrote in message
news:29**************************@posting.google.c om...
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.

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Nicolas Fleury | last post by:
Hi, I've made a small utility to re-raise an exception with the same stack as before with additional information in it. Since I want to keep the same exception type and that some types have very...
44
by: craig | last post by:
I am wondering if there are some best practices for determining a strategy for using try/catch blocks within an application. My current thoughts are: 1. The code the initiates any high-level...
3
by: JohnDeHope3 | last post by:
First let me say that I understand that Asp.Net wraps my exception in an HttpUnhandledException. I have found a lot of discussion about that on the web, which was informative, but not helpful. Let...
2
by: Darko Miletic | last post by:
Recently I wrote a dll in c++ and to simplify the distribution I decided to link with multithreaded static library (/MT or /MTd option). In debug everything works fine but in release I get this: ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.