Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / ASP.NET [игнор отключен] [закрыт для гостей] / Не пойму в чем ошибка / 3 сообщений из 3, страница 1 из 1
16.03.2005, 11:46
    #32962768
New_member
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Не пойму в чем ошибка
На локальной машине, где писал проект все работает нормально, когда выкладываю на сервер, то выдает следующее, подскажите что делаю не так:
Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
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>
 
...
Рейтинг: 0 / 0
16.03.2005, 12:45
    #32963054
big-duke
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Не пойму в чем ошибка
<customErrors mode="On"/>
...
Рейтинг: 0 / 0
16.03.2005, 13:37
    #32963273
New_member
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Не пойму в чем ошибка
Поставил, но все равно выдает то же самое, вопрос - может он хватать web.config из другого каталога, если там несколько ссылок такого типа:
<!-- #include virtual="/includes/header_html.inc"-->
...
Рейтинг: 0 / 0
Форумы / ASP.NET [игнор отключен] [закрыт для гостей] / Не пойму в чем ошибка / 3 сообщений из 3, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]