Create your directory under IIS for your application then run the
install from within the %SYSTEM%\Microsoft.Net\Framework\%VERSION%\

from the command promt run ASPNET_REGIIS -r

Then retry,  usually it's a badly configured server scripts that are
the cause, if you have been able to run it in DevEnv

*WARNING* this will reset ALL .net apps on your webserver to the .net
runtime that you choose,  check the aspnet_regiis help to update just
one.

Dave.

On 2/11/07, Bobby Heid <[EMAIL PROTECTED]> 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


===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com



--
Dave Jones
[EMAIL PROTECTED]
[EMAIL PROTECTED]

b1xml2 : "The one thing that is differentiates VB.NET from C# is the
horrible ability to do this turn Option explicit and strict off, after
which VB.NET can resemble mangled spaghetti. "

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to