Hast Du das Framework korrekt installiert?

> -----Urspr�ngliche Nachricht-----
> Von: [EMAIL PROTECTED]
[mailto:bounce-aspdedotnet-
> [EMAIL PROTECTED]] Im Auftrag von Christov, Ljubomir
> Gesendet: Dienstag, 11. Juni 2002 10:52
> An: aspDEdotnet
> Betreff: [aspdedotnet] Anzeige in Browser
> 
> -- Moved from [aspgerman] to [aspdedotnet] by
> [EMAIL PROTECTED] <[EMAIL PROTECTED]> --
> 
> Hallo,=20
> ich habe versucht folgende =
> http://localhost/CalcWebService/Service1.asmx
> anzuzeigen/zu testen. Statt die erwartete Anzeige der WebMethoden =
> erhalte
> ich nur=20
> "<%@ WebService Language=3D"c#" Codebehind=3D"Service1.asmx.cs"
> Class=3D"CalcWebService.Service1" %>"=20
> in Browser.=20
> Ich vermute, da=DF IIS nicht richtig eingestellt habe oder etwas
falsch
> ausgehakt ist. Die Datei Service1.asmx(C# ASP-WebDienst), erstellt mit
> VS.NET Beta2 ist recht einfach:
> using System;
> using System.Collections;
> using System.ComponentModel;
> using System.Data;
> using System.Diagnostics;
> using System.Web;
> using System.Web.Services;
> 
> namespace CalcWebService
> {
>       public class Service1 : System.Web.Services.WebService
>       {
>               private System.Diagnostics.Process process1;
>               public Service1()
>               {
>                       InitializeComponent();
>               }
>               private void InitializeComponent()
>               {
>                       this.process1 =3D new
System.Diagnostics.Process();
>               }
>               protected override void Dispose( bool disposing ){}
>               [WebMethod]
>               public int Addition(int x, int y){ return x + y; }
>               [WebMethod]
>               public int Subtraction(int x, int y){ return x - y; }
>               [WebMethod]
>               public int Multiplication(int x, int y){ return x * y; }
>               [WebMethod]
>               public int Division(int x, int y)
>               {=20
>                       if (y=3D=3D0)
>                       {
>                               throw new DivideByZeroException("Dude,
can't
> divide by zero");
>                       }
>                       return x/y; }
>       }
> }
> und aus einem Buch entnommen(C# und die .NET-Plattform). Ich hoffe, =
> dass
> jemand schon die L=F6sung kennt.
> 
> Gruss
> Ljubomir
> 
> 
> 
> 
> | [aspdedotnet] als [EMAIL PROTECTED] subscribed
> | http://www.dotnetgerman.com/archiv/aspdedotnet/ = Listenarchiv
> | Sie k�nnen sich unter folgender URL an- und abmelden:
> | http://www.dotnetgerman.com/listen/aspDEdotnet.asp



| [aspdedotnet] als [email protected] subscribed
| http://www.dotnetgerman.com/archiv/aspdedotnet/ = Listenarchiv
| Sie k�nnen sich unter folgender URL an- und abmelden:
| http://www.dotnetgerman.com/listen/aspDEdotnet.asp

Antwort per Email an