Event code: 3005 Event message: ハンドルされていない例外が発生しました。 Event time: 2017/10/18 10:54:35 Event time (UTC): 2017/10/18 1:54:35 Event ID: 8fd9c0557f114ba9a319136e4feed3dc Event sequence: 30 Event occurrence: 3 Event detail code: 0 Application information: Application domain: /LM/W3SVC/3/ROOT/toiawa-5-131527646223016368 Trust level: Full Application Virtual Path: /toiawa Application Path: C:\inetpub.543\wwwroot\toiawa\ Machine name: DD7 Process information: Process ID: 10024 Process name: w3wp.exe Account name: IIS APPPOOL\.NET v4.5 Exception information: Exception type: InvalidOperationException Exception message: WebForms UnobtrusiveValidationMode には、'jquery' の ScriptResourceMapping が必要です。jquery (大文字と小文字が区別されます) という名前の ScriptResourceMapping を追加してください。 場所 System.Web.UI.ClientScriptManager.EnsureJqueryRegistered() 場所 System.Web.UI.WebControls.BaseValidator.RegisterUnobtrusiveScript() 場所 System.Web.UI.WebControls.BaseValidator.OnPreRender(EventArgs e) 場所 System.Web.UI.Control.PreRenderRecursiveInternal() 場所 System.Web.UI.Control.PreRenderRecursiveInternal() 場所 System.Web.UI.Control.PreRenderRecursiveInternal() 場所 System.Web.UI.Control.PreRenderRecursiveInternal() 場所 System.Web.UI.Control.PreRenderRecursiveInternal() 場所 System.Web.UI.Control.PreRenderRecursiveInternal() 場所 System.Web.UI.Control.PreRenderRecursiveInternal() 場所 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Request information: Request URL: http://192.168.2.181:543/toiawa/Edit.aspx Request path: /toiawa/Edit.aspx User host address: 192.168.2.111 User: Is authenticated: False Authentication Type: Thread account name: IIS APPPOOL\.NET v4.5 Thread information: Thread ID: 45 Thread account name: IIS APPPOOL\.NET v4.5 Is impersonating: False Stack trace: 場所 System.Web.UI.ClientScriptManager.EnsureJqueryRegistered() 場所 System.Web.UI.WebControls.BaseValidator.RegisterUnobtrusiveScript() 場所 System.Web.UI.WebControls.BaseValidator.OnPreRender(EventArgs e) 場所 System.Web.UI.Control.PreRenderRecursiveInternal() 場所 System.Web.UI.Control.PreRenderRecursiveInternal() 場所 System.Web.UI.Control.PreRenderRecursiveInternal() 場所 System.Web.UI.Control.PreRenderRecursiveInternal() 場所 System.Web.UI.Control.PreRenderRecursiveInternal() 場所 System.Web.UI.Control.PreRenderRecursiveInternal() 場所 System.Web.UI.Control.PreRenderRecursiveInternal() 場所 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Custom event details:
対策:
修正方法
https://www.ipentec.com/document/document.aspx?page=asp-net-error-required-jquery-script-resource-mapping
回避策
http://zero-config.com/dotnet/aspnet_0001.html
0 件のコメント:
コメントを投稿