12 2011 档案
摘要:1、HTTP 错误 404.17 - Not Found请求的内容似乎是脚本,因而将无法由静态文件处理程序来处理。原因:错误信息提示你请求的ASP.NET页面被映射到静态文件模块处理程序,最有可能造成这种情况的原因是ASP.NET处理模块没有安装处理对策:重新在iis里注册net C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i 2、HTTP 错误 404.2 - Not Found. 由于 Web 服务器上的“ISAPI 和 CGI 限制”列表设置,无法提供您请求的页面.原因:HTTP 错误 404.2 -
阅读全文
摘要:1、CookieModule的实现using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Security;namespace HttpModule{ public class CookieModule : IHttpModule { public CookieModule() { // // TODO: Add constructor logic here ...
阅读全文
摘要:参考ASP.NET 页生命周期概述:http://msdn.microsoft.com/zh-cn/library/ms178473%28VS.80%29.aspxASP.NET 应用程序生命周期概述:http://msdn.microsoft.com/zh-cn/library/ms178472%28VS.80%29.aspx
阅读全文