Hey, wie ihr vielleicht anhand der Frage erraten könnte bin ich n ziemlicher Neuling in ASP
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