none
关于Asp.net Ajax抛出 “Object reference not set to an instance of an object. ”的奇怪性错误, 急!! RRS feed

  • 问题

  • 在事件查看器中出现的异常信息如下所示,需要注意的是Request URL中信息多了一些Html代码内容(http://10.24.50.59:8001/ScriptResource.axd?d=2womj2uHHXtYWopeCvHXWF3z0HTX4WzbMD_eTVKdXX1WjL2qIjzC6vDf6EhJ00HFieiYkChS5CDXaokPble  cellSpacing='0' cellPadding='1' bgColor=' )。

    请问名位大佬此问题是由于什么问题引起的,有没有什么解决办法,比较急!

    Event code: 3005 
    Event message: An unhandled exception has occurred. 
    Event time: 2/8/2010 11:06:51 AM 
    Event time (UTC): 2/8/2010 3:06:51 AM 
    Event ID: 7ab23b96ad844f108f1c34cb0ea753bf 
    Event sequence: 2005 
    Event occurrence: 1 
    Event detail code: 0 
     
    Application information: 
        Application domain: /LM/W3SVC/1602541100/Root/1-129100652756051323 
        Trust level: Full 
        Application Virtual Path: / 
        Application Path: C:\App\Web\ 
        Machine name: HSTTRS01-NT 
     
    Process information: 
        Process ID: 2768 
        Process name: w3wp.exe 
        Account name: NT AUTHORITY\NETWORK SERVICE 
     
    Exception information: 
        Exception type: NullReferenceException 
        Exception message: Object reference not set to an instance of an object. 
     
    Request information: 
        Request URL: http://10.24.50.59:8001/ScriptResource.axd?d=2womj2uHHXtYWopeCvHXWF3z0HTX4WzbMD_eTVKdXX1WjL2qIjzC6vDf6EhJ00HFieiYkChS5CDXaokPble  cellSpacing='0' cellPadding='1' bgColor=' 
        Request path: /ScriptResource.axd 
        User host address: 10.24.49.47 
        User:  
        Is authenticated: False 
        Authentication Type:  
        Thread account name: NT AUTHORITY\NETWORK SERVICE 
     
    Thread information: 
        Thread ID: 7 
        Thread account name: NT AUTHORITY\NETWORK SERVICE 
        Is impersonating: False 
        Stack trace:    at System.Web.UI.Page.DecryptString(String s)
     
     
    Custom event details: 
    
    
    2010年3月27日 6:48

答案

  • 你自己是否跟踪了是在哪行代码调用时报错。

    仅根据上面的异常描述很难搞定啊。


    Microsoft Online Community Support
    2010年3月29日 5:47

全部回复