Форум программистов, компьютерный форум, киберфорум
C#: Web, ASP.NET
Войти
Регистрация
Восстановить пароль
Блоги Сообщество Поиск Заказать работу  
 
Рейтинг 4.88/33: Рейтинг темы: голосов - 33, средняя оценка - 4.88
1 / 1 / 1
Регистрация: 03.01.2010
Сообщений: 37

Ошибка запуска: Error while trying to run project: Unable to start debugging on the web server. Access is denied

28.04.2006, 17:40. Показов 6537. Ответов 9
Метки нет (Все метки)

Студворк — интернет-сервис помощи студентам
Вот что пишут в MSDN
When you try to debug on an application running on a Web server, you may sometimes get a message with this error message:</P><PRE class=code>Unable to start debugging on the Web server</PRE>
If you encounter these errors, there are several things to consider: <UL type=disc><LI>ms-help://MS.MSDNQTR.2005APR.1033/vsdebug/html/vxtbsHTTPServerErrors.htm#vxtbshttpserve rerrorsthingstocheck <FONT color=#800080>Things to Check <LI>ms-help://MS.MSDNQTR.2005APR.1033/vsdebug/html/vxtbsHTTPServerErrors.htm#vxtbshttpserve rerrorswebapplicationsonremoteservers <FONT color=#800080>Web Applications on Remote Servers <LI>ms-help://MS.MSDNQTR.2005APR.1033/vsdebug/html/vxtbsHTTPServerErrors.htm#vxtbshttpserve rerrorswebapplicationsstoredinvisualsour cesafeandusingfrontpageserverextensions <FONT color=#800080>Web Applications Stored in Visual SourceSafe and Using FrontPage Server Extensions <LI>ms-help://MS.MSDNQTR.2005APR.1033/vsdebug/html/vxtbsHTTPServerErrors.htm#vxtbshttpserve rerrorsmanuallyattaching <FONT color=#800080>Manually Attaching </LI></UL><H2 class=dtH2><A name=vxtbshttpservererrorsthingstocheck> Things to Check</H2>
If you get an "Unable to start debugging on the Web server" error, try checking the following things: <UL type=disc><LI>Are you running a version of Windows that allows the Visual Studio debugger to automatically attach to a Web application? If not, you need to launch the application without debugging and manually attach to it. (For more information, see ms-help://MS.MSDNQTR.2005APR.1033/vsdebug/html/vxtbsHTTPServerErrors.htm#vxtbshttpserve rerrorsmanuallyattaching <FONT color=#800080>Manually Attaching and ms-help://MS.MSDNQTR.2005APR.1033/vsdebug/html/vxgrfaspnetdebuggingsystemrequirements.h tm ASP.NET Debugging: System Requirements.) <LI>Does your Web application have a Web.config file? <UL type=disc><LI>Does the Web.config file enable debug mode) by setting the <CODE class=ce>debug</CODE> attribute to <CODE class=ce>true</CODE>? For more information, see ms-help://MS.MSDNQTR.2005APR.1033/vsdebug/html/vxtskdebugmodeinaspnetapplications.htm Debug Mode in ASP.NET Applications. <LI>Does the Web.config file contain any syntax errors? You can check for syntax errors by running the Web application without debugging. (From the Debug menu, choose Start Without Debugging.) If there are syntax errors in Web.config, detailed information will be displayed. </LI></UL><LI>You need to be a member of the Debugger Users group or an administrator if the ASP.NET worker process runs under your own user account. <LI>You need to be a member of the Administrators group if the ASP.NET worker process runs under any other user account besides your own. <LI>Did you create the project by specifying a specific IP address (100.20.300.400, for example)? Debugging a Web server requires NTLM authentication. By default, IP addresses are assumed to be part of the Internet, and NTLM authentication is not done over the Internet. To correct this problem: <UL type=disc><LI>When creating the project, specify the name of the machine on your intranet.
-or- </P><LI>Add the IP address (http://100.20.300.400) to the list of trusted sites on your computer. (From the Internet Explorer Tools menu, choose Internet Options, and then select the Security tab). </LI></UL><LI>Does the machine running IIS server have Visual Studio .NET Remote Components installed? <LI>Was IIS installed on the local machine (the machine running Visual Studio .NET) after Visual Studio .NET was installed? IIS should be installed before Visual Studio .NET. If it was installed afterwards, y .exe, you need Administrator privileges or edit the machine.config file for aspnet_wp.exe so that aspnet_wp.exe runs under your user account. (On Windows Server 2003, the worker process is called w3wp.exe rather than aspnet_wp.exe, and you can change the account it runs under using IIS.) To debug an application running under inetinfo.exe, you need to be Administrator on the machine running inetinfo.exe.
ATL Server applications run under inetinfo.exe or the ATL worker process dllhost.exe, depending on security settings. To debug an application running under inetinfo.exe, you must be an Administrator on the machine running inetinfo.exe, or you can configure dllhost to run as a particular user using the common language runtime application settings </P><LI>Are you using Terminal Server to try to debug a Web application on a remote machine? Remote debugging of native Web applications using Terminal Server is supported under Windows XP. It is not supported under Windows 2000 or Windows NT. </LI></UL><H2 class=dtH2><A name=vxtbshttpservererrorsanchor1>IIS on Windows Server 2003</H2>
When you install Visual Studio .NET on Windows Server 2003, ASP.NET is not enabled by default. To develop Web projects, you must run the Security Lockdown Wizard after completing Visual Studio .NET Setup.
If you run the Security Lockdown Wizard before Visual Studio .NET setup is complete, the correct version of ASP.NET may not be enabled. Visual Studio .NET Setup installs a new version of ASP.NET. To ensure that the latest version of ASP.NET is enabled, you must run the Security Lockdown Wizard <I>after</I> setup has finished. </P><P class=labelproc><B>To configure IIS after running setup on Windows Server 2003</B> <OL type=1><LI>From the <B>Start</B> menu, choose <B>All Programs</B>. <LI>Choose <B>Administrative Tools</B> and then choose <B>Internet Information Services</B>. <LI>Right-click your machine name in the left pane and choose <B>Security</B>. <LI>On the first screen of the IIS Security Lockdown Wizard, click <B>Next</B>. <LI>Verify that <B>HTTP</B> is set to Automatic and click <B>Next</B>. <LI>In the <B>Request Handlers</B> list, check ASP.NET and each instance of <CODE class=ce>n:WINDOWSMicrosoft.NETFramework <version number>aspnet_isapi.dll</CODE>. <LI>Click <B>Next</B>. <LI>Click <B>Finish</B> to complete the wizard </LI></OL><H2 class=dtH2><A name=vxtbshttpservererrorswebapplication sstoredinvisualsourcesafeandusingfrontpa geserverextensions>Web Applications Stored in Visual SourceSafe and Using FrontPage Server Extensions</H2>
If the Web application is stored in Visual SourceSafe and uses FrontPage Server Extensions as its Web Access mode, check the following: <UL type=disc><LI>Is Visual SourceSafe located on the same machine as the FrontPage Server/Web server? If so, you can debug using Integrated Authentication. (To check the Integrated Authentication setting, see the procedure To check IIS security settings for the Default Web Site earlier.) </LI></UL><H2 class=dtH2><A name=vxtbshttpservererrorsmanuallyattach ing>Manually Attaching</H2>
If you follow the troubleshooting steps and still get an error message when you start debugging, you may want to try debugging your application by manually attaching.</P><P class=labelproc><B>To manually attach</B> <OL type=1><LI>Start the application without debugging. (From the <B>Debug</B> menu, choose <B>Start Without Debugging</B>.) <LI>Attach to the appropriate IIS process or worker process. By default, <CODE class=ce>inetinfo.exe</CODE> for ATL Server applications or <CODE class=ce>aspnet_wp.exe</CODE> for ASP.NET applications (<CODE class=ce>w3wp_wp.exe</CODE> for ASP.NET applications under Windows Server 2003).
Use the following procedures to determine which process an ASP.NET or ATL Server application runs under. </P></LI></OL><P class=labelproc><B>To check which process an ASP.NET application runs under</B> <OL type=1><LI>Use Visual St
0
cpp_developer
Эксперт
20123 / 5690 / 1417
Регистрация: 09.04.2010
Сообщений: 22,546
Блог
28.04.2006, 17:40
Ответы с готовыми решениями:

Error while trying to run project: Unable to start debugging on the web server. Server-side error occurred on sending debug HTTP request.
я полнейший новичок в ASP.NET. у меня такая проблема: Я формирую пустой проект, а при запуске выдается ошибка: Error while trying to...

Ошибка Could not start the MyService service on Local Computer. Error 5: Access denied.
Проблема описана в линке http://www.relib.com/forums/topic.asp?id=847824 Я последовал совету от Messir и написал код на Си. (вернее...

Ошибка server doesn't support debugging of ASP.Net.. run Setup to install Visual Studio.NET server components
При компиляции Ctrl+F5 (without debugging) не отображаются на странице элементы управления (например TextBox), а при 'Start' F5 выдается...

9
0 / 0 / 0
Регистрация: 16.05.2012
Сообщений: 13
18.06.2012, 15:48
У меня вот какая проблема с vb.net 2003 в частности с платформой asp.net, а может быть дело и не в этих технологиях. В общем, при запуске любого веб приложения в среде vs.net2003(asp.net) выходит следующуу сообщение:

Error while trying to run project: Unable to start debugging on the web server. Access is denied

Сама среда установлена в системе Windows server 2000. Все что необходимо проверила (ну там с доступами и т.д.), но проблема не решена, даже не могу понять в чем дело.
Помогите разобраться...
0
0 / 0 / 0
Регистрация: 16.05.2012
Сообщений: 13
18.06.2012, 16:03
Цитата Сообщение от asa77
У меня вот какая проблема с vb.net 2003 в частности с платформой asp.net, а может быть дело и не в этих технологиях. В общем, при запуске любого веб приложения в среде vs.net2003(asp.net) выходит следующуу сообщение:

Error while trying to run project: Unable to start debugging on the web server. Access is denied

Сама среда установлена в системе Windows server 2000. Все что необходимо проверила (ну там с доступами и т.д.), но проблема не решена, даже не могу понять в чем дело.
Помогите разобраться...
кстати, я забыла написать, что некоторые файлы (а именно с расширением .aspx, .asax, .ascx) не определены, то есть соответствующей иконки у них нет, только та иконка, которая указывает на не определенный файл (надеюсь понятно объяснила).
Вполне возможно, что ошибка в этом, но я не знаю как ее решить, просмотрела все ли компоненты vs.net 2003 установлены, все установлены, теперь для меня все это стала еще большей загадкой. Помогите разгадать
0
1 / 1 / 2
Регистрация: 05.11.2008
Сообщений: 164
18.06.2012, 16:12
А если сделать простое VB.NET Win-приложение - 1 форму. Будет ли ругаться на что-либо?
0
1 / 1 / 2
Регистрация: 05.11.2008
Сообщений: 164
18.06.2012, 16:16
Да, еще.IIS нормально работает? НТМL и ASP(не ASP.NET) страницы обрабатывает?
0
0 / 0 / 0
Регистрация: 14.11.2010
Сообщений: 67
18.06.2012, 16:27
Попробуй создать приложение в iis, те зайди в консоль iis, щелкни по папке, где лежит проект правой кнопкой, потом св-ва, потом кнопка создать
0
0 / 0 / 0
Регистрация: 16.05.2012
Сообщений: 13
18.06.2012, 18:34
В вб.нет2003 windows-приложение запускается без проблем, НТМL и ASP страницы обрабатываются тоже без проблем.
0
1 / 1 / 2
Регистрация: 05.11.2008
Сообщений: 164
18.06.2012, 18:47
может это поможет http://www.aspnetmania.com/Forums/ForumMessage/31444.html
0
0 / 0 / 0
Регистрация: 01.10.2011
Сообщений: 290
18.06.2012, 19:05
Цитата Сообщение от asa77
В вб.нет2003 windows-приложение запускается без проблем, НТМL и ASP страницы обрабатываются тоже без проблем.
А ты создала вертуальную директорию для своего ASP.NET-приложения в IIS, иначе это приложение не будет работать
0
0 / 0 / 0
Регистрация: 16.05.2012
Сообщений: 13
19.06.2012, 10:31
Цитата Сообщение от daarg
может это поможет http://www.aspnetmania.com/Forums/ForumMessage/31444.html
Я кроме dll-ок все сделала, что было сказано на этой ссылке, но к большому сожлаению ничего не получилось.
Всем большое спасибо за участие! Пойду всю систему переустанавливать ((
0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
raxper
Эксперт
30234 / 6612 / 1498
Регистрация: 28.12.2010
Сообщений: 21,154
Блог
19.06.2012, 10:31
Помогаю со студенческими работами здесь

The Web server reported the following error when attempting to create or open the WEB project located at the following URL:...
Привет всем. Установил на 2003сервере Visual Studio Net - 2003. Решил создать новый проект для C# web Aplication (проще говоря Веб...

Unable to create debug bridge unable to start adb server
Хочу отлаживать с телефона, не получается подцепиться к телефону. Телефон HTC. HTC Sync поставил, вроде драва встали норм. Что еще...

Помогите поднять клиента: Unable to connect to database server: unable to start database engine
Есть сервре Sybase SQL Anywhere 5.0 к нему настроен драйвер ODBC с помощью которого поднимается db клиент? который подключается к базе. ...

Ошибка в VB6.0 и Access: 'Run-time error -2147217842(80040e4e) Automation error'.
На Visual Basic 6.0 сделал форму которая выводит на экран данные из таблиц Access.Сделал .EXE и выложил на сервер локальной сети.Со своей...

Ошибка Parser Error Message: Access is denied: 'WebApplication3'.
При старте ASP.NET приложения вываливается следующая ошибка: Configuration Error Description: An error occurred during the...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
10
Ответ Создать тему
Новые блоги и статьи
PhpStorm 2025.3: WSL Terminal всегда стартует в ~
and_y87 14.12.2025
PhpStorm 2025. 3: WSL Terminal всегда стартует в ~ (home), игнорируя директорию проекта Симптом: После обновления до PhpStorm 2025. 3 встроенный терминал WSL открывается в домашней директории. . .
Как объединить две одинаковые БД Access с разными данными
VikBal 11.12.2025
Помогите пожалуйста !! Как объединить 2 одинаковые БД Access с разными данными.
Новый ноутбук
volvo 07.12.2025
Всем привет. По скидке в "черную пятницу" взял себе новый ноутбук Lenovo ThinkBook 16 G7 на Амазоне: Ryzen 5 7533HS 64 Gb DDR5 1Tb NVMe 16" Full HD Display Win11 Pro
Музыка, написанная Искусственным Интеллектом
volvo 04.12.2025
Всем привет. Некоторое время назад меня заинтересовало, что уже умеет ИИ в плане написания музыки для песен, и, собственно, исполнения этих самых песен. Стихов у нас много, уже вышли 4 книги, еще 3. . .
От async/await к виртуальным потокам в Python
IndentationError 23.11.2025
Армин Ронахер поставил под сомнение async/ await. Создатель Flask заявляет: цветные функции - провал, виртуальные потоки - решение. Не threading-динозавры, а новое поколение лёгких потоков. Откат?. . .
Поиск "дружественных имён" СОМ портов
Argus19 22.11.2025
Поиск "дружественных имён" СОМ портов На странице: https:/ / norseev. ru/ 2018/ 01/ 04/ comportlist_windows/ нашёл схожую тему. Там приведён код на С++, который показывает только имена СОМ портов, типа,. . .
Сколько Государство потратило денег на меня, обеспечивая инсулином.
Programma_Boinc 20.11.2025
Сколько Государство потратило денег на меня, обеспечивая инсулином. Вот решила сделать интересный приблизительный подсчет, сколько государство потратило на меня денег на покупку инсулинов. . . .
Ломающие изменения в C#.NStar Alpha
Etyuhibosecyu 20.11.2025
Уже можно не только тестировать, но и пользоваться C#. NStar - писать оконные приложения, содержащие надписи, кнопки, текстовые поля и даже изображения, например, моя игра "Три в ряд" написана на этом. . .
Мысли в слух
kumehtar 18.11.2025
Кстати, совсем недавно имел разговор на тему медитаций с людьми. И обнаружил, что они вообще не понимают что такое медитация и зачем она нужна. Самые базовые вещи. Для них это - когда просто люди. . .
Создание Single Page Application на фреймах
krapotkin 16.11.2025
Статья исключительно для начинающих. Подходы оригинальностью не блещут. В век Веб все очень привыкли к дизайну Single-Page-Application . Быстренько разберем подход "на фреймах". Мы делаем одну. . .
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2025, CyberForum.ru