Assembly Download Failed


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Assembly Download Failed

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Posts
    11

    Assembly Download Failed

    hi. i tried to give a link to a assembly and then tried to invoke a form on that assembly by the following code:
    string url = "http://localhost/serversmart/obj/Debug/serversmart.dll";
    Assembly ldAssembly = Assembly.LoadFrom(url);
    Type FrmType = ldAssembly.GetType("serversmart.Form1");
    Object obj = Activator.CreateInstance(FrmType,true);
    ((System.Windows.Forms.Form)obj).Show();

    I got this error
    "An unhandled exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll

    Additional information: File or assembly name serversmart.dll, or one of its dependencies, was not found."

    Does this assembly should be signed strongly? i tried even that. plz help me

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Oct 2005
    Posts
    11
    hey phil, i got through that thing. But my code is that...i am developing a smart Client Application. In the client i wrote a ClassLibrary, i use the URL to download a windowform.dll . That URL calls a remote Database. But in the client when the form appears, i enter the user and password to validate , but i get a exception saying Request for permission System.Data.SqlClient.Sqlclientpermission denied..
    I gave full permission. Unrestricted permission. still i am getting the same error.

    I too tried the .NET 1.1 configuration tool to give permission.But still no luck
    Kindly help me wid this issue.

Similar Threads

  1. Open Source RAD Assembly Tool
    By yeohhs in forum Open Source
    Replies: 0
    Last Post: 07-10-2005, 12:03 AM
  2. Replies: 0
    Last Post: 11-22-2002, 12:43 PM
  3. Replies: 0
    Last Post: 04-02-2002, 02:46 PM
  4. RC1 Assembly Reference Problem
    By Matteo Garutti in forum .NET
    Replies: 0
    Last Post: 11-14-2001, 03:48 AM
  5. Building a File Download Script
    By just_me in forum ASP.NET
    Replies: 0
    Last Post: 06-07-2000, 08:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center