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

推荐订阅源

W
WeLiveSecurity
The GitHub Blog
The GitHub Blog
Engineering at Meta
Engineering at Meta
Microsoft Azure Blog
Microsoft Azure Blog
The Register - Security
The Register - Security
Stack Overflow Blog
Stack Overflow Blog
博客园 - 三生石上(FineUI控件)
T
Threat Research - Cisco Blogs
S
SegmentFault 最新的问题
V2EX - 技术
V2EX - 技术
Hacker News: Ask HN
Hacker News: Ask HN
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
P
Proofpoint News Feed
J
Java Code Geeks
Microsoft Security Blog
Microsoft Security Blog
M
MIT News - Artificial intelligence
AI
AI
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
P
Proofpoint News Feed
Hacker News - Newest:
Hacker News - Newest: "LLM"
B
Blog
N
News and Events Feed by Topic
N
News | PayPal Newsroom
Google DeepMind News
Google DeepMind News
酷 壳 – CoolShell
酷 壳 – CoolShell
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
WordPress大学
WordPress大学
C
Cybersecurity and Infrastructure Security Agency CISA
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 【当耐特】
U
Unit 42
腾讯CDC
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The Cloudflare Blog
H
Help Net Security
Recent Announcements
Recent Announcements
P
Privacy & Cybersecurity Law Blog
IT之家
IT之家
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Security Archives - TechRepublic
Security Archives - TechRepublic
L
LINUX DO - 热门话题
Martin Fowler
Martin Fowler
MongoDB | Blog
MongoDB | Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
H
Heimdal Security Blog
博客园 - 聂微东
S
Securelist
大猫的无限游戏
大猫的无限游戏
Cloudbric
Cloudbric
Cisco Talos Blog
Cisco Talos Blog

博客园 - 哪热

虚拟机安装 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 应用程序和服务已经锁定。