惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Docker
爱范儿
爱范儿
T
The Exploit Database - CXSecurity.com
量子位
T
Tailwind CSS Blog
T
Threatpost
The GitHub Blog
The GitHub Blog
AWS News Blog
AWS News Blog
云风的 BLOG
云风的 BLOG
K
Kaspersky official blog
P
Proofpoint News Feed
博客园 - 司徒正美
L
LangChain Blog
T
Threat Research - Cisco Blogs
C
CERT Recently Published Vulnerability Notes
罗磊的独立博客
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 叶小钗
S
Secure Thoughts
The Last Watchdog
The Last Watchdog
Spread Privacy
Spread Privacy
H
Hacker News: Front Page
T
Troy Hunt's Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Google DeepMind News
Google DeepMind News
W
WeLiveSecurity
A
Arctic Wolf
Apple Machine Learning Research
Apple Machine Learning Research
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
P
Proofpoint News Feed
T
Tor Project blog
T
The Blog of Author Tim Ferriss
I
Intezer
P
Privacy & Cybersecurity Law Blog
美团技术团队
N
Netflix TechBlog - Medium
博客园_首页
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Vulnerabilities – Threatpost
Application and Cybersecurity Blog
Application and Cybersecurity Blog
G
Google Developers Blog
Attack and Defense Labs
Attack and Defense Labs
T
Tenable Blog
月光博客
月光博客
Stack Overflow Blog
Stack Overflow Blog
J
Java Code Geeks
腾讯CDC
Microsoft Security Blog
Microsoft Security Blog
A
About on SuperTechFans
Last Week in AI
Last Week in AI

博客园 - 哪热

虚拟机安装 VMware7.0 + ubuntu10.10 转载:Oracle学习:数据库规划 CHM 不能打开的问题 VS2005水晶报表在时部署时遇到的问题 如何设置开机自启动 解决先装VS再装IIS的出错 笔记本电脑如何来拷屏? oracle 不能更新 PL/SQL 点击“edit data”报“ these query results are not updateable” 封装一个访问Oracle数据库的类 从本地拖资源到远程桌面上如何设置 在Visual Studio 2005中进行Javascript的调试 .Net 点击实现验证码的刷新(转载) 如何获取服务器的IP 如何在aspx文件中调用关联的cs文件中的属性 转载:VS2008转VS2005 斐波那契(Fibonacci)数列 素数 URL的传递字符串问题小研究(续) GridView数据更新问题
Visual Studio .NET 无法创建应用程序 。问题很可能是因为本地 Web 服务器上没有安装所需的组件 ----转载
哪热 · 2009-02-23 · via 博客园 - 哪热

 今天遇到了这个问题,找了些资料,后来根据第4点解决了问题,转载在这里,共有用的人。

为 Web 开发重新配置计算机

注意   以下所有步骤都是在 Web 服务器计算机上发生的。
1.  确认已安装 IIS。方法之一是打开“控制面板”,然后选择“Internet 服务管理器”。如果已安装 IIS,您将能够使用此实用工具停止和启动它。
如果未安装 IIS,则在 Windows“控制面板”上,选择“添加或删除程序”,然后选择“添加/删除 Windows 组件”。在列表中,选择“Internet 信息服务 (IIS)”并继续安装。有关详细信息,请参见 Windows 帮助。

安全说明   在安装 IIS 时,强烈建议您确保 Web 服务器计算机的安全。有关详细信息,请参见属于安装文档的文件 WebServer.htm。该文件在安装 CD 上的位置为 Disk1"Setup"WebServer.htm。安装 Visual Studio 后,在硬盘的 %install%"CSetupMM"WebServer.htm 处也可找到该文件。
2.  安装或重新安装 .NET Framework。运行 Visual Studio.NET 安装并选择选项 1“Windows 组件更新”。
注意   如果您确定在 Web 服务器计算机上安装了 .NET Framework 的当前版本,则可以跳过此步骤。
3.  打开 Windows 的“运行”窗口,然后键入以下内容以启用 ASP.NET:
aspnet_regiis.exe /i
提示   您可以从命令的正确目录中直接打开该命令窗口。从 Windows 的“开始”菜单,指向“程序”、“Visual Studio .NET 2003”、“Visual Studio .NET 工具”,然后选择“Visual Studio .NET 命令提示”。在窗口打开后,键入 aspnet_regiis /i。
4.  安装 Visual Studio .NET 服务器组件。
  a.再次运行 Visual Studio .NET 安装,并选择选项 2“Visual Studio .NET”。
提示   可以从“控制面板”运行该安装,方法是:选择“添加或删除程序”,选择“Microsoft Visual Studio .NET”(具体名称会根据所安装的版本和语言而稍有不同),然后单击“更改/删除”。
  b.选择“添加或删除功能”。
  c.打开“服务器组件”节点并选中“Web 开发”。
  d.单击“立即更新!”
5.  对 IIS 执行安全锁定,但随后启用 ASP.NET。
如果您使用的是在 Windows 2000 或 Windows XP 上运行的 IIS 5.0,可以使用 IIS 锁定工具(版本 2.1)。

在 Windows Server 2003 中,您可以在 IIS 管理器中设置应用程序的安全级别。有关使用 IIS 管理器和取消 ASP.NET 应用程序锁定的详细信息,请参见主题 Visual Studio .NET 检测到 IIS 中的 ASP.NET 应用程序和服务已经锁定。