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 rupert.schoenauer@gmx.at]

Hi,
I have the same problem as TOM on the 04/29/02.
The IE only shows the source code of http://localhost/ws/helloservice1.asmx.
I also installed Win XP Home Edition from scratch and had no problems.
Can anyone help me ?
Thanks,
Rupert
import-bot (20211) [Avatar] Offline
#2
Re: Web Services
[Originally posted by nvie]

Hi Rupert,

Sounds like your webserver does not parse .asmx-files, but puts them directly
to the output, as if it were normal textfiles. Check your IIS-configurations
on that /ws (virtual) directory:

Go to your IIS-admin and have a look at the property pages of your /ws dir. On
the Virtual Directory sheet, you should see a button names "Configuration".
When you click it, you get a new dialog, which shows you the mappings that are
made by the webserver. Check to make sure that .asmx-files are mapped (and
thus parsed) before they are outputted. They should be mapped to something
like this:

C:WINNTMicrosoft.NETFrameworkv1.0.3705aspnet_isapi.dll

(Depending on your configuration.)

Cheers,

Vincent

PS: Great book, Fergal smilie !
vic2 (4) [Avatar] Offline
#3
Re: Web Services
To put ASPX extension in the AppMappings tab run:
..Microsoft.NETFrameworkv1.*****aspnet_regiis.exe -i