Windows 7和Windows 8上的IIS问题! [英] Problem with IIS on windows 7 and windows 8!

查看:65
本文介绍了Windows 7和Windows 8上的IIS问题!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两台不同的计算机,分别装有Windows 7和Windows 8,这是我的问题:

+第一个问题:带有IIS 7.5的Windows 7

 -我已经安装了IIS 7.5,并且运行良好.但是,当我永久删除 C:\ inetpub 中的 inetpub文件夹时,访问"http://localhost"时会出现错误.在Chrome浏览器中,它表示配置文件不 找到了C:\ inetpub \ wwwroot \ web.config"

+第二个问题:带有IIS 8.0的Windows 8

-我已经在Windows 8 Professional Edition上完成安装,并且当我访问  http://localhost 时,浏览器会向我显示一个空白的空白页面(它是白色的页).

+第三个问题:Visual Studio 2010,项目WCF服务应用程序

-当我更改项目属性时,此项目在Windows 7上运行完美-> Web->服务器->使用本地IIS Web服务器->项目URL:" HTTP://localhost/ReverseGeoCode "

-但是,当我删除 C:\ inetpub 中的inetpub文件夹时,它说无法创建虚拟目录".或" URL' h ttp://localhost/'已映射到其他文件夹位置

-有人可以帮我解决这些问题吗?

-感谢您的查看和帮助:D

解决方案

这不是询问W7/W8问题的论坛.但是:

1)这是正常的,IIS使用c:\​​ inetput一个基本"文件夹,并且某些设置存储在c:\ inetput \ wwwroot \ web.config文件中.由于您删除了该文件,因此IIS无法正常工作.尝试重新安装IIS7.5

2)您是否创建了应显示的任何内容?

3)参见1


I have two diffrents computers with windows 7 and windows 8 and here is my problems:

+First problems: Windows 7 with IIS 7.5

 - I already installed IIS 7.5 and it just works perfect. But when i permananly delete inetpub folder in C:\inetpub, there is a errors when access "http://localhost" in chrome, it said "configuration file not found C:\inetpub\wwwroot\web.config"

+Second problem: Windows 8 with IIS 8.0

-I have finished install on my Windows 8 Professional Edition, and when i access http://localhost, the browser show me a empty page with nothing on it (it is a white page).

+Third problem: Visual Studio 2010, project WCF service application

-This project works perfect on my windows 7 when i change the Project Property -> Web->Servers->Use Local IIS Web Server->Project URL: "HTTP://localhost/ReverseGeoCode"

-But when i delete inetpub folder in C:\inetpub, it said that "Unnable to create virtual directory HTTP://localhost/ReverseGeoCode" or "The URL 'http://localhost/' is already mapped to a different folder location"

- Can someone please help me solve these problems?

-Thanks for view and help me :D

解决方案

This is not the forum for asking W7 / W8 question. But:

1) This is normal, IIS uses the c:\inetput a "base" folder, and some settings are stored in the c:\inetput\wwwroot\web.config file. Since you deleted that file, IIS can't work normal. Try reinstalling IIS7.5

2) Have you created any content that should be displayed?

3) See 1


这篇关于Windows 7和Windows 8上的IIS问题!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆