Assembly.LoadFrom using a network share...
-
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
-
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
whats the exception that you get?
"When the only tool you have is a hammer, a sore thumb you will have."
-
whats the exception that you get?
"When the only tool you have is a hammer, a sore thumb you will have."
An unhandled exception of type 'System.ArgumentException' occurred in mscorlib.dll Additional information: Invalid URL. ====================
-
An unhandled exception of type 'System.ArgumentException' occurred in mscorlib.dll Additional information: Invalid URL. ====================
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."
-
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
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
-
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."
ya i've tried using file:// but you can't iterate the files that way at least not with DirectoryInfo.