Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / ASP.NET [игнор отключен] [закрыт для гостей] / Ошибка доступа при отладке web-приложения / 2 сообщений из 2, страница 1 из 1
16.03.2006, 01:35
    #33603810
remotd
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Ошибка доступа при отладке web-приложения
Доброе время! VStudio 2003, Win2003SP1, IIS - запущен (соответс. extens. - allowed), NTFS

Создаю веб-приложение WebA1.
При отладке - выдает следующий мессадж

Server Error in '/WebA1' Application.
--------------------------------------------------------------------------------

Access to the path "F:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\weba1\83f5d5d3\1be991c2" is denied.

пробовал давать права админа - \IUSR_Hosname и ASPNET,
делал доступ к ...\ F:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\

- не получается.
На этой же ОС - установлена VStudio 2005 - работает без проблем.

C этим экземпляром VSudio 2003 под ХП (на этой же станции - ОК), на
другой PC с Win2003Sp1 - то же ОК.

В чем м.б. причина? Спасибо.
...
Рейтинг: 0 / 0
16.03.2006, 01:38
    #33603811
remotd
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Ошибка доступа при отладке web-приложения
+
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access to the path "F:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\weba1\83f5d5d3\1be991c2" is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
...
Рейтинг: 0 / 0
Форумы / ASP.NET [игнор отключен] [закрыт для гостей] / Ошибка доступа при отладке web-приложения / 2 сообщений из 2, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


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