English 中文(简体)
可能会在伙伴关系中造成这种零星错误。 NET?
原标题:What could cause this sporadic error in ASP.NET?
  • 时间:2012-01-12 20:36:48
  •  标签:
  • asp.net

在我很少见的情况下,当有人进入我的协会时,我有以下错误和 st痕。 NET应用:

。 反对不指标的。

Stacktrace: MyApp.MyDefaultPage。 页: 1 Web.UI.Control.Init Recursive(Control namingContainer) at System. Web.UI.Control.Init Recursive(Control namingContainer) at System. Web.UI.Page.ProcessRequestMain (Boolean includeStagesBeforeAsync Point, Boolean includeStagesAfterAsync Point)

这里有几个问题。 <代码>MyApp.MyDefaultPage没有界定的<代码>Page_Init,因此没有其他代码(我理解事件仍然发生火灾)。 而且,没有一套基类编码,可以在一页中操作。 在此情况下,我正从发生这种情况的地方遭受损失。

我甚至可以收集的唯一事情是,我有一份<全球编码>。 在接触任何物体之前的1st,确保这些物体在试图进入之前不会(防止任何错误)。

任何可能无所作为的因素?

最佳回答

你们是否利用Ajax控制?

If so make sure your scriptmanager tag is the first item after your form tag

此外,还试图为网页设置“EventValidation=”false。

这可能是因为用户在网页满负荷之前与网页的互动。

问题回答

暂无回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签