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. General Programming
  3. C#
  4. Assembly.GetType() stopped working after installing VS2005

Assembly.GetType() stopped working after installing VS2005

Scheduled Pinned Locked Moved C#
windows-adminsecurityhelpquestion
1 Posts 1 Posters 0 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.
  • J Offline
    J Offline
    Jan R Hansen
    wrote on last edited by
    #1

    Hi, This might have something with the IIS/permissions to do - but I'm not sure. My web application worked just fine (developed with VS2003) but then I installed VS2005. I have this code that loads an assembly Assembly asm = Assembly.Load("CustomLibrary"); which succeeds. The assembly is loaded just fine. Then I try to retrieve a class from the assembly: Type customization = asm.GetType("CustomLibrary.Customization"); but this returns null. If I run the exact same code on my laptop (on which I haven't gotten around to install VS2005 yet - thank god...:) ) it still works. So all that has changed is that I've installed VS2005. I still open the project in VS2003, run it from VS2003 and the IIS is set to use framework 1.1. What can have happened ? Is it somehow being executed from the 2.0 framework ? Has the default security settings suddenly changed on my local IIS during the install ? Any help will be much appreciated. Thanks in advance ! :) /Jan Do you know why it's important to make fast decisions? Because you give yourself more time to correct your mistakes, when you find out that you made the wrong one. Chris Meech on deciding whether to go to his daughters graduation or a Neil Young concert

    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