News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Security Library Forum
 
Plz Help, Problems with getting started.  
by P F.
posted on 2004/05/04

I'm having a problem running a sample and have the same problem when trying to implement the code in my own application. The following is the output from the SSL WebClient Sample... Obviously I am missing something (files). Any ideas? Please advise.


This test class implements a small HTTP client that supports HTTP and HTTPS.

Please enter the URL of the document you wish to download: [only HTTP/HTTPS]
http://www.rsiinc.com
System.IO.FileNotFoundException: File or assembly name System, or one of its dep
endencies, was not found.
File name: "System"
at WebClient.DownloadFile(Url url, SecureProtocol sp)
at WebClient.Start() in \\zeus\qdrive\paul\c#\ssl\samples\ssl\webclient\webcl
ient.cs:line 104
at WebClient.Main(String[] args) in \\roy\qdrive\test\c#\ssl\samples\ssl\web
client\webclient.cs:line 55

Fusion log follows:
=== Pre-bind state information ===
LOG: DisplayName = System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b
77a5c561934e089
(Fully-specified)
LOG: Appbase = \\roy\Qdrive\Test\C#\SSL\Samples\SSL\WebClient\bin\Debug\
LOG: Initial PrivatePath = NULL
Calling assembly : WebClient, Version=0.0.0.0, Culture=neutral, PublicKeyToken=n
ull.
===

LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v1.0
.3705\config\machine.config.
LOG: Post-policy reference: System, Version=1.0.5000.0, Culture=neutral, PublicK
eyToken=b77a5c561934e089
LOG: Attempting download of new URL file://roy/Qdrive/Test/C#/SSL/Samples/SSL/W
ebClient/bin/Debug/System.DLL.
LOG: Attempting download of new URL file://roy/Qdrive/Test/C#/SSL/Samples/SSL/W
ebClient/bin/Debug/System/System.DLL.
LOG: Attempting download of new URL file://roy/Qdrive/Test/C#/SSL/Samples/SSL/W
ebClient/bin/Debug/System.EXE.
LOG: Attempting download of new URL file://roy/Qdrive/Test/C#/SSL/Samples/SSL/W
ebClient/bin/Debug/System/System.EXE.


Press ENTER to continue...

by Pieter Philippaerts [Pieter at mentalis dot org]
posted on 2004/05/13

It looks like your .NET runtime installation is broken. I would reinstall the entire framework if I were you.

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.