The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
#1
[Originally posted by process]

I am going through the example on page 37 about downloading assemblies from
the web. Everything worked fine, but then I wanted to experiment a little and
decided to put person.dll on another machine (name: lucifer). I changed the
url from localhost/deploy/person.dll to lucifer/deploy/person.dll. From a
browser I could see the directory with the dll in it, just as before. But when
I ran the app, I got the following error:

------------------ Error message begins -------------------------

Unhandled Exception: System.IO.FileNotFoundException: File or assembly name
person, or one of its dependencies, was not found.
File name: "person"
at People.Main()

Fusion log follows:
LOG: Post policy reference: person, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=ca833cff7e35ca07
LOG: Attempting download of new URL http://lucifer/deploy/person.dll.

---------------------- Error message ends ---------------------------

The remote machine does NOT have the .NET framework installed, I just dropped
person.dll in Inetpubwwwrootdeploy. The execute permissions in the Home
Directory are set to 'Scripts only'. Do I need .NET installed in the web
server? If not, what am I missing here?

Sam
import-bot (20211) [Avatar] Offline
#2
Re: assembly download
[Originally posted by fgrimes]

Hi Sam,

Downloading assemblies is one of the most problematic areas. My first
suggestion is to take a look at Dave Hardesty's post on 02/15/02. Then, try
switching off security as follows:

caspol -s off

And retry the download.

Regards,
Fergal
import-bot (20211) [Avatar] Offline
#3
Re: assembly download
[Originally posted by fgrimes]

Sam,

Oooops, I missed part of your question:

>> Do I need .NET installed in the web server?

One would think that a simple download would not require .NET on the server.
However, all the Microsoft documentation (and articles on MSDN, etc.) assume
that .NET is installed on both ends. See following article, for example:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnadvnet/html/vbnet10142001.asp


Note the remark: "At the other end, the system used for deployment must have
.NET and IIS on it."

I haven't tried a download from a non-.NET box, so let me know what happens.

Regards,
Fergal
import-bot (20211) [Avatar] Offline
#4
Re: assembly download
[Originally posted by ken]

I found Dave's posting by searching for it based on his name. For some reason
I could not find it in the main message list.
import-bot (20211) [Avatar] Offline
#5
Re: assembly download
[Originally posted by fgrimes]

Hi Ken,

Yes, something appears to be screwed up on page 1, where the oldest messages
should appear. I'll ask the admin to take a look. Thanks for drawing
attention to this.

Fergal
import-bot (20211) [Avatar] Offline
#6
Re: assembly download
[Originally posted by ken]

I am having the same problem as everyone else has had with downloading
assemblies.

However, I cannot find Dave Hardesty's post on 2/15/02 that you mention below.

Can you (or anyone else out there who has it) re-post it to this thread?

Thanks.


Ken

> Hi Sam,
>
> Downloading assemblies is one of the most problematic areas. My first
> suggestion is to take a look at Dave Hardesty's post on 02/15/02. Then, try
> switching off security as follows:
>
> caspol -s off
>
> And retry the download.
>
> Regards,
> Fergal
import-bot (20211) [Avatar] Offline
#7
Re: assembly download
[Originally posted by fgrimes]

> Yes, something appears to be screwed up on page 1, where the oldest messages
> should appear. I'll ask the admin to take a look. Thanks for drawing
> attention to this.

This is now fixed.
Fergal