IIS上发布的网站,时常掉线,里面有日志

吾非大神 2012-11-13 07:04:42
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="ASP.NET 4.0.30319.0" />
<EventID Qualifiers="32768">1309</EventID>
<Level>3</Level>
<Task>3</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2012-11-13T07:49:06.000Z" />
<EventRecordID>2702</EventRecordID>
<Channel>Application</Channel>
<Computer>WIN-3F59KPGV6AC</Computer>
<Security />
</System>
- <EventData>
<Data>3005</Data>
<Data>An unhandled exception has occurred.</Data>
<Data>11/13/2012 3:49:06 PM</Data>
<Data>11/13/2012 7:49:06 AM</Data>
<Data>d300232b0888422c9450fa7d821d1fd4</Data>
<Data>433</Data>
<Data>27</Data>
<Data>0</Data>
<Data>/LM/W3SVC/2/ROOT-4-129972633425613138</Data>
<Data>Full</Data>
<Data>/</Data>
<Data>D:\CE\</Data>
<Data>WIN-3F59KPGV6AC</Data>
<Data />
<Data>37624</Data>
<Data>w3wp.exe</Data>
<Data>NT AUTHORITY\NETWORK SERVICE</Data>
<Data>HttpUnhandledException</Data>
<Data>Exception of type 'System.Web.HttpUnhandledException' was thrown. at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.Mvc.ViewPage.ProcessRequest(HttpContext context) at ASP.views_shared_error_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0cee1efb\e1ac126f\App_Web_ljttlc2y.0.cs:line 0 at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.<>c__DisplayClass1.<ProcessRequest>b__0() at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.<>c__DisplayClass4.<Wrap>b__3() at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.Wrap[TResult](Func`1 func) at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.Wrap(Action action) at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.ProcessRequest(HttpContext context) at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) Cannot find ContentPlaceHolder 'TitleContent' in the master page '/Views/Shared/Site.Master', verify content control's ContentPlaceHolderID attribute in the content page. at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) at System.Web.UI.Page.get_Master() at System.Web.UI.Page.ApplyMasterPage() at System.Web.UI.Page.PerformPreInit() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)</Data>
<Data>http://114.113.225.176:8080/Claim/ExpertiseCheckSaveAndSendEmail/?rand=1352792974360</Data>
<Data>/Claim/ExpertiseCheckSaveAndSendEmail/</Data>
<Data>125.34.215.215</Data>
<Data />
<Data>False</Data>
<Data />
<Data>NT AUTHORITY\NETWORK SERVICE</Data>
<Data>11</Data>
<Data>NT AUTHORITY\NETWORK SERVICE</Data>
<Data>False</Data>
<Data>at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.Mvc.ViewPage.ProcessRequest(HttpContext context) at ASP.views_shared_error_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0cee1efb\e1ac126f\App_Web_ljttlc2y.0.cs:line 0 at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.<>c__DisplayClass1.<ProcessRequest>b__0() at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.<>c__DisplayClass4.<Wrap>b__3() at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.Wrap[TResult](Func`1 func) at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.Wrap(Action action) at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.ProcessRequest(HttpContext context) at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)</Data>
</EventData>
</Event>

这是日志信息,看不太懂,希望各位能帮忙给找下原因
...全文
378 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
xiaosima2017 2012-11-17
  • 打赏
  • 举报
回复
把服务器上杀一下毒,然后在后台做一个日志记录记录访问的IP日志。
吾非大神 2012-11-17
  • 打赏
  • 举报
回复
应该是 使用的 sqlconnection 未正确或及时关闭所致 现在正在测试是不是这个问题。。
hujiiori 2012-11-14
  • 打赏
  • 举报
回复
你日志里不是写了么,先解决这个问题再看 IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) Cannot find ContentPlaceHolder 'TitleContent' in the master page '/Views/Shared/Site.Master', verify content control's ContentPlaceHolderID attribute in the content page. at System.Web.UI.MasterPage.CreateMaster
叫我三三 2012-11-14
  • 打赏
  • 举报
回复
你说的发布的网站自动重启了吧, 导致网站重启的原因,你向系统文件夹里写入文件。如App_Data文件夹等。 修改了web.config文件。 发生了未捕获的错误。 我也遇到过,写的一个日志记录dll在bin里,记录的日志它自动保存在同个目录里, 找出bin目录里的文件发生变化,结果就是网站不停的重启。后来改变记录日志文件的位置就好了
吾非大神 2012-11-14
  • 打赏
  • 举报
回复
引用 3 楼 slyzly 的回复:
可能是服务器浏览量大,造成session丢失吧,修改web.config,在 <system.web>下新增 <!--启用独立进程管理session,防止session丢失--> <sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" cookieless="fals……
只是公司内部使用的一个web系统,不存在浏览量大的问题。
XBodhi. 2012-11-14
  • 打赏
  • 举报
回复
引用 7 楼 hujiiori 的回复:
你日志里不是写了么,先解决这个问题再看 IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, Stri……
zyn8823533zyn 2012-11-14
  • 打赏
  • 举报
回复
kxloveh 2012-11-13
  • 打赏
  • 举报
回复
学习,留着以后用得着
事理 2012-11-13
  • 打赏
  • 举报
回复
可能是服务器浏览量大,造成session丢失吧,修改web.config,在 <system.web>下新增 <!--启用独立进程管理session,防止session丢失--> <sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" cookieless="false" timeout="20"/> 在服务器-控制面板-服务中开启ASP.NET State Service或asp.net状态服务,设置自启动。
吾非大神 2012-11-13
  • 打赏
  • 举报
回复
掉线 就是忽然 不能访问了 过一会它自己又好了。。
烈火蜓蜻 2012-11-13
  • 打赏
  • 举报
回复
你说的掉线是什么意思,你这日志,估计是没有人帮你看的
说明 这个只是模版 1.只适合用于winwebmail3.8.1.3和3.8.1.5。如果您还需要更旧版本的可以上网站留言给我们。或者直接升级吧,新版本的Winwebmail比以前功能强大很多。一般3.5以后的版本都可以通过简单几步完成升级。 2.因为WEB系统文件很多重新写过,安装前建议完全删除原Winwebmail安装目录下的web目录下所有文件。避免有重复无用的文件存在。 3.易企邮2011beta版系统,已经能在系统后台管理开启和关闭自动完成域名功能。具体方法为:使用管理员登录,在“系统设置”——“资源使用设置”——“公开申请的是含域名帐号”,勾选了,则登录界面自动完成域名,不勾选则不自动完成域名。修改过程可能需要重新启动IIS。 如果您以前能正常登录,使用模板后才出现登录出现密码错误。可以尝试修改自动完成域名功能解决。 4.为邮箱用户指定默认皮肤请修改:index.asp文件,具体方法为: 找到:Skin_id=core_17mail.Initskin(5) 修改括号内参数,数值可选择为1-18,21-23 5.Beta版系统没有经过大量的使用测试。只是简单的单机测试。生产环境中应该会发现更多问题。 ? 功能特性: 1. 全面减少服务器计算,页面交互功能计算无须依赖网络,全部在客户端计算完成。 2. 极速预加载,帐户核验,密码加密传输,帐号保存,服务状态验证等全部改写为更高效的js脚本 3. 页面随机切换主题,更加灵活生动。不再乏味。 4. 告别“连接超时,请重试”时代。登录页面不在依赖于邮箱服务。 5. 智能判断故障,在线故障申告,自动重连系统。 6. 内页全面简化结构,大方高效,更适合商业用户。代码开源更利于二次修改。 7. 对以往诸不方便的管理功能进行了强化。如,反垃圾策略,邮局日志功能等。 8. 对邮箱功能进行了扩展。如:通过强化上传组件实现了G级附件的上传,及引用。可先发后传等。 9. 自动锁屏,永不线,新邮件到达提醒等。

110,545

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧