Last post Mar 14, 2009 12:37 PM by racer184
Mar 05, 2009 12:46 AM|sarzamin|LINK
log in- error - ads
Mar 05, 2009 08:10 AM|klpatil|LINK
Pls debug the method GetSharedSettings basically your instance "s" of an object "SiteSettings" is NULL and you are trying to access it's property.
Let me know if you need any help from my side.
Mar 14, 2009 12:37 PM|racer184|LINK
I ALWAYS get this error the first time I run Visual Web Designer each day.
The first error I get is that 'adminstrator role does not exist'. So I stop debugging and start again.
Then I get the error you described. " [NullReferenceException: Object reference not set to an instance of an object.] "
So I stop debugging and start it again.
Then I get the "photos" "declare an instance" error
Now that I have gotten that far, I
Start VisualWebDesigner again, select the project and start debugging and now it will work.
I admit that I do NOT know the cause of this. I think it is because the local ASP.net development server doesn't start fast enough.. (that's a guess). I see that when I close V.W.D. that the local ASP.net server stays running. So when I start V.W.D. again
and then select the website and start debug itstarts really quick and I do not get those errors.
Sorry, I have not suggested a "fix"... but it is a way that I deal with the same problem that you are having.