powered by simpleCommunicator - 2.0.59     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / ASP.NET [игнор отключен] [закрыт для гостей] / Не пойму в чем ошибка
3 сообщений из 3, страница 1 из 1
Не пойму в чем ошибка
    #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
Не пойму в чем ошибка
    #32963054
Фотография big-duke
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
<customErrors mode="On"/>
...
Рейтинг: 0 / 0
Не пойму в чем ошибка
    #32963273
New_member
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Поставил, но все равно выдает то же самое, вопрос - может он хватать web.config из другого каталога, если там несколько ссылок такого типа:
<!-- #include virtual="/includes/header_html.inc"-->
...
Рейтинг: 0 / 0
3 сообщений из 3, страница 1 из 1
Форумы / ASP.NET [игнор отключен] [закрыт для гостей] / Не пойму в чем ошибка
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


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