Błąd podczas odpalania aplikacji na serwerze

0

Witam. Aplikacja napisana w ASP.NET freamwork 4.0 , działa lokalnie na moim komputerze, gdy wrzuciłem pliki na serwer dostaje następujący błąd:

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>

Wiec ok...ustawiłem
<customErrors mode="Off"/> , zaktualizowałem web.config na serwerze , jednak odpalając stronę dalej otrzymuje ten sam błąd pomimo tego że dodałem to co 'niby' było błędem. Miał ktoś taki problem ? Byłbym wdzięczny za pomoc .

Pozdrawiam.

0

Masz błąd w aplikacji, ale domyślne ustawienia zabraniają oglądania kodów błędów użytkownikom zdalnym.

Spróbuj zmiany zarówno customErrors na Off, jak i deployment retail na false: http://stackoverflow.com/questions/101693/customerrors-mode-off. Można chyba też błędy zobaczyć gdzieś w konsoli IIS/Event Viewerze.

0

Wie ktoś jak zmienić bazę danych dla Web Site Administration Tool ??

1 użytkowników online, w tym zalogowanych: 0, gości: 1