FineUI 官方论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

本论坛已关闭(禁止注册、发帖和回复)
请移步 三石和他的朋友们

FineUI首页 WebForms - MVC & Core - JavaScript 常见问题 - QQ群 - 十周年征文活动

FineUI(开源版) 下载源代码 - 下载空项目 - 获取ExtJS - 文档 在线示例 - 版本更新 - 捐赠作者 - 教程

升级到 ASP.NET Core 3.1,快、快、快! 全新ASP.NET Core,比WebForms还简单! 欢迎加入【三石和他的朋友们】(基础版下载)

搜索
查看: 8758|回复: 3
打印 上一主题 下一主题

fineui的接口访问出错

[复制链接]
跳转到指定楼层
楼主
发表于 2016-8-2 11:39:14 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
一个纯接口的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


沙发
发表于 2016-8-2 21:13:14 | 只看该作者
按F12,查看错误提示
板凳
发表于 2016-8-2 21:13:21 | 只看该作者
按F12,查看错误提示
地板
 楼主| 发表于 2016-8-8 16:23:28 | 只看该作者
已解决,用ashx
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|FineUI 官方论坛 ( 皖ICP备2021006167号-1 )

GMT+8, 2024-4-19 12:50 , Processed in 0.045820 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表