Web.config >> <?xml version="1.0" encoding="utf-8"?> <configuration> <system.web> <customErrors mode="RemoteOnly" /> </system.web> </configuration>
-----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Michael Rueetschli Gesendet: Freitag, 19. September 2003 17:17 An: [EMAIL PROTECTED] Betreff: Antw: [Asp.net] AW: [Asp.net] asp.net anfänger Danke für die rasche reaktion aber dann bekomm ich ne Server Error in '/' Application. Runtime Error Was muss ich machen damit ich vernünftige Fehlermeldungen bekomme? Sorry für die dumme Frage aber es sind wirklich meine ersten Schritte mit .Net Danke michael >>> [EMAIL PROTECTED] 09/19 5:02 >>> Schmeiss die DropDownList weg und ... Sub Page_Load() Dim myPath As String = Request("path") If myPath = "" Then myPath = "." if not myPath = "" then Dim pictures as new Hashtable Dim file as System.IO.FileInfo Dim files as string() Dim filename as string = "" Dim i as integer files = System.IO.Directory.GetFiles(Server.MapPath(myPath),"*.*") for i = 0 to files.Length - 1 file = new System.IO.FileInfo(files(i)) filename = file.Name.ToLower() if filename.EndsWith(".jpg") or filename.EndsWith(".gif") then pictures(myPath & "/" & file.Name) = "thumb.aspx?src=" & _ myPath & "/" & file.Name end if repeater1.DataSource = pictures Page.DataBind() next end if End Sub Daniel Fisher a.k.a. Lennybacon mailto:[EMAIL PROTECTED] http://www.lennybacon.com/ _______________________________________________ Asp.net mailing list [EMAIL PROTECTED] http://www.glengamoi.com/mailman/listinfo/asp.net _______________________________________________ Asp.net mailing list [EMAIL PROTECTED] http://www.glengamoi.com/mailman/listinfo/asp.net _______________________________________________ Asp.net mailing list [EMAIL PROTECTED] http://www.glengamoi.com/mailman/listinfo/asp.net