无法创建Web项目"WebApplication1
来源:互联网 发布:淘宝客拍a发b 编辑:程序博客网 时间:2024/05/16 08:44
1. Launch the Internet Information Services MMC.
2. Right click on your web site and click properties.
3. In the 'HTTP Headers' tab click 'MIME Types...' button.
4. Add a new MIME type by clicking 'New...' button.
5. In the 'Extension' edit control type (without the quotes) '.tmp'.
6. In the 'MIME type' edit control type (without the quotes) 'temp'.
Or run the following command at command prompt:
%systemdrive%/inetpub/adminscripts/adsutil.vbs set w3svc/1/root/MimeMap .tmp,temp
The above command changes the MIME type for the default web site. For information on changing the MIME types of non-default web sites please refer to "REFERENCES" section.
The above steps will allow .tmp files to be served up by IIS. On a development machine where web project are created this is usually not a security concern.
However if you have .tmp which contain sensitive data which you do not want exposed, you will have to reverse the above 6 steps.
If the mime entry for .tmp file is deleted after creating the project you will receive a http 404 error when you try to reopen the project. So you will haveadd .tmp mime type before you open the project and remove it after opening the project.
- 无法创建Web项目"WebApplication1
- 尝试创建Web项目或打开位于URL“http ://localhost/WebApplication1”的Web 项目 (ZZ)
- 尝试创建Web项目或打开位于URL“http ://localhost/WebApplication1”的Web 项目
- 尝试创建 Web 项目或打开位于 URL“http://localhost/WebApplication1”的 Web 项目时,Web 服务器报告了以下错误。“服务器返回信息不可识别”。
- myeclipse 无法创建web项目
- 新建asp.net web应用程序出现这样的错误,"尝试创建Web项目或打开位于URL"http://localhost/WebApplication1"的Web项目时,Web服务器服告了以下错误."http/1.1 500 Server Error""
- 错误: 无法生成项目输出组“内容文件来自WebApplication1(活动)”
- 安装和部署错误: 无法生成项目输出组“内容文件来自WebApplication1(活动)”
- 无法创建Web Application项目的问题
- 关于无法创建aps.web项目的解决办法
- 关于无法创建aps.web项目的解决办法
- 关于无法创建aspx.web项目的解决办法
- 关于无法创建aps.web项目的解决办法
- 无法在 Windows Server 2003 上创建 Web 项目
- 关于无法创建aps.web项目的解决办法
- 关于无法创建aps.web项目的解决办法
- 关于无法创建aps.web项目的解决办法
- 创建控件时出错,无法找到web项目项
- 在UserControl中调用所在页面的ViewState
- 在asp.net中计算叶面执行所耗时间
- 在域控制器中使用默认ASPNET 帐户时ASP.NET 不能正常运行
- 委托(Delegate)
- 如何设置服务器的镜像磁盘
- 无法创建Web项目"WebApplication1
- Delphi中取某整数的某位的位状态的小函数
- ASP.net如何访问域用户信息
- 无法在web服务器上启动调试
- JSP数据库连接大全
- 将数据库压缩同时设置密码
- Word中画表格
- oracle中的共享服务器和专用服务器
- 今天开通了Blog。