我在生产箱中遇到一些错误,我们没有在本地测试中得到这些错误。我们没有在整个弹出窗口中使用任何模态对话popuup或者没有任何窗口消息弹出窗口。这是因为任何response.redirect造成的吗?这是我的服务器事件日志。有人能告诉我导致这个问题的原因吗?
Log Name: Application
Source: ASP.NET 2.0.50727.0
Date: 4/11/2011 8:44:42 AM
Event ID: 1309
Task Category: Web Event
Level: Warning
Keywords: Classic
User: N/A
Computer: PACDCPCCOMA01.cable.comcast.com
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 4/11/2011 8:44:42 AM
Event time (UTC): 4/11/2011 12:44:42 PM
Event ID: a66a8c24117e49d4979975e947bfe021
Event sequence: 49560
Event occurrence: 8
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT-1-129469890006189836
Trust level: Full
Application Virtual Path: /
Application Path: C:\inetpub\wwwroot\OM\
Machine name: PACDCPCCOMA01
Process information:
Process ID: 4752
Process name: w3wp.exe
Account name: IIS APPPOOL\Classic .NET AppPool
Exception information:
Exception type: InvalidOperationException
Exception message: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
Request information:
Request URL: http://ccom/Default.aspx
Request path: /Default.aspx
User host address: 10.164.74.56
User: CABLE\awitko200
Is authenticated: True
Authentication Type: Negotiate
Thread account name: IIS APPPOOL\Classic .NET AppPool
Thread information:
Thread ID: 18
Thread account name: IIS APPPOOL\Classic .NET AppPool
Is impersonating: False
Stack trace: at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at Syncfusion.Core.Licensing.FusionLicenseProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions)
at System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey)
at System.ComponentModel.LicenseManager.ValidateInternal(Type type, Object instance, Boolean allowExceptions, License& license)
at System.ComponentModel.LicenseManager.Validate(Type type, Object instance)
at Syncfusion.Core.Licensing.LicensedWebComponent..ctor(Type type)
at Syncfusion.Web.UI.WebControls.Tools.Common.CoreUtilities.ValidateLicense(Type typeToValidate)
at Syncfusion.Web.UI.WebControls.Tools.AutoCompleteTextBox..ctor()
at ASP.default_aspx.__BuildControltxtDivSales() in c:\inetpub\wwwroot\OM\Default.aspx:line 1226
at ASP.default_aspx.__BuildControl__control6(Control __ctrl) in c:\inetpub\wwwroot\OM\Default.aspx:line 1208
at System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container)
at System.Web.UI.UpdatePanel.CreateContents()
at System.Web.UI.UpdatePanel.set_ContentTemplate(ITemplate value)
at ASP.default_aspx.__BuildControlupSales() in c:\inetpub\wwwroot\OM\Default.aspx:line 1208
at ASP.default_aspx.__BuildControl__control5(Control __ctrl) in c:\inetpub\wwwroot\OM\Default.aspx:line 1203
at System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container)
at Telerik.Web.UI.SingleTemplateContainer.InstantiateTemplate()
at Telerik.Web.UI.SingleTemplateContainer.set_Template(ITemplate value)
at Telerik.Web.UI.RadWindow.set_ContentTemplate(ITemplate value)
at ASP.default_aspx.__BuildControlwinSearchSurveys() in c:\inetpub\wwwroot\OM\Default.aspx:line 1203
at ASP.default_aspx.__BuildControl__control4(WindowCollection __ctrl) in c:\inetpub\wwwroot\OM\Default.aspx:line 1201
at ASP.default_aspx.__BuildControlRadWinMgr() in c:\inetpub\wwwroot\OM\Default.aspx:line 1201
at ASP.default_aspx.__BuildControlContent2(Control __ctrl) in c:\inetpub\wwwroot\OM\Default.aspx:line 658
at System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container)
at ASP.masterpage_master.__BuildControlPagePlaceholder() in c:\inetpub\wwwroot\OM\MasterPage.master:line 296
at ASP.masterpage_master.__BuildControlfrm() in c:\inetpub\wwwroot\OM\MasterPage.master:line 65
at ASP.masterpage_master.__BuildControlTree(masterpage_master __ctrl) in c:\inetpub\wwwroot\OM\MasterPage.master:line 1
at ASP.masterpage_master.FrameworkInitialize() in c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b6b42b42\a011ed90\App_Web_r97r-sw3.4.cs:line 0
at System.Web.UI.UserControl.InitializeAsUserControlInternal()
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)
Custom event details:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ASP.NET 2.0.50727.0" />
<EventID Qualifiers="32768">1309</EventID>
<Level>3</Level>
<Task>3</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-04-11T12:44:42.000000000Z" />
<EventRecordID>15385</EventRecordID>
<Channel>Application</Channel>
<Computer>PACDCPCCOMA01.cable.comcast.com</Computer>
<Security />
</System>
<EventData>
<Data>3005</Data>
<Data>An unhandled exception has occurred.</Data>
<Data>4/11/2011 8:44:42 AM</Data>
<Data>4/11/2011 12:44:42 PM</Data>
<Data>a66a8c24117e49d4979975e947bfe021</Data>
<Data>49560</Data>
<Data>8</Data>
<Data>0</Data>
<Data>/LM/W3SVC/1/ROOT-1-129469890006189836</Data>
<Data>Full</Data>
<Data>/</Data>
<Data>C:\inetpub\wwwroot\OM\</Data>
<Data>PACDCPCCOMA01</Data>
<Data>
</Data>
<Data>4752</Data>
<Data>w3wp.exe</Data>
<Data>IIS APPPOOL\Classic .NET AppPool</Data>
<Data>InvalidOperationException</Data>
<Data>Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.</Data>
<Data>http://ccom/Default.aspx</Data>
<Data>/Default.aspx</Data>
<Data>10.164.74.56</Data>
<Data>CABLE\awitko200</Data>
<Data>True</Data>
<Data>Negotiate</Data>
<Data>IIS APPPOOL\Classic .NET AppPool</Data>
<Data>18</Data>
<Data>IIS APPPOOL\Classic .NET AppPool</Data>
<Data>False</Data>
<Data> at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at Syncfusion.Core.Licensing.FusionLicenseProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions)
at System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey)
at System.ComponentModel.LicenseManager.ValidateInternal(Type type, Object instance, Boolean allowExceptions, License& license)
at System.ComponentModel.LicenseManager.Validate(Type type, Object instance)
at Syncfusion.Core.Licensing.LicensedWebComponent..ctor(Type type)
at Syncfusion.Web.UI.WebControls.Tools.Common.CoreUtilities.ValidateLicense(Type typeToValidate)
at Syncfusion.Web.UI.WebControls.Tools.AutoCompleteTextBox..ctor()
at ASP.default_aspx.__BuildControltxtDivSales() in c:\inetpub\wwwroot\OM\Default.aspx:line 1226
at ASP.default_aspx.__BuildControl__control6(Control __ctrl) in c:\inetpub\wwwroot\OM\Default.aspx:line 1208
at System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container)
at System.Web.UI.UpdatePanel.CreateContents()
at System.Web.UI.UpdatePanel.set_ContentTemplate(ITemplate value)
at ASP.default_aspx.__BuildControlupSales() in c:\inetpub\wwwroot\OM\Default.aspx:line 1208
at ASP.default_aspx.__BuildControl__control5(Control __ctrl) in c:\inetpub\wwwroot\OM\Default.aspx:line 1203
at System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container)
at Telerik.Web.UI.SingleTemplateContainer.InstantiateTemplate()
at Telerik.Web.UI.SingleTemplateContainer.set_Template(ITemplate value)
at Telerik.Web.UI.RadWindow.set_ContentTemplate(ITemplate value)
at ASP.default_aspx.__BuildControlwinSearchSurveys() in c:\inetpub\wwwroot\OM\Default.aspx:line 1203
at ASP.default_aspx.__BuildControl__control4(WindowCollection __ctrl) in c:\inetpub\wwwroot\OM\Default.aspx:line 1201
at ASP.default_aspx.__BuildControlRadWinMgr() in c:\inetpub\wwwroot\OM\Default.aspx:line 1201
at ASP.default_aspx.__BuildControlContent2(Control __ctrl) in c:\inetpub\wwwroot\OM\Default.aspx:line 658
at System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container)
at ASP.masterpage_master.__BuildControlPagePlaceholder() in c:\inetpub\wwwroot\OM\MasterPage.master:line 296
at ASP.masterpage_master.__BuildControlfrm() in c:\inetpub\wwwroot\OM\MasterPage.master:line 65
at ASP.masterpage_master.__BuildControlTree(masterpage_master __ctrl) in c:\inetpub\wwwroot\OM\MasterPage.master:line 1
at ASP.masterpage_master.FrameworkInitialize() in c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b6b42b42\a011ed90\App_Web_r97r-sw3.4.cs:line 0
at System.Web.UI.UserControl.InitializeAsUserControlInternal()
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>
</EventData>
</Event>
答案 0 :(得分:0)
似乎有些控件会产生问题,请检查此堆栈跟踪信息堆栈跟踪:
在 System.Windows.Forms.Form.ShowDialog(IWin32Window 老板) System.Windows.Forms.Form.ShowDialog() 在 Syncfusion.Core.Licensing.FusionLicenseProvider.GetLicense(LicenseContext context,Type type,Object instance, 布尔值allowExceptions)at System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context,Type type,Object instance, Boolean allowExceptions,License&amp; 许可证,字符串&amp; LICENSEKEY)
答案 1 :(得分:0)
也许您正在使用试图显示许可证警告的许可组件?
根据您的堆栈跟踪:
Syncfusion.Core.Licensing.FusionLicenseProvider.GetLicense(...)
答案 2 :(得分:0)
您的Syncfusion控件无法在您的服务器上找到有效的许可证,正在尝试显示一个通知您的对话框。该错误似乎源自Syncfusion.Web.UI.WebControls.Tools.AutoCompleteTextbox
。
You might find this SyncFusion document helpful.
堆栈跟踪的相关部分是:
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog() at Syncfusion.Core.Licensing.FusionLicenseProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions)
at System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey)
...
at System.ComponentModel.LicenseManager.ValidateInternal(Type type, Object instance, Boolean allowExceptions, License& license)
at System.ComponentModel.LicenseManager.Validate(Type type, Object instance)
at Syncfusion.Core.Licensing.LicensedWebComponent..ctor(Type type)
at Syncfusion.Web.UI.WebControls.Tools.Common.CoreUtilities.ValidateLicense(Type typeToValidate)
at Syncfusion.Web.UI.WebControls.Tools.AutoCompleteTextBox..ctor()
at ...