Also ich hatte das gleiche Problem bei einem Update von Beta 2 auf die Final von .NET. Das hat mir jemand in einer Newsgroup empfohlen und das Problem war behoben:
I ran into this too -- I was able to work around it by updating the following line in the compilation/compilers section of machine.config: <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="1"/> changing the warningLevel to "0" to cause the compiler to ingore the CS1595 warning(s). Gruss Jan -----Urspr�ngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Im Auftrag von Stephan Schr�der Gesendet: Montag, 28. Januar 2002 20:44 An: aspDEdotnet Betreff: [aspdedotnet] AW: Re: .net Problem / Installation? > Also bei mir hat dieser Code funktioniert, ich habe bloss oben bei > void btnSubmit_Click das e bei EventArgs gro� geschrieben, aber daran > sollte es eigentlich nicht liegen, oder? Habe ich mal probiert, geht aber trotzdem nicht! Ich denke es wird irgendwas falsch konfiguriert sein am Server, aber was? Ich habe ja nichts einstellen m�ssen. Hat noch jemand einen Rat? Es laufen n�mlich keinerlei aspx-Dateien! Mit freundlichen Gr�ssen Stephan Schr�der =============================== Stephan Schr�der Software & Entwicklung ProWebMa Hosting GbR Web: http://www.ProWebMa.de =============================== > -----Urspr�ngliche Nachricht----- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]Im Auftrag von Jens > Kohl > Gesendet: Montag, 28. Januar 2002 21:02 > An: aspDEdotnet > Betreff: [aspdedotnet] Re: .net Problem / Installation? > > > Am Mon, 2002-01-28 um 08.31 schrieb Stephan Schr�der: > > <html> > > <head> > > <script language="C#" runat="server"> > > void Page_Load(Object Sender, EventArgs E) > > { > > if (!IsPostBack) { > > ArrayList Days = new ArrayList(); > > Days.Add ("Montag"); > > Days.Add ("Dienstag"); > > Days.Add ("Mittwoch"); > > Days.Add ("Donnerstag"); > > Days.Add ("Freitag"); > > Days.Add ("Samstag"); > > Days.Add ("Sonntag"); > > MyDropDown.DataSource = Days; > > MyDropDown.DataBind(); > > } > > } > > void btnSubmit_Click(Object sender, EventArgs e) > > { > > lblMsg1.Text = "Ihre Auswahl: " + > MyDropDown.SelectedItem.Text; > > } > > </script> > > </head> > > <body> > > <form runat="server"> > > <asp:DropDownList id="MyDropDown" runat="server" /> > > <asp:button Text="Abschicken" OnClick="btnSubmit_Click" > > runat="server" /> > > <p> > > <asp:Label id="lblMsg1" runat="server" /> > > </form> > > </body> > > </html> > > Also bei mir hat dieser Code funktioniert, ich habe bloss oben bei > void btnSubmit_Click das e bei EventArgs gro� geschrieben, aber daran > sollte es eigentlich nicht liegen, oder? > > -- > jens > > > | [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
