Setting up WebServices in ASP.NET prob - Help appreciated

Get help on web editors (Frontpage, Dreamweaver) and web languages (HTML, ASP, PHP).
Post Reply
Screeper
Registered User
Posts: 3692
Joined: 04 Apr 2003, 02:00
Contact:

Setting up WebServices in ASP.NET prob - Help appreciated

Post by Screeper »

Hi guys,

i'm trying to set up my webservices for my final programming project (using asp.net and vb.net).

No problem at college in setting up them but on my home pc i'm getting the following error which may as well have been written in ancient arabic.
Can anyone point me in a direction that may help me cure this error?

Image

Any help would really be appreciated as i'm stuck :roll:

I'm using this command -
wsdl /language:VB http://localhost/WebDir/WebServices.asmx?WSDL

- where WebDir is my virtual directory and WebServices is the name of my web service file.
There are 10 types of people in this world.
Those who understand binary and those who do not.
MeercatMilker
Registered User
Posts: 213
Joined: 23 Oct 2004, 02:00
Contact:

Post by MeercatMilker »

You are studing at CTI, aren't you?

Is IIS installed?
Screeper
Registered User
Posts: 3692
Joined: 04 Apr 2003, 02:00
Contact:

Post by Screeper »

Yup IIS is installed.
And yes studying at CTI......the horror.
There are 10 types of people in this world.
Those who understand binary and those who do not.
MeercatMilker
Registered User
Posts: 213
Joined: 23 Oct 2004, 02:00
Contact:

Post by MeercatMilker »

Open IIS, right-click on Default Web Site and select Properties. Click on the Home Directory tab, and then on Configuration.

See if you can find the 'asmx' extension in the listview.
Screeper
Registered User
Posts: 3692
Joined: 04 Apr 2003, 02:00
Contact:

Post by Screeper »

no .asmx is not in the list.

I assume i must add it?
what do i put for executable path? and Verbs?

thanks for the help MeercatMilker
There are 10 types of people in this world.
Those who understand binary and those who do not.
v1c
Registered User
Posts: 313
Joined: 22 Jun 2002, 02:00
Contact:

Post by v1c »

Have you fully installed asp.net? Once you've got the .NET sdk installed you should run aspnet_regiis.exe from C:\WINNT\Microsoft.NET\Framework\v2.0.50727 (<-whatever version youve got installed) That will setup all file types with IIS. If you want to run multiple versions of asp.net you can set it so only certain virtual directories are taken over to 2.0 leaving the rest in 1.1

HTH
Post Reply