Hallo Leute
ich bel�stige euch schon wieder.
also wenn ich das richtig mit der web.config verstanden habe lege ich
einfach eine txt-datei im root an, f�ge dein text
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<customErrors mode="RemoteOnly" />
</system.web>
</configuration>
und speichere das dann unter web.config.
richtig?
und was dann?
Ich bekomme immer noch keine Fehlermeldung, sonder immer noch diese
Meldung:
Description: An application error occurred on the server. The current
custom error settings for this application prevent the details of the
application error from being viewed remotely (for security reasons). It
could, however, be viewed by browsers running on the local server
machine.
Was muss ich noch machen?
Vielen Dank
michael
>>> [EMAIL PROTECTED] 09/21 9:38 >>>
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
_______________________________________________
Asp.net mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/asp.net