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... |