And that should be:

"I did not HAVE ASP.Net set "

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bobby Heid
Sent: Tuesday, February 13, 2007 12:21 PM
To: 'The Hardware List'
Subject: RE: [H] Web Services...

Sorry, meant for this to go to the list...

Jamie,

You da man! 

I did not the ASP.Net set to use .Net 2.0.  I saw that box, did not realize
it was something I could change.  Like I said, I'm a complete newbie with
IIS.

Thanks!

Bobby  

-----Original Message-----
From: Jamie Furtner [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 12, 2007 1:07 PM
To: [EMAIL PROTECTED]; The Hardware List
Subject: Re: [H] Web Services...

Bobby Heid wrote:
>
> Hey,
>
> I started playing around with web services last night.  I created a 
> simple
> web service.  If I run it, it starts up a dev version of IIS and it runs
> correctly.  I even added a client to the solution and it consumed the web
> service fine.
>
> I also started IIS up on my machine and published it to IIS.  It put 
> several
> files into the desired directory under the wwwroot directory.  But when I
> tried to run it using hrrp://localhost/MathService/Mathservice.asmx, it
> gives me an error that it can't create the class.
>
> Can anyone tell me what needs to go where for a web service under IIS?
>
> Thanks,
> Bobby
>
I'm assuming you're using .Net 2.0 (as VS2005 includes its own web 
server, but 2003 doesn't). You'll need to ensure that the directory is 
set to be an application (directory tab, create button), and that it is 
set to use .Net 2.0 (ASP.Net tab, version drop down).

If that still doesn't work, copy the whole source tree - including the 
.cs or .vb files - to the directory under c:\inetpub (instead of using 
the publish wizard).

Jamie



Reply via email to