Last post Aug 17, 2007 08:36 PM by zowens
Aug 17, 2007 12:12 PM|DKB|LINK
Hi I installed the site locally everything was fine up untill I used the asp web configuration and deleted all users and then created a new admin with new credentials. I then ran the app and I got a null exception. How can I remedy this?
Aug 17, 2007 12:53 PM|mpaterson|LINK
Can you post the code that is causing the null exception?
Aug 17, 2007 01:00 PM|abonslater|LINK
Please post the stack trace for the null exception.
Aug 17, 2007 01:19 PM|DKB|LINK
System.NullReferenceException was unhandled by user code
Message="Object reference not set to an instance of an object."
at ASP.default_aspx.__DataBinding__control48(Object sender, EventArgs e) in C:\Documents and Settings\David\My Documents\Visual Studio 2005\Projects\SandBox3\Standard_(VB)\ClubStarterKit.Web\Default.aspx:line 238
at System.Web.UI.Control.OnDataBinding(EventArgs e)
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
Thanks a bunch
Aug 17, 2007 01:20 PM|DKB|LINK
Thanks a bunch
Aug 17, 2007 01:26 PM|abonslater|LINK
If you did not have problems with this page in the past, I would try deleting your temporary ASP .NET files in C:\Windows\Microsoft.NET\Framework\v2.0.x.x\Temporary ASP.NET Files
Also check to see what control48 is attempting to bind. If it's trying to bind a list of users then you might want to figure out what that control is erroring out. I am not totally familiar with the ClubStarterKit.Web. Where did you get that from?
Aug 17, 2007 01:29 PM|abonslater|LINK
It looks like you are attempting to load a blog for a user that you may have already deleted. You should check your data in the database to make sure that the users that you deleted don't have orphan references.
Aug 17, 2007 01:35 PM|DKB|LINK
I got it from Codeplex I'm shocked that you are in the same forum as the web app in question and you don't know where it came from. It all began when I used asp.net config tool to clear the user section and created a new admin account some where along it
is not picking up the new admin account I thought that it ought to happened automatic once created in the asp config tool. Maybe if go into the database and create it manually then run it.
Aug 17, 2007 01:39 PM|zowens|LINK
The associated blog post (or news article or event) are associated to a test admin user. Just delete all blog posts, news articles, and events and you should be good to go.
Aug 17, 2007 01:48 PM|abonslater|LINK
Sorry, I usually go through the active topics, didn't realize the forum subject. I'll make sure I check that first.
Aug 17, 2007 02:09 PM|DKB|LINK
Do I need to log on locally you should know that I been working locally with the project and it won't debug or run on server, so how can I accomplish this with the least amount of disaster.
Aug 17, 2007 02:41 PM|DKB|LINK
To everyone that has helped me on this I want to thank you all. I came up with a bombshell of an idea! since it is in the wrkstation phase of development meaning it has not been posted to the isp as of this reply and nothing has really changed except for
a couple of images... I guess it is ok to delete it and reinstall it again. But this time I will try and accomplish the same while logged in as admin in stead of through the asp config tool. I have always been told to keep it simple so in this case I guess
I will throw in the towel but keep my chin up knowing that Zack is working diligently on how to correct this with a solution, I will do just that(reinstall). Zack check out my original post and see what you think can be done to avoid this in the future if
you want to ask any specfic questions on the matter please do. I know this is your baby. lol
Aug 17, 2007 03:39 PM|DKB|LINK
Hi I have been out the the codeplex sight and seen that there was a a solution by thoze that had been posted. Thank you for your input zack.
Aug 17, 2007 08:36 PM|zowens|LINK
A simple try catch would have done the trick as well.