Я пытаюсь загрузить существующие веб-приложения C # и получаю следующие ошибки при загрузке любого веб-проекта:
Создание виртуального каталога http://localhost:/ завершилось ошибкой: у вас нет разрешения на доступ к конфигурации IIS файл. Для открытия и создания веб-сайтов в IIS требуется запуск Visual Studio под учетной записью администратора. Вам нужно будет вручную создать этот виртуальный каталог в IIS, прежде чем вы сможете открыть этот проект.
Следующая ошибка произошла при попытке настроить IIS Express для проекта xxx.WebApi. У вас нет разрешения на доступ к файлу конфигурации IIS. Для открытия и создания веб-сайтов в IIS требуется запуск Visual Studio под учетной записью администратора.
Я пробовал следовать, но тщетно:
- Запуск VS 2017 pro от имени администратора.
- Я убедился, что у меня есть доступ к папкам% systemroot% System32 inetsrv и C: Windows System32 inetsrv Config.
- Я установил все функции Windows совместимости с IIS через панель управления.
- Перезапустил диспетчер IIS.
- Создал виртуальные каталоги.
- Изменен путь в реестре HKEY_CURRENT_USER Software Microsoft Windows CurrentVersion Explorer Shell Folders Personal с u: на C: Users MyUser Documents.
- Удалил IIS Express 10.0 из панели управления и переустановил его через установщик VS2017, щелкнув — Отдельные компоненты — облако, сервер базы данных — IIS Express.
- Ремонт VS 2017.
- Получил доступ администратора на машине.
- Создан новый пустой веб-проект, но возникает такая же ошибка, пока новое консольное приложение работает без ошибок.
- Перезагрузка машины после каждого изменения, связанного с установкой.
Все испробованные решения упоминаются в stackoverflow, но у меня не работают. Есть ли что-то тривиальное, чего мне не хватает? Пожалуйста, помогите мне взломать эти ошибки IIS.
I’m receiving the following error when I try to run my ASP.Net Core 1.1 app w/ IIS Express:
The following error occurred when trying to configure IIS Express for project MyCompany.IdentityApp. Unable to access the IIS metabase. You do not have sufficient privilege to access IIS web sites on your machine.
I’ve reviewed the existing SO post and none of the fixes address the issue. I’m thinking things have changed since then.
- If I open VS as admin, I get this error
- If I open VS w/o admin rights, I don’t get this error
- I can open different ASP.Net Core 1.1 web app and it runs fine from VS 2017 w/ IIS express
- I checked my
%systemroot%System32inetsrvdir and there is noConfigfolder there to grant my account rights to
VS 2017 Version: 15.4.4
MSFT Developer Community Issue
- asp.net-core
- visual-studio-2017
- iis-express
asked Nov 22, 2017 at 13:25
![]()
spottedmahnspottedmahn
14.4k12 gold badges104 silver badges165 bronze badges
1 Answer
answered Dec 11, 2017 at 20:31
![]()
spottedmahnspottedmahn
14.4k12 gold badges104 silver badges165 bronze badges
I’m receiving the following error when I try to run my ASP.Net Core 1.1 app w/ IIS Express:
The following error occurred when trying to configure IIS Express for project MyCompany.IdentityApp. Unable to access the IIS metabase. You do not have sufficient privilege to access IIS web sites on your machine.
I’ve reviewed the existing SO post and none of the fixes address the issue. I’m thinking things have changed since then.
- If I open VS as admin, I get this error
- If I open VS w/o admin rights, I don’t get this error
- I can open different ASP.Net Core 1.1 web app and it runs fine from VS 2017 w/ IIS express
- I checked my
%systemroot%System32inetsrvdir and there is noConfigfolder there to grant my account rights to
VS 2017 Version: 15.4.4
MSFT Developer Community Issue
- asp.net-core
- visual-studio-2017
- iis-express
asked Nov 22, 2017 at 13:25
![]()
spottedmahnspottedmahn
14.4k12 gold badges104 silver badges165 bronze badges
1 Answer
answered Dec 11, 2017 at 20:31
![]()
spottedmahnspottedmahn
14.4k12 gold badges104 silver badges165 bronze badges
Some web projects are causing me problems while others work fine. I decided to focus on one of the problematic ones.
I’m using Visual Studio 2013 on Windows 7. I think I’m running it as administrator, the window title says PROJECT NAME - Microsoft Visual Studio (Administrator).
When I try to run the project I get a popup saying:
Unable to launch the IIS Express Web server.
Failed to register URL «http://localhost:62940/» for site «SITE NAME»
application «/». Error description: Access is denied. (0x80070005).
This does not seem entirely uncommon but I have tried many of the suggestions without luck:
-
Deleted
%userprofile%DocumentsIISExpress, tried to run. -
netsh http add urlacl url=http://localhost:62940/ user=everyone, rebooted and tried to run. (Actuallyuser=Allasince Swedish Windows). -
netsh http delete urlacl url=http://localhost:62940/, rebooted and changed from<binding protocol="http" bindingInformation="*:62940:localhost />to<binding protocol="http" bindingInformation="*:62940:/>in%userprofile%DocumentsIISExpressconfigapplicationhost.configand tried to run. (It did changed the error message to say... URL "http://*:62940/" .... -
Reinstalled IIS 8.0 Express
-
Reinstalled Visual Studio 2013
I’m at my wit’s end, what am I doing wrong?
If I change the port of the project (e.g. to 55555) it starts… This is not a desirable solution since these projects are worked on by several people. Maybe the port is blocked by something else? If so, is there an easy way to check by what?
Port 62940 seems to be free. Running netstat does not show any application listening to it. Something else must be wrong.
I tried starting the project today after not touching it for a few months. It worked but I don’t know why.
![]()
TylerH
20.4k62 gold badges75 silver badges97 bronze badges
asked May 6, 2014 at 18:33
4
I solved the error by changing the port for the project.
I did the following steps:
1 — Right click on the project.
2 — Go to properties.
3 — Go to Server tab.
4 — On tab section, change the project URL for other port, like 8080 or 3000.
Good luck!
answered Feb 21, 2015 at 19:51
FranciscoFrancisco
1,7081 gold badge17 silver badges19 bronze badges
0
Yeah, I agree, top answers are really pro solutions. Here is one for intermediates:
Solution Explorer
- Right click on project select Unload project
- Again Right click and select Edit ProjectName.csproj
- Remove these 3 lines
<DevelopmentServerPort>0</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost:62940/</IISUrl>
- Save and reload the project, and you are good to go.
Druid
6,4284 gold badges40 silver badges56 bronze badges
answered Jan 25, 2019 at 6:37
1
try (as elevated administrator)
netsh http delete urlacl url=http://*:62940/
answered May 14, 2014 at 18:51
SpongmanSpongman
9,3777 gold badges37 silver badges58 bronze badges
1
The ideal way to sort this out is to use the IIS Express tray icon to stop the web site that is causing the problem. To do this, click the little upward-pointing arrow in the right-hand end of the task bar and right-click the IIS Express icon. This will pop up a small window showing you the web sites that IIS Express is currently running…

If you click on one of the items under «View Sites» you have the option to stop that site. Or, you can click the Exit item at the bottom of the window to stop all web sites.
That should enable you to debug in Visual Studio. When you start debugging again, IIS Express will automatically restart the web site, and should be able to allocate the port.
If that fails, you have to do it the dirty way. Open Windows Task Manager and kill the Microsoft.VisualStudio.Web.Host.exe*32 process, then you can run the project fine. Note that this will kill IIS Express completely, meaning that all web sites will stop, so you’ll have to restart each one in VS if you want to debug any others. Try the pop-up icon method first tough as it’s cleaner and safer.
Don’t know if this answers your issue, but it works for me.
Update Thanks to JasonCoder (see comment below) for adding that on Win10, the process is Microsoft.VsHub.Server.HttpHost.exe
answered Oct 20, 2014 at 16:15
![]()
Avrohom YisroelAvrohom Yisroel
8,0678 gold badges44 silver badges94 bronze badges
0
When using Visual Studio 2015 the solution can be a bit different to the previous answers. VS2015 creates a hidden folder .vs under the same folder as your solution file. Under this is a config folder containing applicationhost.config. Deleting this file (or the entire .vs folder) then starting VS2015 to recreate it can fix this error.
answered Dec 8, 2015 at 17:23
![]()
CayneCayne
6975 silver badges4 bronze badges
0
Got this error as well lately. Tried all the above fixes, but none worked.
To disable it, type services.msc in command prompt, then right click and disable Internet Connection Sharing. I edited the properties of it as well to disable at startup. Mine looks like so now: services capture screenshot.
Buggieboy
4,5364 gold badges54 silver badges79 bronze badges
answered Dec 7, 2015 at 13:40
![]()
Michael.Michael.
96212 silver badges16 bronze badges
1
I got the same issue when running my application from Visual Studio 2019 on Windows 10.
After some time googling and trying various proposed solutions without success, I determined that the «Access Denied» error was a result of the port number my application uses (50403) falling in an «excluded port range».
You can view the excluded port ranges with the following command:
netsh interface ipv4 show excludedportrange protocol=tcp
After some more time googling I found that the two most likely culprits that create these exclusion ranges are Docker and Hyper-V. Docker was not installed on my computer but Hyper-V was.
My Solution
- Disable Hyper-V: Control Panel-> Programs and Features-> Turn Windows features on or off. Untick Hyper-V
- Restart the computer.
- Add the port you are using to the port exclusion range:
netsh int ipv4 add excludedportrange protocol=tcp startport=50403 numberofports=1 store=persistent - Reenable Hyper-V
- Restart the computer
I added the port I am using to the exclusion list to ensure that I won’t get this problem again after reenabling Hyper-V. After Step 4 and 5 when I viewed the excluded port range I can see that Hyper-V reserved a port range starting with the next port after my port.

My application now worked perfectly!
answered Jan 6, 2020 at 11:51
Philip TrenwithPhilip Trenwith
3,6212 gold badges10 silver badges10 bronze badges
0
This is the only solution I found
net stop winnat
net start winnat
Thanks to Matt
answered Nov 10, 2021 at 12:30
![]()
2
This happened with me when I was trying to access my site from a remote location:
At first, applicationhost.config (VS2015) contained the standard:
<binding protocol="http" bindingInformation="*:64376:localhost" />
In order to access my site from a remote location within the network, I added (step 1):
<binding protocol="http" bindingInformation="*:64376:192.168.10.132" />
Then, I entered into CMD with Admin rights (step 2):
netsh http add urlacl url=http://*:64376/ user=Everyone
As step 3, I added it a rule to the firewall.
netsh advfirewall firewall add rule name=”IISExpressWeb” dir=in protocol=tcp localport=64376 profile=private,domain remoteip=localsubnet action=allow
Then, I got this error when trying to run the solution again.
Solution: I seemed to have done everything right, but it did not work until I ran netsh also for the existing localhost rule:
netsh http add urlacl url=http://localhost:64376/ user=Everyone
Now, it works again.
answered Apr 11, 2017 at 13:08
ArjanArjan
15.7k5 gold badges30 silver badges39 bronze badges
0
I just had a similar issue. I’m not totally sure how to describe the actual fault but it seems like the hostname in the reservation is incorrect. Try this in an elevated command prompt…
netsh http delete urlacl url=http://localhost:62940/
… then …
netsh http add urlacl url=http://*:62940/ user=everyone
and restart your site. It should work.
answered Jun 26, 2014 at 8:55
![]()
I ran into this same error message, but it looks like it was produced from IIS Express. This article helped me resolve it
TL;DR
Run the following command from an Administrative command prompt:
> netsh http add iplisten ipaddress=::
answered Sep 2, 2016 at 20:59
Sir CodesALotSir CodesALot
9461 gold badge16 silver badges16 bronze badges
0
After trying a number of suggested solutions without success I just rebooted my PC. After that the problem didn’t occur anymore.
answered Jul 23, 2015 at 8:34
Dimitri C.Dimitri C.
21.5k21 gold badges83 silver badges100 bronze badges
0
I ended up with cleaning the project file (csproj) and the applicationhost.config (iis express) with all entries regarding iis express configuration. After that, it worked.
answered Jul 8, 2014 at 10:24
Sven SönnichsenSven Sönnichsen
9451 gold badge11 silver badges18 bronze badges
1
If you’re having this after installing Visual Studio 2015 and you can see Error messages in System event log such as this: Unable to bind to the underlying transport for [::]:{your_port}. . The IP Listen-Only list may contain a reference ... then you might be missing a registry entry.
Run this under administrative command prompt: netsh http add iplisten ipaddress=:: to fix it.
I found the solution described in detail here
answered Jan 25, 2016 at 15:27
![]()
Ignas VyšniaIgnas Vyšnia
2,0391 gold badge16 silver badges16 bronze badges
0
After all of the steps listed here failed for me I got it working by running VS2015 as administrator.
answered Apr 29, 2016 at 11:32
maxmantzmaxmantz
7021 gold badge9 silver badges25 bronze badges
0
This happened to me on Windows 10 and VS 2013.
Apparently there is a maximum port number IIS Express handles.
Ports above 62546 don’t work for me.
answered Apr 12, 2016 at 16:08
1
The error can be solved if you just restart Visual Studio. It has the same effect as restarting the Microsoft.VisualStudio.Web.Host.exe*32 process.
answered May 19, 2016 at 16:54
meJustAndrewmeJustAndrew
5,6177 gold badges52 silver badges71 bronze badges
0
Got the same issue where IIS express complained about http://localhost:50418/ and none of above solutions worked for me..
Went to projektFolder —> .vs —> config —> applicationhost.xml
In the tag <sites> I found that my web app had two bindnings registered.
<site name="myApp.Web" id="2">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="C:gitmyAppmyApp.Web" />
</application>
<bindings>
<binding protocol="https" bindingInformation="*:44332:localhost" />
<binding protocol="http" bindingInformation="*:50418:localhost" />
</bindings>
</site>
Removing the binding pointing to *:50418:localhost solved the issue.
Using VS2017 and IISExpress v10.
answered Sep 11, 2019 at 8:25
![]()
Marcus HöglundMarcus Höglund
15.8k11 gold badges44 silver badges68 bronze badges
0
My issue turned out to be that I had SSL Enabled on the project settings. I simply disabled this because I did not require SSL for running the project locally.
In Visual Studio 2015:
- Select the project in the Solution Explorer.
- In the Properties window set SSL Enabled to False.
- I was able to run the project.
In my situation I was getting an error about port 443 in use because this was the port set on the SSL URL for the project.
answered Mar 20, 2017 at 20:06
Matt StannettMatt Stannett
2,7001 gold badge13 silver badges35 bronze badges
2
Running netstat -abn I noticed that the software «Duet Display» was reserving thousands of ports in the ~51000 range.
Closing it solved my problem.
answered Jun 12, 2018 at 10:30
LorisLoris
1,8913 gold badges18 silver badges26 bronze badges
0
Sometimes this error my be another Visual Studio version running on the same machine.
answered Feb 14, 2015 at 15:22
Go to the project «Properties» => «Web», and on the «Servers» section change the port to something else that is not used in and save it. You will be asked to created a virtual directory and click «Yes». Now run the project and it will work now.
answered Mar 9, 2015 at 3:30
DamithaDamitha
6425 silver badges7 bronze badges
1
In my case it worked at first and after a while stopped working and IIS Express reported that the port was in use.
netstat -ab showed that Chrome was using the port. After I quit Chrome, it started working again.
I am not sure however, why Chrome would occupy that port.
answered Oct 9, 2015 at 17:09
Daniel HilgarthDaniel Hilgarth
169k40 gold badges326 silver badges437 bronze badges
1
This happened to me on Windows 7 and VS 2013 while viewing a project on the browser after build. I only had to close the browser «Chrome» then made sure that the port is not in use in my Network Activities using some utility (Kaspersky) then tried again and worked without any problems.
answered Feb 10, 2016 at 14:44
![]()
hsobhyhsobhy
1,4832 gold badges20 silver badges35 bronze badges
In Visual Studio 2015:
- Find your startup page in your project (eg: mypage.aspx) , and right
click on it. - Click on Set as Start Page.
- Right click on the project.
- Click on Properties.
- Click on the Web Tab on the left.
- In Project URL, enter a different port, such as: http://localhost:1234/
- In Start Action, select Specific Page: mypage.aspx or select Specific URL: http://localhost:1234/mypage.aspx?myparam=xxx
answered Oct 11, 2016 at 15:21
![]()
live-lovelive-love
46.1k22 gold badges227 silver badges196 bronze badges
I write it for information.
Delete the file in the project.
After Clean>Build>Proje Start
answered Nov 9, 2016 at 9:30
I solved this issue by killing all instances of iexplorer and iexplorer*32. It looks like Internet Explorer was still in memory holding the port open even though the application window was closed.
answered Jun 13, 2017 at 18:16
k reyk rey
6014 silver badges11 bronze badges
I had this issue with JetBrains Rider, specifically for port 80 and 90 bit it was working with other ports as well as visual studio.
after running as admin this resolved the issue.
answered Sep 28, 2018 at 20:09
![]()
workabyteworkabyte
3,4382 gold badges26 silver badges35 bronze badges
0
In Visual Studio 2019
Just remove Debug profile and create new one Do the Trick
- Go to Project properties In debug tab
- try first Changing ports Web Server Settings
- if Changing ports not worked then Remove Debug Profile and Create new One-Warning Make Sure You Know Previous Settings
answered Nov 24, 2019 at 4:53
![]()
MorpheusMorpheus
5311 gold badge9 silver badges23 bronze badges
What worked for me is disabling all other network adapters, except the one I’m currently using. The event in event viewer was:
Unable to bind to the underlying transport for [::]:50064. The IP Listen-Only list may contain a reference to an interface which may not exist on this machine. The data field contains the error number.
Since I have VMware Workstation, Docker (and thus Hyper V) some VPN clients, I have a lot of network interfaces.
answered Jan 24, 2020 at 8:51
DevatorDevator
3,5384 gold badges32 silver badges52 bronze badges
Я создал проект ASP.NET MVC 3 и использую IIS Express в качестве веб-сервера при разработке. Когда я пытаюсь отладить, я получаю сообщение об ошибке ниже.
Как это решить?
Ошибка сервера в приложении ‘/’
Доступ запрещен. Описание: произошла ошибка при доступе к ресурсам, необходимым для обслуживания этого запроса. Возможно, сервер не настроен для доступа к запрошенному URL-адресу.
Сообщение об ошибке 401.2 .: Неавторизованный: не удалось войти в систему из-за конфигурации сервера. Убедитесь, что у вас есть разрешение на просмотр этого каталога или страницы на основе предоставленных вами учетных данных и методов проверки подлинности, включенных на веб-сервере. Обратитесь к администратору веб-сервера за дополнительной помощью.
Ответы:
Если вы используете Visual Studio, вы также можете щелкнуть проект левой кнопкой мыши в обозревателе решений и изменить свойство Windows Authentication на Enabled в окне свойств .
Причиной этой проблемы было то, что IIS Express не разрешал WindowsAuthentication. Это можно включить, установив
<windowsAuthentication enabled="true">
в файле applicationhost.config, расположенном по адресу C: Users [имя пользователя] Documents IISExpress config.
Я использовал ответ Джейсона, но хотел уточнить, как попасть в свойства.
- Выберите проект в обозревателе решений

- F4 чтобы перейти к свойствам (отличным от свойств, вызываемых правой кнопкой мыши)
- Измените проверку подлинности Windows на Включено

Размещение в IIS Express: 1. Щелкните свой проект в обозревателе решений, чтобы выбрать проект. 2. Если панель «Свойства» не открыта, откройте ее (F4). 3. На панели «Свойства» вашего проекта: a) Установите для «Анонимная проверка подлинности» значение «Отключено». б) Установите для параметра «Проверка подлинности Windows» значение «Включено».
В моем случае мне пришлось открыть файл:
C:...DocumentsIISExpressconfigapplicationhost.config
У меня было это внутри файла:
<authentication>
<anonymousAuthentication enabled="true" User="" />
Я только что снял User=""деталь. Я правда не знаю, как эта штука попала туда … 🙂
Примечание. Убедитесь, что в конце applicationhost.config:
.
.
.
<location path="MyCompany.MyProjectName.Web">
<system.webServer>
<security>
<authentication>
<anonymousAuthentication enabled="true" />
<windowsAuthentication enabled="false" />
</authentication>
</security>
</system.webServer>
</location>
</configuration>
Вы также можете посмотреть здесь: https://stackoverflow.com/a/10041779/114029
Теперь я могу получить доступ к странице входа в систему, как и ожидалось.
В моем случае предыдущий запуск моего приложения из VS зарезервировал URL-адрес. Я мог убедиться в этом, запустив в консоли:
netsh http show urlacl
чтобы удалить это бронирование, я запустил это в консоли с повышенными привилегиями:
netsh http delete urlacl http://127.0.0.1:10002/
Я нашел эти шаги здесь решить мою проблему.
Я использую VS2013
Мне пришлось запустить Visual Studio, Administrative Modeчтобы избавиться от этой ошибки.
У меня была такая же проблема, и, наконец, я смог ее преодолеть.
Solution Explorer→ Right click on project→ Properties→ Web tab→Project Url
Я выбрал другой номер порта , и все стало хорошо!
Ничего из вышеперечисленного не помогло мне. Это работало для меня до сегодняшнего дня. Затем я понял, что работаю над созданием размещенного соединения на своем ноутбуке и поделился подключением к Интернету с моим беспроводным сетевым подключением.
Чтобы исправить мою проблему:
Перейдите в Панель управления> Сеть и Интернет> Сетевые подключения.
Щелкните правой кнопкой мыши любое дополнительное беспроводное сетевое соединение, которое у вас может быть (мое называлось Wireless Network Connection 2), и нажмите «Свойства».
Перейдите на вкладку «Поделиться» вверху.
Снимите флажок «Разрешить другим пользователям сети подключаться через Интернет-соединение этого компьютера».
Нажмите ОК> затем Применить.
Надеюсь это поможет!
Я открыл свой файл web.config, нашел и удалил этот раздел:
<authorization>
<deny users="?" />
</authorization>
и мой сайт появился, но есть проблемы с аутентификацией ..
Я только что исправил эту точную проблему в IIS EXPRESS, исправив ее, отредактировав файл host .config приложения в разделе местоположения, специфичном для приведенного ниже. Я установил проверку подлинности Windows в Visual Studio 2012, но когда я вошел в XML, это выглядело так.
тег Windows auth необходимо добавить ниже, как показано.
<windowsAuthentication enabled="true" />
<location path="MyApplicationbeingDebugged">
``<system.webServer>
<security>
<authentication>
<anonymousAuthentication enabled="false" />
<!-- INSERT TAG HERE -->
</authentication>
</security>
</system.webServer>
</location>
Я боролся с этой проблемой, пытаясь создать простое приложение для SharePoint с использованием Provider Hosted.
После прохождения applicationhost.config в разделе для basicAuthentication было установлено значение false. Я изменил его на true, чтобы пройти 401.2 в моем сценарии. Существует множество других ссылок на то, как найти applicationhost.config для IIS Express.
Я нигде не видел этого «полного» ответа; Я только что видел сообщение об изменении номеров портов после того, как опубликовал это, так что, да.
Убедитесь, что в свойствах вашего проекта в Visual Studio этот URL-адрес проекта не назначен тому же URL-адресу или порту, которые используются в IIS для любых привязок сайта.
Я ищу «почему» для этого, но я предполагаю, что и IIS, и IIS Express Visual Studio используют один и тот же каталог при создании виртуальных каталогов, а Visual Studio может создавать только новые виртуальные каталоги и не может изменять все, что IIS создал, когда применяет свои привязки к сайту.
не стесняйтесь поправлять меня, почему.
Наша страница с ошибкой находилась за страницей входа, но страница входа имела ошибку в одном из элементов управления, что создает бесконечный цикл.
Мы удалили все элементы управления с проблемной страницы и добавили их один за другим, пока нужный элемент не был найден и исправлен.
В моем случае (приложение ASP.NET MVC 4) Global.asaxфайл отсутствовал. Он отображался в обозревателе решений с восклицательным знаком. Я заменил его, и ошибка исчезла.
I am trying to load existing c# web applications and getting below errors while loading any web project:
Creation of the virtual directory http://localhost:/ failed with the
error: You do not have permission to access the IIS configuration
file. Opening and creating web sites on IIS requires running Visual
Studio under an Administrator account.. You will need to manually
create this virtual directory in IIS before you can open this
project.The following error occurred when trying to configure IIS Express for
project xxx.WebApi. You do not have permission to access the IIS
configuration file. Opening and creating web sites on IIS requires
running Visual Studio under an Administrator account.
I tried following, but in vain:
- Running VS 2017 pro as an administrator.
- I ensured that I have access to %systemroot%System32inetsrv and C:WindowsSystem32inetsrvConfig folders.
- I have installed all IIS compatibility windows features through control panel.
- Restarted IIS manager.
- Created virtual directories.
- Changed registry path of HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerShell FoldersPersonal from u: to C:UsersMyUserDocuments.
- Uninstalled IIS Express 10.0 from control panel and reinstalled it through VS2017 installer by clicking – Individual components – cloud, database server – IIS Express.
- Repaired VS 2017.
- Got admin access on machine.
- Created new empty web project but getting same error while new console app runs without errors.
- Restarted machine after every installation related change.
All the solutions tried are mentioned on stackoverflow but are not working for me. Is there something trivial that I am missing? Please guide me to crack these IIS errors.
![]()
asked May 21, 2019 at 7:32
![]()
I was able to solve this issue doing the following:
1- Go to C:WindowsSystem32inetsrv and double click on directory config and accept the warning message.
2- Go to C:WindowsSystem32inetsrvconfig directory and double click on directory Export and accept the warning message.
Then you will be able to run the app in your local IIS without being an administrator. You can follow the path in the given Image.

answered Jun 6, 2020 at 3:07
jordenyspjordenysp
2,56421 silver badges17 bronze badges
6
This solved the problem for me with Visual Studio 2017, .Net Core 2.2 and IIS Express 10.
You need to ensure devenv.exe has sufficient permissions. You can find it at:
C:Program Files OR Program Files (x86)Microsoft Visual Studio nn.nCommon7IDE
Right click on the exe, select Properties, Security. I gave Administrators full control as I’m running VS under admin.

answered May 8, 2020 at 12:07
![]()
EddieEddie
4014 silver badges6 bronze badges
1
My Simple solution was to right click on Visual Studio and click Run as Administrator. But a solution above tells you how to have Visual Studio always run without having to run as an administrator.
answered Jun 19, 2020 at 15:36
Dwain BDwain B
1671 silver badge6 bronze badges
All these solutions could not work for me. The issue was, I have accidently uninstall IIS from control panel even it was install and showing me. but was removed from control panel. I reinstall IIS latest version and able to fixed the problem. This might help for others.
This link help me
VS2017 RC — The following error occurred when trying to configure IIS Express
answered Jan 26, 2021 at 5:01
![]()
1
The issue for me was caused when I modified my project to override application root URL. After a push/merge and new branch my project would not load any longer. reverted the changes and all is well again.

answered Jul 20, 2022 at 13:26
Open an elevated command prompt and enter the following command to substitute a drive path for U drive.
c:windows:system32> Subst u: C:UsersMyUserDocuments
I had replaced ‘U:’ path in registry with ‘C:UsersMyUserDocuments’ previously. I think that was not sufficient. Some references of u: might have been hindering IIS.
The total substitute command must have replaced all references and the IIS config error got resolved. Hopefully, now I’ll be able to load my web apps.
answered May 21, 2019 at 12:01
![]()
P DeshpandeP Deshpande
4271 gold badge4 silver badges5 bronze badges
I had the same issue, but instead of the workarounds (such as first double-clicking certain directories each time or running the security risk of always having to always run my VS as administrator), was able to permanently resolve the issue by deleting the «ProjectName.csproj.user» file and that fixed it. I guess there was some incompatible setting in the user file that VS couldn’t deal with.
answered Mar 17, 2021 at 16:34
![]()
Robert NRobert N
1,1492 gold badges14 silver badges31 bronze badges
For older versions, change the option from IIS to your solution name, before clicking on the green play like run button, to build and run the application.
answered Dec 1, 2021 at 8:50
We resolved this by removing the project and adding it back.
answered Jan 6, 2022 at 23:19
TuanTuan
5,3231 gold badge21 silver badges17 bronze badges
If you’re used to run your Visual Studio via shortcut with ‘Run as administrator’ checkbox marked, double check it is indeed still selected. For some reason mine had unchecked itself resulting in inability to load an IIS project. I was 100% sure my VS had these administrative privileges as usual, which made me try all the Internet proposed solutions except for the most obvious one.
answered Mar 1, 2022 at 20:41
TarecTarec
3,2384 gold badges29 silver badges45 bronze badges
Restarting Visual Studio worked for me.
answered Nov 4, 2022 at 20:13
NightShovelNightShovel
2,9521 gold badge29 silver badges35 bronze badges
I am trying to load existing c# web applications and getting below errors while loading any web project:
Creation of the virtual directory http://localhost:/ failed with the
error: You do not have permission to access the IIS configuration
file. Opening and creating web sites on IIS requires running Visual
Studio under an Administrator account.. You will need to manually
create this virtual directory in IIS before you can open this
project.The following error occurred when trying to configure IIS Express for
project xxx.WebApi. You do not have permission to access the IIS
configuration file. Opening and creating web sites on IIS requires
running Visual Studio under an Administrator account.
I tried following, but in vain:
- Running VS 2017 pro as an administrator.
- I ensured that I have access to %systemroot%System32inetsrv and C:WindowsSystem32inetsrvConfig folders.
- I have installed all IIS compatibility windows features through control panel.
- Restarted IIS manager.
- Created virtual directories.
- Changed registry path of HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerShell FoldersPersonal from u: to C:UsersMyUserDocuments.
- Uninstalled IIS Express 10.0 from control panel and reinstalled it through VS2017 installer by clicking – Individual components – cloud, database server – IIS Express.
- Repaired VS 2017.
- Got admin access on machine.
- Created new empty web project but getting same error while new console app runs without errors.
- Restarted machine after every installation related change.
All the solutions tried are mentioned on stackoverflow but are not working for me. Is there something trivial that I am missing? Please guide me to crack these IIS errors.
![]()
asked May 21, 2019 at 7:32
![]()
I was able to solve this issue doing the following:
1- Go to C:WindowsSystem32inetsrv and double click on directory config and accept the warning message.
2- Go to C:WindowsSystem32inetsrvconfig directory and double click on directory Export and accept the warning message.
Then you will be able to run the app in your local IIS without being an administrator. You can follow the path in the given Image.

answered Jun 6, 2020 at 3:07
jordenyspjordenysp
2,56421 silver badges17 bronze badges
6
This solved the problem for me with Visual Studio 2017, .Net Core 2.2 and IIS Express 10.
You need to ensure devenv.exe has sufficient permissions. You can find it at:
C:Program Files OR Program Files (x86)Microsoft Visual Studio nn.nCommon7IDE
Right click on the exe, select Properties, Security. I gave Administrators full control as I’m running VS under admin.

answered May 8, 2020 at 12:07
![]()
EddieEddie
4014 silver badges6 bronze badges
1
My Simple solution was to right click on Visual Studio and click Run as Administrator. But a solution above tells you how to have Visual Studio always run without having to run as an administrator.
answered Jun 19, 2020 at 15:36
Dwain BDwain B
1671 silver badge6 bronze badges
All these solutions could not work for me. The issue was, I have accidently uninstall IIS from control panel even it was install and showing me. but was removed from control panel. I reinstall IIS latest version and able to fixed the problem. This might help for others.
This link help me
VS2017 RC — The following error occurred when trying to configure IIS Express
answered Jan 26, 2021 at 5:01
![]()
1
The issue for me was caused when I modified my project to override application root URL. After a push/merge and new branch my project would not load any longer. reverted the changes and all is well again.

answered Jul 20, 2022 at 13:26
Open an elevated command prompt and enter the following command to substitute a drive path for U drive.
c:windows:system32> Subst u: C:UsersMyUserDocuments
I had replaced ‘U:’ path in registry with ‘C:UsersMyUserDocuments’ previously. I think that was not sufficient. Some references of u: might have been hindering IIS.
The total substitute command must have replaced all references and the IIS config error got resolved. Hopefully, now I’ll be able to load my web apps.
answered May 21, 2019 at 12:01
![]()
P DeshpandeP Deshpande
4271 gold badge4 silver badges5 bronze badges
I had the same issue, but instead of the workarounds (such as first double-clicking certain directories each time or running the security risk of always having to always run my VS as administrator), was able to permanently resolve the issue by deleting the «ProjectName.csproj.user» file and that fixed it. I guess there was some incompatible setting in the user file that VS couldn’t deal with.
answered Mar 17, 2021 at 16:34
![]()
Robert NRobert N
1,1492 gold badges14 silver badges31 bronze badges
For older versions, change the option from IIS to your solution name, before clicking on the green play like run button, to build and run the application.
answered Dec 1, 2021 at 8:50
We resolved this by removing the project and adding it back.
answered Jan 6, 2022 at 23:19
TuanTuan
5,3231 gold badge21 silver badges17 bronze badges
If you’re used to run your Visual Studio via shortcut with ‘Run as administrator’ checkbox marked, double check it is indeed still selected. For some reason mine had unchecked itself resulting in inability to load an IIS project. I was 100% sure my VS had these administrative privileges as usual, which made me try all the Internet proposed solutions except for the most obvious one.
answered Mar 1, 2022 at 20:41
TarecTarec
3,2384 gold badges29 silver badges45 bronze badges
Restarting Visual Studio worked for me.
answered Nov 4, 2022 at 20:13
NightShovelNightShovel
2,9521 gold badge29 silver badges35 bronze badges
Некоторые веб-проекты вызывают у меня проблемы, а другие работают нормально. Я решил сосредоточиться на одном из проблемных.
Я использую Visual Studio 2013 в Windows 7. Я думаю, что я запускаю его как администратор, заголовок окна говорит PROJECT NAME - Microsoft Visual Studio (Administrator).
Когда я пытаюсь запустить проект, я получаю всплывающее сообщение:
Unable to launch the IIS Express Web server.
Failed to register URL "http://localhost:62940/" for site "SITE NAME"
application "/". Error description: Access is denied. (0x80070005).
Это не кажется полностью необычным, но я пробовал много предложений без везения:
-
Удалено
%userprofile%DocumentsIISExpress, попытался выполнить. -
netsh http add urlacl url=http://localhost:62940/ user=everyone, перезагрузился и попытался запустить. (На самом делеuser=Allaсо шведской Windows). -
netsh http delete urlacl url=http://localhost:62940/, перезагрузился и сменился с<binding protocol="http" bindingInformation="*:62940:localhost />на<binding protocol="http" bindingInformation="*:62940:/>в%userprofile%DocumentsIISExpressconfigapplicationhost.configи попытался выполнить. (Он изменил сообщение об ошибке, чтобы сказать... URL "http://*:62940/" .... -
Переустановка IIS 8.0 Express
-
Переустановлена Visual Studio 2013
Я на своем конце, что я делаю неправильно?
Изменить 1: Если я изменил порт проекта (например, до 55555), он начнется… Это не является желательным решением, так как эти проекты работают несколькими людьми. Может быть, порт заблокирован чем-то еще? Если да, есть ли простой способ проверить, что?
Изменить 2: Порт 62940 кажется бесплатным. Запуск netstat не отображает приложение, слушающее его. Что-то еще должно быть неправильно.
Изменить 3: Я попытался запустить проект сегодня, не трогая его в течение нескольких месяцев. Это сработало, но я не знаю почему.
06 май 2014, в 17:36
Поделиться
Источник
31 ответ
Я решил ошибку, изменив порт для проекта.
Я сделал следующие шаги:
1 — Щелкните правой кнопкой мыши по проекту.
2 — Перейти к свойствам.
3 — Перейдите на вкладку Сервер.
4 — В разделе вкладки измените URL проекта для другого порта, например 8080 или 3000.
Удачи!
Francisco
21 фев. 2015, в 21:00
Поделиться
Идеальный способ разобраться в этом — использовать значок на панели задач IIS Express, чтобы остановить веб-сайт, вызывающий проблему. Для этого нажмите маленькую стрелку вверх в правом конце панели задач и щелкните правой кнопкой мыши значок IIS Express. Появится маленькое окно с веб-сайтами, на которых в данный момент работает IIS Express…

Если вы щелкнете по одному из пунктов в разделе «Просмотр сайтов», у вас будет возможность остановить этот сайт. Или вы можете щелкнуть пункт «Выход» в нижней части окна, чтобы остановить все веб-сайты.
Это должно позволить вам отлаживать в Visual Studio. Когда вы снова начнете отладку, IIS Express автоматически перезапустит веб-сайт и сможет выделить порт.
Если это не удается, вы должны сделать это грязным путем. Откройте диспетчер задач Windows и убейте процесс Microsoft.VisualStudio.Web.Host.exe*32, после чего вы сможете нормально запустить проект. Обратите внимание, что это полностью убьет IIS Express, а это означает, что все веб-сайты будут остановлены, поэтому вам придется перезапустить каждый из них в VS, если вы хотите отлаживать любые другие. Сначала попробуйте метод всплывающих значков, так как он чище и безопаснее.
Не знаю, отвечает ли это на вашу проблему, но это работает для меня.
Обновление. Спасибо JasonCoder (см. Комментарий ниже) за добавление этого в Win10, процесс Microsoft.VsHub.Server.HttpHost.exe
Avrohom Yisroel
20 окт. 2014, в 17:53
Поделиться
При использовании Visual Studio 2015 решение может немного отличаться от предыдущих ответов. VS2015 создает скрытую папку .vs в той же папке, что и файл решения. В этом разделе находится папка config, содержащая applicationhost.config. Удалив этот файл (или всю папку .vs), а затем запустив VS2015, он сможет исправить эту ошибку.
Cayne
08 дек. 2015, в 18:25
Поделиться
попробуйте (как повышенный администратор)
netsh http delete urlacl url=http://*:62940/
Spongman
14 май 2014, в 20:43
Поделиться
Получил эту ошибку и в последнее время. Пробовал все вышеперечисленные исправления, но никто не работал.
Чтобы отключить его, введите services.msc в командной строке, затем щелкните правой кнопкой мыши и отключите Общий доступ к подключению Интернета. Я также отредактировал его свойства, чтобы отключить его при запуске. Теперь мой вид выглядит следующим образом: снимок экрана для захвата услуг.
Michael.
07 дек. 2015, в 13:51
Поделиться
У меня была аналогичная проблема. Я не совсем уверен, как описать фактическую ошибку, но похоже, что имя хоста в резервировании неверно. Попробуйте это в командной строке с повышенными правами…
netsh http delete urlacl url=http://localhost:62940/
… затем…
netsh http add urlacl url=http://*:62940/ user=everyone
и перезагрузите свой сайт. Он должен работать.
ScaryLooking
26 июнь 2014, в 10:32
Поделиться
Это произошло со мной, когда я пытался получить доступ к моему сайту из удаленного места:
Сначала приложениеhost.config(VS2015) содержало стандарт:
<binding protocol="http" bindingInformation="*:64376:localhost" />
Чтобы получить доступ к моему сайту из удаленного места в сети, я добавил (шаг 1):
<binding protocol="http" bindingInformation="*:64376:192.168.10.132" />
Затем я вошел в CMD с правами администратора (шаг 2):
netsh http add urlacl url=http://*:64376/ user=Everyone
Как шаг 3, я добавил его в брандмауэр.
netsh advfirewall firewall add rule name="IISExpressWeb" dir=in protocol=tcp localport=64376 profile=private,domain remoteip=localsubnet action=allow
Затем я получил эту ошибку при попытке снова запустить решение.
Решение: Я, кажется, все сделал правильно, но это не сработало, пока я не запустил netsh также для существующего правила localhost:
netsh http add urlacl url=http://localhost:64376/ user=Everyone
Теперь он снова работает.
Arjan
11 апр. 2017, в 14:55
Поделиться
Я закончил с очисткой файла проекта (csproj) и applicationhost.config(iis express) со всеми записями, касающимися конфигурации iis express. После этого он работал.
Sven Sönnichsen
08 июль 2014, в 11:42
Поделиться
После успешного выполнения ряда предложенных решений я просто перезагрузил свой компьютер. После этого проблема больше не возникала.
Dimitri C.
23 июль 2015, в 10:27
Поделиться
Я столкнулся с тем же сообщением об ошибке, но похоже, что оно было создано из IIS Express. Эта статья помогла мне решить ее
TL; DR
Выполните следующую команду из командной строки Administrative:
> netsh http add iplisten ipaddress=::
Micah
02 сен. 2016, в 22:24
Поделиться
Если у вас есть это после установки Visual Studio 2015, и вы можете видеть сообщения об ошибках в журнале системных событий, например: Unable to bind to the underlying transport for [::]:{your_port}. . The IP Listen-Only list may contain a reference ..., возможно, вам не хватает записи в реестре.
Запустите это в командной строке администратора: netsh http add iplisten ipaddress=::, чтобы исправить его.
Я нашел решение, описанное подробно здесь
Ignas Vyšnia
25 янв. 2016, в 17:07
Поделиться
После того, как все шаги, перечисленные здесь, не удались для меня, я начал работать, запустив VS2015 в качестве администратора.
maxmantz
29 апр. 2016, в 12:50
Поделиться
Это случилось со мной в Windows 10 и VS 2013.
По-видимому, существует максимальный номер порта IIS Express.
Порты выше 62546 не работают для меня.
Renato Chencinski
12 апр. 2016, в 17:21
Поделиться
Моя проблема оказалась в том, что у меня был SSL Enabled в настройках проекта. Я просто отключил это, потому что я не требовал SSL для локального запуска проекта.
В Visual Studio 2015:
- Выберите проект в обозревателе решений.
- В окне «Свойства» установлено значение «Разрешено SSL» для «Неверно».
- Мне удалось запустить проект.
В моей ситуации я получал сообщение об использовании порта 443, потому что это был порт, установленный на URL-адресе SSL для проекта.
Matt Stannett
20 март 2017, в 20:33
Поделиться
Ошибка может быть решена, если вы просто перезапустите Visual Studio. Он имеет тот же эффект, что и перезапуск процесса Microsoft.VisualStudio.Web.Host.exe * 32.
meJustAndrew
19 май 2016, в 17:22
Поделиться
Да, я согласен, лучшие ответы действительно про решения,
вот один для промежуточных,
Обозреватель решений
Щелкните правой кнопкой мыши на проекте и выберите » Выгрузить проект»
Снова щелкните правой кнопкой мыши и выберите Edit ProjectName.csproj.
удалить эти 3 строки
<DevelopmentServerPort>0</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost:62940/</IISUrl>
Сохраните и перезагрузите проект, и все готово
User6007962
25 янв. 2019, в 06:59
Поделиться
netstat -abn я заметил, что программное обеспечение «Duet Display» резервирует тысячи портов в диапазоне ~ 51000.
Закрытие это решило мою проблему.
Loris
12 июнь 2018, в 11:41
Поделиться
Я пишу это для информации.
Удалить файл в проекте.
После очистки > Сборкa > Начало Proje
Oğuzhan Sari
09 нояб. 2016, в 10:19
Поделиться
В Visual Studio 2015:
- Найдите свою стартовую страницу в своем проекте (например: mypage.aspx) и правильно
нажмите здесь. - Нажмите «Установить как стартовую страницу».
- Щелкните правой кнопкой мыши по проекту.
- Нажмите «Свойства».
- Нажмите вкладку «Веб» слева.
- В URL проекта введите другой порт, например: http://localhost:1234/
- В действии «Начало» выберите «Конкретная страница: mypage.aspx» или выберите «Конкретный URL: http://localhost:1234/mypage.aspx?myparam=xxx
live-love
11 окт. 2016, в 16:37
Поделиться
Это случилось со мной в Windows 7 и VS 2013 во время просмотра проекта в браузере после сборки. Мне только пришлось закрыть браузер «Chrome», а затем убедиться, что порт не используется в моих сетевых действиях с помощью некоторой утилиты (Kaspersky), а затем снова попытался и без проблем работал.
hsobhy
10 фев. 2016, в 14:44
Поделиться
В моем случае он работал сначала, а через некоторое время перестал работать, и IIS Express сообщил, что порт используется. netstat -ab показал, что Chrome использует порт. После того, как я ушел из Chrome, он снова начал работать.
Однако я не уверен, почему Chrome будет занимать этот порт.
Daniel Hilgarth
09 окт. 2015, в 17:16
Поделиться
Перейдите в проект «Свойства» = > «Веб», а в разделе «Серверы» измените порт на другое, которое не используется и сохранит его. Вам будет предложено создать виртуальный каталог и нажать «Да». Теперь запустите проект, и он будет работать сейчас.
Damitha
09 март 2015, в 03:31
Поделиться
У меня была эта проблема с JetBrains Rider, специально для портов 80 и 90 бит, он работал с другими портами, а также с Visual Studio.
после запуска от имени администратора это решило проблему.
workabyte
28 сен. 2018, в 22:01
Поделиться
Ничто из вышеперечисленного не помогло мне, но решение здесь https://forums.asp.net/t/1979442.aspx?Cannot+change+the+project+URL+in+project+properties сработало.
Открыв файл решения в блокноте, я нашел и заменил порт, вызвавший проблему, сохранил его и заново открыл решение в visual studio. В первый раз, когда я выбрал номер порта, который был только 1 от того, который вызывал мою проблему, я все еще получил ту же ошибку. Когда я перешел на другой порт, он заработал около 10 000 штук. Я не уверен, если это имеет значение.
user2721607
11 май 2018, в 23:22
Поделиться
В моем случае я установил параметр Переопределить корневой URL-адрес приложения на вкладке Properties → Web. Я использовал это ранее, когда я запускал VS в качестве администратора, но теперь, когда я запускаю его в учетной записи, отличной от admin, это вызывает ошибку.
Sean
01 дек. 2017, в 08:31
Поделиться
Я решил эту проблему, убив все экземпляры iexplorer и iexplorer * 32. Похоже, что Internet Explorer все еще находился в памяти, открывая порт, хотя окно приложения было закрыто.
k rey
13 июнь 2017, в 18:37
Поделиться
В VS2017. Мне пришлось отредактировать мой .sln файл и пришлось обновить параметр VWDPort = «5010. Ни одно из других решений, размещенных здесь, не работало.
Enkode
24 май 2017, в 07:49
Поделиться
Для меня эта проблема была полностью связана с нарушенной установкой инструментов Oracle ODP для VS. Я удалил и переустановил, и все снова работало.
Worthy7
17 июль 2016, в 11:53
Поделиться
Похоже, у всех есть свои проблемы
Просто поделившись тем, что я сделал, чтобы исправить эту проблему в VS2015 (Windows 8.1), мое решение имеет 6 веб-сайтов (а не веб-приложений).
- Откройте файл решения *.sln
- Изменение строки файла решения
VWDPort = «34781» (сделайте его уникальным в своем решении, если у вас больше
что 1 веб-сайт, я сделал +2) в блокноте.
См. пример файла решения ProjectSection (WebsiteProperties):
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "BOSTONBEANCOFFEE.COM", "Source_WebOfficeV4BOSTONBEANCOFFEE.COM", "{5106A8F5-401B-4907-981C-F37784DC4E9D}"
ProjectSection(WebsiteProperties) = preProject
SccProjectName = ""$/PrismRMSystem/VS2012/WebOfficeV4.root/WebOfficeV4", IPYHAAAA"
SccAuxPath = ""
SccLocalPath = "...."
SccProvider = "MSSCCI:Microsoft Visual SourceSafe"
TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0"
ProjectReferences = "{04e527c3-bac6-4082-9d39-aad8771b368e}|YBTools.dll;{5d52eaec-42fb-4313-83b8-69e2f55ebf14}|AuthorizeNet.dll;{d8408f53-8f1e-4a71-8b05-76023b09b716}|AuthorizeNet.Helpers.dll;{77ebd08a-de0f-4793-b436-fad6980863e6}|WEBCUSTCONTROLS.dll;"
Debug.AspNetCompiler.VirtualPath = "/BOSTONBEANCOFFEE.COM"
Debug.AspNetCompiler.PhysicalPath = "Source_WebOfficeV4BOSTONBEANCOFFEE.COM"
Debug.AspNetCompiler.TargetPath = "PrecompiledWebBOSTONBEANCOFFEE.COM"
Debug.AspNetCompiler.Updateable = "true"
Debug.AspNetCompiler.ForceOverwrite = "true"
Debug.AspNetCompiler.KeyFile = "KeyStrongKey.snk"
Debug.AspNetCompiler.DelaySign = "false"
Debug.AspNetCompiler.AllowPartiallyTrustedCallers = "false"
Debug.AspNetCompiler.FixedNames = "true"
Debug.AspNetCompiler.Debug = "True"
Release.AspNetCompiler.VirtualPath = "/BOSTONBEANCOFFEE.COM"
Release.AspNetCompiler.PhysicalPath = "Source_WebOfficeV4BOSTONBEANCOFFEE.COM"
Release.AspNetCompiler.TargetPath = "PrecompiledWebBOSTONBEANCOFFEE.COM"
Release.AspNetCompiler.Updateable = "true"
Release.AspNetCompiler.ForceOverwrite = "true"
Release.AspNetCompiler.KeyFile = "KeyStrongKey.snk"
Release.AspNetCompiler.DelaySign = "false"
Release.AspNetCompiler.AllowPartiallyTrustedCallers = "false"
Release.AspNetCompiler.FixedNames = "true"
Release.AspNetCompiler.Debug = "False"
VWDPort = "34781"
SlnRelativePath = "Source_WebOfficeV4BOSTONBEANCOFFEE.COM"
EndProjectSection
В моем случае я попытался изменить URL-адрес из свойств проекта, перезагрузить VS, перезагрузить компьютер, ничто не помогло мне, только эта обработка файлов SLN устранила мою проблему.
Eugene Bosikov
11 июль 2016, в 15:30
Поделиться
Иногда эта ошибка может быть другой версией Visual Studio, запущенной на той же машине.
Abdisamad Khalif
14 фев. 2015, в 15:42
Поделиться
Ещё вопросы
- 1Как я застрял в попытке включить JavaScript?
- 1ASP.NET MVC 5 Razor выбрасывает «Обнуляемый объект должен иметь значение», даже если объект имеет значение
- 1Библиотека карт Android выдает исключение NullPointerException при выполнении animateTo во время отображения диалога
- 0C ++ Я не могу использовать переменную Fstream для сохранения в файл
- 1Управление процессом: быть убитым или не быть убитым
- 1Конвертировать VB.NET Linq в C # Linq код
- 0Используйте разные размеры в мобильном проекте JQuery, data-icon
- 1Проблема таймеров Android
- 1Android создает RSA 1024 .NET-совместимые ключи
- 0Очень простой статический логин
- 0Конфигурация htaccess для поддоменов
- 1HttpRuntime.AppDomainAppPath в Azure
- 0Получить значение из тега выбора массива в php?
- 0Создание собственного эффекта аккордеона с предварительным просмотром текста
- 0SEO дружественный URL в php
- 1Android: невозможно щелкнуть нижний TextView после перевода анимации в FrameLayout
- 1Как читать и брать в среднем несколько файлов таблиц в пандах?
- 0CakePhp и jQuery не работают
- 0MySQL — ГДЕ x IN (столбец)
- 0Добавление значка следующего текстового поля
- 0Имеет ли значение, как вы подключаетесь к SQL внутри вашего PHP
- 0Коробка-тень выпадает за пределы контейнера
- 1Как работает Android ImageView android: scaleType = «fitXY» свойство?
- 0Как мне создать уникальный идентификатор, который не является инкрементным?
- 0Функция фильтра jQuery regexp
- 0искать ключевое слово из базы данных
- 0Как я могу создать директиву, которая сбрасывает значение в раскрывающемся списке?
- 0Преобразовать целое число из DB2 в дату с интервалом дня для вставки MySQL
- 0Начать урок в JS через 3 секунды
- 1Изменение имени пакета приводит к проблеме постоянных разрешений
- 1Метод в Vue запускается дважды по клику
- 1Python — h2o: как правильно указать типы столбцов?
- 0Отображение изображения в браузере
- 1Android ==> отключить многозадачность?
- 1Динамически добавлять ключи из содержимого массива
- 0Моя функция удаления в BST даже не работает
- 1Как установить ширину столбцов группы кендогрид
- 0AngularJS Предварительная настройка фильтра
- 0Символы не найдены для архитектуры armv7 при импорте файла cpp из примера проекта iOS
- 1javascript: самый короткий код для поиска ключа объекта, соответствующего шаблону
- 0htaccess перенаправить пользователя в свой профиль
- 0Путать со строкой обработки Arduino
- 1Текст ошибки не отображается для результата функции
- 1Использование Enterprise Architect для создания диаграммы последовательности для службы C # WCF
- 1Ошибка с моим генератором паролей грубой силы (Java)
- 0Как объединить все строки с одним и тем же именем в одну таблицу с помощью MYSQL?
- 0Как добавить Zend REST API на существующий сайт Concrete5?
- 0Как связать эти эффекты в JQuery? Очередь? Обещают?
- 1Ошибка атрибута: у объекта ‘Ball’ нет атрибута ‘x’
- 0OpenCV проект не компилируется