我在Windows 2008上有IIS 7的网站,当我尝试访问“页面”(正确绑定到web.config中的命名空间)时出现错误:“所需的页面无法访问,因为页面的相关configuration数据是无效的”。
非常重要的是,在Windows 7上我有这个工作。
可能是因为我在pipe理窗口中看不到ASP.NET区域? 如果是,可以哟告诉我如何在Windows 7上的IIS 7上安装ASP.NET?
感谢您的提前。
你是对的。 .ashx是在Web服务器angular色服务中selectASP.NET时安装的HandlerFactory的一部分。
在Windows 7和Windows Server 2008中启用ASP.NET
在Windows 7中,您可以从Control Panel
– > Programs
– > Programs and Features
– > Turn Windows features on or off
启用ASP.NET。 展开Internet Information Services
– > World Wide Web Services
– > Application Development Features
,然后单击ASP.NET
。
在Windows Server 2008中,打开Server Manager
– >单击Roles
– >单击Add Roles
– >在angular色服务中selectWeb Server (IIS)
– >单击ASP.NET
将会提示必要的相关angular色服务click Add Required Role Services
。