ActiveX System.Security.SecurityException when downloading a file

Posted on 2008-11-13
Last Modified: 2013-12-17
In my ActiveX control, I download a ZIP file in the background, however, when I try and use it in Internet Explorer, .NET raises a security exception.

I looked in the Internet Explorer settings and there is no such setting to change this.  More to the point, they seem to be able to do it successfully at

Is there anyway to get around the security exception?
Question by:hach-que
    LVL 13

    Expert Comment

    LVL 2

    Author Comment

    I tested that method, but unfortuantely, it seems Internet Explorer just completely ignores the settings.  I even used the .NET 1.1 Configuration Wizard - Trust an assembly, and set it to trust assemblies with the same hash and Internet Explorer still acted as if nothing changed.

    I'm using Internet Explorer 7.
    LVL 2

    Accepted Solution

    I recompiled my project using Visual Studio 2005 Express, and I managed to get it to work by using the Site category:


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
    Several part series to implement Internet Explorer 11 Enterprise Mode
    The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
    This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now