Autor Beitrag
Flitzs
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 123
Erhaltene Danke: 7

Win7 x64/86 WinServer 2008 R2 x64
C#/C++/C VS2010
BeitragVerfasst: Fr 11.07.08 18:48 
Hey, wie ihr vielleicht anhand der Frage erraten könnte bin ich n ziemlicher Neuling in ASP :D

Ja mein Problem: Hab ein Projekt erstellt und einmal Debuggen gestartet, läuft einwandfrei.
So nun dachte ich mir pack ichs mal aufn WebSpace, Projekt veröffentlicht und gesagt getan. So wenn ich nun versuche die Seite zu öffnen (die Lokal im debuggen einwandfrei ging) kommt immer die Fehlermeldung:

Zitat:
Server Error in '/' Application.
Runtime Error
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.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>



Was mir aus 2 Gründen supsekt erschreint denn:
Ich hab eine Custom Error Page (die im debuggen auch erschreint) und generll warum der Fehler auftritt (war ja Lokal nicht so).

Aber wie auch immer mal versucht das er mir den Fehler bringt und nicht dieses Ding da also hab ich in der Web.Config Datei
Zitat:
<system.web>
<customErrors mode="Off"/>
</system.web>

angeängt (innerhalb des configuration tags) aber das hat nichts geändert.

So meine Frage, woran kann das liegen das diese Fehler auftritt und wie bekomme ich es hin das er mir anzeigt welcher Fehler es ist und wieso wird meine selbstgemacht Fehlerseite nicht angezeigt?

mfg Flitzs
Flitzs Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 123
Erhaltene Danke: 7

Win7 x64/86 WinServer 2008 R2 x64
C#/C++/C VS2010
BeitragVerfasst: Fr 11.07.08 22:39 
Hey ich nochma.
Hmm mittlerweile hab ich glaub ich so alles durchprobiert was mir einfiehl, tracing funktioniert auch nicht (kA wieso ich nehm an der kommt gar ned so weit oder so...)

Mittlerweile spinnt das ganze irg. schon nun zeigt er mit die Error Page auch Lokal nichtmehr und macht auch andere nicht geplante Sachen^^

mfg
ein entnervter Flitzs...