配置文件改为
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
解决方案 »
- JS传参问题
- iebook 怎么放到自己的网页里呢
- SqlParameter问题
- VS2010 C# web工程中,向aspx页面拖放数据库表,默认的是GridView,可以改么?
- vs2005做web开发,大家都用什么系统的啊?
- TextBox问题求助
- asp直接生成word文件出错,急。。。。。。
- 有关.net开发网站的移植问题,当开发过程中,系统重装了,为什么不能恢复呢???
- 有谁用过dci_beta1的?说说一下用法好吗??
- c#导出excel后编辑提示改xls可能含有与网页不兼容的功能,并且保存后会有一个含有网页的文件夹,如何在导出excel的时候设置?
- 含有webpart的网站发布到服务器,提示边连接sql2005出错!
- Input string was not in a correct format. (求助)
设为 customErrors mode="Off" 看看错误是什么
改为 customErrors mode="Off"
允许调试信息
<compilation
defaultLanguage="c#"
debug="true"
/>编译程序使用Debug
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.Runtime.InteropServices.COMException: Object variable or With block variable not setSource 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:
[COMException (0x800a005b): Object variable or With block variable not set]
objWebPro.OWAccountingClass.SetAccountingInfo(OWAccountingRequest request) +0
PayByPeriodResult.Page_Load(Object sender, EventArgs e) +1495
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
<allow users="*" /> <!-- 允许所有用户 -->
<!-- <allow users="[逗号分隔的用户列表]"
roles="[逗号分隔的角色列表]"/>
<deny users="[逗号分隔的用户列表]"
roles="[逗号分隔的角色列表]"/>
-->
</authorization>