Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Clever Code
  4. CAS with .NET 2.0 and 1.1

CAS with .NET 2.0 and 1.1

Scheduled Pinned Locked Moved Clever Code
helpcsharpsysadminsecuritysales
1 Posts 1 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mav northwind
    wrote on last edited by
    #1

    Hi folks! Usually you'd expect that .NET 2.0 and 1.1 wouldn't influence each other, wouldn't you? This bug occurred after creating a mixed mode DLL on a computer with only .NET 1.1 installed. Because the application loading this DLL resided on a network drive and the DLL required some permissions usually not granted for intranet zone code, you had to adjust the CAS settings for the intranet zone (using the tools provided with .NET 1.1). After the DLL was installed on a customer PC (and the .NET 1.1 security settings were adjusted accordingly), the initialization of the DLL failed with some obscure security related exceptions and initially we didn't know why. Later on I found out that the customer's PC had .NET 1.1 installed as well as .NET 2.0. Only after adjusting the CAS settings for .NET 2.0 (!) would the DLL be initialized correctly. The 1.1 settings weren't taken into account at all! :doh: SO if you run into a similar problem, check if there are different framework versions installed...

    Regards, mav -- Black holes are the places where God divided by 0...

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups