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.LoadFrom using a network share...

Assembly.LoadFrom using a network share...

Scheduled Pinned Locked Moved C#
sysadminsecurityannouncement
6 Posts 3 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.
  • R Offline
    R Offline
    Ryan Cromwell
    wrote on last edited by
    #1

    Does anyone know of reasons why LoadFrom with a network UNC wouldn't work (ie \\server\share). I've messed with IE's security zones, share permissions. I would even be willing to use webshares (ie http://server/share) which work for the LoadFrom but you can't do directory info calls on URI's. I currently have a pluggin structure that works beautifully, except that I cannot load the pluggin dlls over the network on the UNC or I can't iterate the potential pluggins on the web URI. If anyone has any suggestions please let me know. I will update this with solutions I find. Tanka, Ryan Cromwell

    P L 2 Replies Last reply
    0
    • R Ryan Cromwell

      Does anyone know of reasons why LoadFrom with a network UNC wouldn't work (ie \\server\share). I've messed with IE's security zones, share permissions. I would even be willing to use webshares (ie http://server/share) which work for the LoadFrom but you can't do directory info calls on URI's. I currently have a pluggin structure that works beautifully, except that I cannot load the pluggin dlls over the network on the UNC or I can't iterate the potential pluggins on the web URI. If anyone has any suggestions please let me know. I will update this with solutions I find. Tanka, Ryan Cromwell

      P Offline
      P Offline
      Philip Fitzsimons
      wrote on last edited by
      #2

      whats the exception that you get?


      "When the only tool you have is a hammer, a sore thumb you will have."

      R 1 Reply Last reply
      0
      • P Philip Fitzsimons

        whats the exception that you get?


        "When the only tool you have is a hammer, a sore thumb you will have."

        R Offline
        R Offline
        Ryan Cromwell
        wrote on last edited by
        #3

        An unhandled exception of type 'System.ArgumentException' occurred in mscorlib.dll Additional information: Invalid URL. ====================

        P 1 Reply Last reply
        0
        • R Ryan Cromwell

          An unhandled exception of type 'System.ArgumentException' occurred in mscorlib.dll Additional information: Invalid URL. ====================

          P Offline
          P Offline
          Philip Fitzsimons
          wrote on last edited by
          #4

          sounds like it does not like the format, have you tried a drive mapping? or use a url format? file://


          "When the only tool you have is a hammer, a sore thumb you will have."

          R 1 Reply Last reply
          0
          • R Ryan Cromwell

            Does anyone know of reasons why LoadFrom with a network UNC wouldn't work (ie \\server\share). I've messed with IE's security zones, share permissions. I would even be willing to use webshares (ie http://server/share) which work for the LoadFrom but you can't do directory info calls on URI's. I currently have a pluggin structure that works beautifully, except that I cannot load the pluggin dlls over the network on the UNC or I can't iterate the potential pluggins on the web URI. If anyone has any suggestions please let me know. I will update this with solutions I find. Tanka, Ryan Cromwell

            L Offline
            L Offline
            leppie
            wrote on last edited by
            #5

            Hi there was a similar post about 1-2 weeks ago, I cant remmeber all the details, but it goes it little something like this (lepppie does the dance), The SecurityPermissionFlags had to be set to Intranet. Hope this helps or James sees this :) He provided the answer last time around. MYrc : A .NET IRC client with C# Plugin Capabilities. See http://sourceforge.net/projects/myrc for more info. :-D

            1 Reply Last reply
            0
            • P Philip Fitzsimons

              sounds like it does not like the format, have you tried a drive mapping? or use a url format? file://


              "When the only tool you have is a hammer, a sore thumb you will have."

              R Offline
              R Offline
              Ryan Cromwell
              wrote on last edited by
              #6

              ya i've tried using file:// but you can't iterate the files that way at least not with DirectoryInfo.

              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