IISExpress将日志和配置数据写入预先确定的开箱即用位置.
该目录是存储在用户的Documents目录中的"IISExpress"目录.
在目录中存储下面的以下文件夹文件.
我的主目录的位置在网络共享上,由组策略决定
目前,我们遇到使用IIS Express停止调试Silverlight应用程序时visual studio锁定的情况.
我希望更改IISExpress的日志和配置数据的位置,看看这是否解决了visual studio锁定的问题.是否可以更改日志和配置文件的默认位置?
我想在从Visual Studio调试时更改运行我的网站的端口号.我正在使用Visual Studio 2012,我正在使用ASP.NET MVC 4来完成我想要更改端口的项目.随机端口或固定任何人只会想要更改端口.
这是在Windows Server 2008上运行的,几个月前就可以运行了.我刚刚再次使用这个服务器与VS一起开发.
这是用于提供一些测试站点的实时Web服务器.
这在运行Visual Studio时启动,然后启动我的项目以进行调试.
尝试localhost:xxxx在IISExpress 启动时启动任何站点(使用配置中的实际端口#来访问不同的站点):
This webpage is not available
ERR_CONNECTION_REFUSED
Run Code Online (Sandbox Code Playgroud)
我已经在这几天了,因为我已经读过其他人有过类似的问题,尝试过我读过的大部分内容,包括将managedruntimeversion.v4.0 更改为"v4.0.30319".我从来没有必须在此之前执行此操作)并禁用日志记录模块(此处的所有建议).
我的hosts文件中只有两个条目指向内部服务器IP地址.没有localhost相关的IP或参考.
我已经完成了重新安装IIS Express和Visual Studio 2013.我还创建了一个全新的WebApplication站点来尝试解决这个问题(简单而没有其他复杂的绑定).
当我旋转Fiddler时,我在页面上看到以下内容:
[Fiddler] The socket connection to localhost failed.
ErrorCode: 10061.
No connection could be made because the target machine actively refused it 127.0.0.1:23162
Run Code Online (Sandbox Code Playgroud)
我已经从IE的LAN连接部分删除了所有代理设置,之前我在VS中获得了一个red-x弹出窗口,表明IISExpress无法启动.
这不是SSL与非SSL的问题.
我安装了TFS服务器 - 卸载了,以防有一些奇怪的绑定干扰.
我尝试多次删除IISExpress配置/设置文件夹.
当前的applicationhost.config包含:
<site name="WebApplication1" id="4">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="C:\TFS-WorkRepository\Sandbox\WebApplication1\WebApplication1" …Run Code Online (Sandbox Code Playgroud) 我有一个使用IIS的ASP.NET项目.IIS站点配置为使用自定义绑定主机名.项目文件包含以下设置:
...
<UseIISExpress>false</UseIISExpress>
...
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<UseIIS>True</UseIIS>
<AutoAssignPort>False</AutoAssignPort>
<DevelopmentServerPort>8662</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://custom.host.name/</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl></CustomServerUrl>
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
</WebProjectProperties>
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
...
Run Code Online (Sandbox Code Playgroud)
当以这种方式配置项目时,我可以从中访问该站点,http://custom.host.name/并且在调试时VS会自动附加到IIS工作进程.
当我重新加载项目时(通过关闭/重新打开解决方案或通过在项目上下文菜单中卸载/重新加载),会发生意外情况.项目无法加载,(load failed)显示在解决方案资源管理器中项目名称的右侧,并显示消息框,并显示以下消息(它也显示在"输出"窗口中):
The URL 'http://custom.host.name/' for Web project 'Some.Asp.Net.Project'
is configured to use IIS Express as the web server but the URL is currently
configured on the local IIS web server. To open this project, you must use
IIS Manager to remove the bindings using this URL from the local IIS web …Run Code Online (Sandbox Code Playgroud) 我正在尝试将IIS Express与Visual Studio 2010 SP1一起使用.
我正在学习本教程.当我运行此命令.
netsh http add urlacl url=https://Melnibone:443/ user=everyone
Run Code Online (Sandbox Code Playgroud)
我收到这条消息:
Create SDDL failed, Error: 1332
Run Code Online (Sandbox Code Playgroud)
发生了什么?
我无法解决这个问题

我建议我必须更改c:\Windows\System32\drivers\etc\hosts文件并添加
# localhost name resolution is handled within DNS itself.
Run Code Online (Sandbox Code Playgroud)
下一行:
127.0.0.1 mysite.dev
Run Code Online (Sandbox Code Playgroud)
但它没有帮助.有什么建议?
当我尝试在Microsoft Visual Studio 2012中打开网站项目时出现错误.
我有一个在VS2012中开发的测试ASP.NET MVC3应用程序.当我开始调试时,通过请求从主机访问应用程序http://localhost:<portnumber>.但是,如果我试图通过从远程计算机访问企业内网中相同的应用程序http://<ip>:<portnumber>,我得到HTTP error 400: Bad request. Invalid Host Name.至于它运行在IIS发表任何服务器配置无法访问.
有什么方法可以解决这个问题吗?
asp.net asp.net-mvc visual-studio-debugging iis-express visual-studio-2012
我刚刚下载并安装了IIS express,从命令行运行它一切正常:
但是我如何为它配置选项,是否有像IIS管理器一样的独立Windows界面,或者你是否已经在配置文件中手动完成所有操作?或者你必须安装webmatrix来配置它吗?
我试图通过visual studio运行我的Web服务.我遇到了一个问题:
---------------------------
Microsoft Visual Studio
---------------------------
Unable to launch the IIS Express Web server.
Failed to register URL "http://localhost:63591/" for site "xxxxxx" application
"/". Error description: The process cannot access the file because it is being
used by another process. (0x80070020)
---------------------------
OK
---------------------------
Run Code Online (Sandbox Code Playgroud)
我看到了任务管理器,发现系统使用了PID 4,其描述是,NT Kernel & System.
所以我试图阻止它http service.所有依赖服务都已停止 但我在停止http服务方面遇到了一个问题
The service is starting or stopping. Please try again later.
Run Code Online (Sandbox Code Playgroud)
所以,我试图手动停止并启动服务.但是结束进程被禁用.如果有人可以帮助解决这个问题,将会很有帮助