C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » ASP.NET »

error


Posted Date: 09 Jan 2009      Posted By: Tamilselvan      Member Level: Gold     Points: 1   Responses: 1



hi buddy's,

I am getting am error in website the error is

Error Message: Object reference not set to an instance of an object.

Stack Trace:
at shops_custompage.Page_Load(Object sender, EventArgs e) in line 17 at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


please any one help me


regards

Tamilselvan





Responses

Author: Pascal    09 Jan 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 3

"Object reference not set to an instance of an object." Error comes when the Object is null and you are trying to access some property or method using that... Something like

string name = obj.Name;

This will throw the above exception if obj is null.

Similarly there might be something like this. Try to debug your code and see.



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : slow browsing
Previous : Multiview... property of a control
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use