I'm guessing you mean this guide?
http://www.eqemulator.org/forums/showthread.php?t=31783
That's the one I used as well when I initially set things up. Based on the error I suspect you missed a step in the "Setup PEQLoginDB DB and Logins" section.
Try repeating those steps and see if it helps. The error is probably because you don't have an entry in the tblWorldServerRegistration table, but you might be missing other stuff too.