Bug to start the source

08/16/2011 23:06 Novakhan#1
Well. When i try to start the source, by debuging in C#, Its telling me a database error but i did all correctly .. If one of you guys can help me, let me know xD

This is the code that is the error (btw i don't find it..)

}
r.Close();
if (EntityUID.Now == 0)
{

It's telling me : The Exception NullReferenceException has not been managed by the user code.

thanks!

Screenshot:
[Only registered and activated users can see links. Click Here To Register...]
08/17/2011 02:29 CompacticCo#2
Post a screenshot, I can't help you from those very few lines, I need to see how it's structured.
08/17/2011 02:57 Novakhan#3
Screenshot added
08/17/2011 03:23 CompacticCo#4
I can't read that.
08/17/2011 04:03 Novakhan#5
Edited
08/17/2011 08:29 BaussHacker#6
if (EntityUID == null) return;

Put that above that code.

Or wrap this around:

if (EntityUID != null)
{
//CODE HERE
}
08/17/2011 08:41 Novakhan#7
Like :
}
r.Close();
if (EntityUID.Now == 0)
if (EntityUID == null) return;
{

?
08/17/2011 08:53 BaussHacker#8
Quote:
Originally Posted by elhermanos View Post
Like :
}
r.Close();
if (EntityUID.Now == 0)
if (EntityUID == null) return;
{

?
if (EntityUID == null) return;
if (EntityUID.Now == 0)
08/17/2011 09:07 Novakhan#9
I put that, Its not telling me any error but the server configuration is not loading.. So its the same but no error advice^^
08/17/2011 09:16 BaussHacker#10
Quote:
Originally Posted by elhermanos View Post
I put that, Its not telling me any error but the server configuration is not loading.. So its the same but no error advice^^
Then wrap it around instead or make sure you're assigning the EntityUID thing.
08/17/2011 09:29 agathom#11
theres no problem at the program.cs,
08/17/2011 10:03 Novakhan#12
Lol there's one if i can't launch the source nah?..