Es sieht so aus als w�re der IIS nicht f�r die Verarbeitung von Webforms / Webservices Konfiguriert. Er kennt diese Dateien nicht und weiss nicht wohin er die Verarbeitung weiterleiten (CLR) soll, also wird einfach der Inhalt angezeigt. Starte einfach noch mal die Installation des Frameworks.
http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.as p?url=/msdn-files/027/001/829/msdncompositedoc.xml Gru� Rene > -----Urspr�ngliche Nachricht----- > Von: [EMAIL PROTECTED] [mailto:bounce-aspdedotnet- > [EMAIL PROTECTED]] Im Auftrag von Christov, Ljubomir > Gesendet: Mittwoch, 12. Juni 2002 11:08 > An: aspDEdotnet > Betreff: [aspdedotnet] AW: Anzeige in Browser > > was w�re unkorrekt? > > -----Urspr�ngliche Nachricht----- > Von: Ren� Kuss [mailto:[EMAIL PROTECTED]] > Gesendet: Mittwoch, 12. Juni 2002 10:58 > An: aspDEdotnet > Betreff: [aspdedotnet] AW: Anzeige in Browser > > > 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 > > | [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
