FineUI 官方论坛

标题: fineui的接口访问出错 [打印本页]

作者: zhongjl    时间: 2016-8-2 11:39
标题: fineui的接口访问出错
一个纯接口的aspx网页,返回json数据的,访问后出错,请大虾指点。错误如下。还没进入我的代码就出错了
在调试环境下没问题的

Server Error in '/' Application.
Object reference not set to an instance of an object.              Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.            

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.                  

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]   FineUI.CommonResourceHelper.IsHeaderContains(Page page, String controlId) +40   FineUI.CommonResourceHelper.AddContentToHead(Page page, String controlId, String msg) +19   FineUI.CommonResourceHelper.RegisterCommonResource(Page page) +87   FineUI.ResourceManager.Page_InitComplete(Object sender, EventArgs e) +29   System.Web.UI.Page.OnInitComplete(EventArgs e) +9088526   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +604                  


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1025



作者: 2517833176    时间: 2016-8-2 21:13
按F12,查看错误提示
作者: 2517833176    时间: 2016-8-2 21:13
按F12,查看错误提示
作者: zhongjl    时间: 2016-8-8 16:23
已解决,用ashx




欢迎光临 FineUI 官方论坛 (https://fineui.com/bbs/) Powered by Discuz! X3.4