尝试从Visual Studio启动IIS Express时,我收到此错误,该项目配置为侦听localhost以外的地址.在给出错误"无法启动IIS Express Web服务器"之前,Visual Studio会冻结约30秒.
我已经尝试了所有解决类似问题的解决方案,我想我已经做好了一切.以下是我采取的步骤:
将以下预留添加到HTTP.SYS:
netsh http add urlacl url=http://+:36899/ user=Everyone
以管理员身份运行Visual Studio 2012(从技术上讲,我不认为自从我手动设置HTTP.SYS后就不应该这样做了).
禁用Windows防火墙.
删除我的"我的文档"文件夹中的IISExpress文件夹以确保默认设置.
允许Visual Studio在我的Web项目的applicationhost.config中创建条目.然后手动修改配置文件来改变localhost到192.168.0.100这是我的本地IP.然后返回到Visual Studio中的项目属性并将localhost更改为IP并保存项目,以便我的项目现在设置为http://192.168.0.100:36899.
我也尝试更改端口并重复上述步骤,因为某些原因导致端口正在使用.
我想让我的IIS Express开发人员实例可以通过Internet上的IP进行远程测试.
任何人请解释我在不同提到的IIS版本中的applicationhost.config文件位置.请提及每个iis版本中的确切位置.Apt答案将不胜感激.
我有一个经典的ASP应用程序,我试图在64位Windows上的IIS Express下运行.它使用Jet连接到Microsoft Access数据库,并且不能在64位下工作.
我为ASP应用程序创建了以下应用程序池,但似乎忽略了该enable32BitAppOnWin64属性,并且该进程仍为64位.
<applicationPools>
<add name="UnmanagedClassicAppPool32" managedRuntimeVersion="" managedPipelineMode="Classic" autoStart="true" enable32BitAppOnWin64="true" />
</applicationPools>
Run Code Online (Sandbox Code Playgroud)
如何在IIS Express中将此应用程序池作为32位进程运行?
是否可以在同一域中的ngrok中打开多个端口?
就像是:
Fowarding http://example.ngrok.com:50001 - > 127.0.0.1:50001
Fowarding http://example.ngrok.com:50002 - > 127.0.0.1:50002
我在windows中工作,它对于debuging很有用 IIS Express
问题
如果您开始使用" Microsoft Visual Studio(VS) "中的" Microsoft Internet Information Services Express(IIS) ",您可能会在运行时获得生成此错误消息
Unable to connect to the configured development Web server.
Failed to register URL "http://{ip_addr}:{port}/" for site "{project_name}" application "/". Error description: Access is denied. (0x80070005)
它有什么样的权利?
我安装了MS Visual Web Developer 2010,其中包括iisexpress.
在此之前,我已经为我的php应用程序安装了xampp服务器.
我想知道为了能够启动xampp我怎么能阻止iis?它们似乎使用相同的端口.我想这些可以改变,但我不想干涉其他程序,而且我认为这应该更简单.
谢谢!
有时在使用IISExpress在VS2012中运行我的MVC4站点时,我收到以下错误并且IISExpress停止:
iisexpress.exe: Managed (v4.0.30319)' has exited with code -1073741816 (0xc0000008) 'An invalid handle was specified
Run Code Online (Sandbox Code Playgroud)
事件日志中没有任何内容,我无法在interweb上找到任何内容.
我有一些非常含糊的理论:
哦,我在使用VS Dev Web服务器时也遇到了同样的错误.我还没试过完整的IIS.
别人都有线索?
谢谢
更新:
我修了几个nuget参考文献,似乎有点稳定,然后今天早上又发生了.VS输出窗口显示:
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Mobile\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\peter.jones\AppData\Local\Temp\Temporary ASP.NET Files\root\a4aa93f7\dfa23a50\App_Web_rpzlbjhw.dll', Symbols loaded.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\peter.jones\AppData\Local\Temp\Temporary ASP.NET Files\root\a4aa93f7\dfa23a50\App_Web_c1rjct4s.dll', Symbols loaded.
The program '[11072] iisexpress.exe: Managed (v4.0.30319)' has exited with code -1073741816 (0xc0000008) 'An invalid handle was …Run Code Online (Sandbox Code Playgroud) 我有一个使用Visual Studio 2010构建的站点.当我升级到Visual Studio 2013时,在某些页面上我会收到一条错误消息:
无法添加"mimeMap"类型的重复集合条目,并将唯一键属性"fileExtension"设置为".mp4".
经过一番搜索,我在博客上发现了一个有用的帖子,但由于问题有点不同而且我没有在stackoverflow上找到它,我想我会在这里发布问题和答案.
iis-7 visual-studio-2010 iis-express iis-8 visual-studio-2013
如何强制IIS Express以经典模式运行?我需要这个配置保留.csproj,一旦这个文件说明一个项目应该用IIS Express打开.
我正在使用IISExpress8运行Windows Server 2008 R2(x64)并导航到
c:\Program Files (x86)\IIS Express>iisexpress.exe
Run Code Online (Sandbox Code Playgroud)
它说:
文件名:redirection.config
错误:无法读取配置文件
任何想法从哪里开始?我找不到任何东西......