Networking - odd error.

Im using some networking from client to server, and it keeps giving me the error

[lua]
[ERROR] addons/darkrpmodification-master/lua/darkrp_modules/donation/cl_donation.lua:36: Calling net.Start with unpooled message name [http://goo.gl/qcx0y]

  1. Start - [C]:-1
  2. DoClick - addons/darkrpmodification-master/lua/darkrp_modules/donation/cl_donation.lua:36
    3. unknown - lua/vgui/dlabel.lua:206
    [/lua]

And yes, I aleready have a message name in the server file, here are some snippets.

cl_donation.lua

[lua]
textEntry.OnEnter = function()
if(textEntry:GetValue() == “”) then return end
net.Start(“cl_sendKey”)
net.WriteString(textEntry:GetValue())
net.SendToServer()
[/lua]

sv_donation.lua

[lua]
util.AddNetworkString(“cl_sendKey”)

– Scrolling abit down in the script.

net.Receive(“cl_sendKey”, function( len, ply )
local key = net.ReadString()
DONATION:confirmKey(ply,key) – I have this one covered, just a function in the file proccesing the value from the string.
end)
[/lua]

Have I done something wrong here or is it just impossible to run this backwards?

You need to do it a couple of seconds before calling the message, try adding a timer to the net.Receive?

I got it to work, and I did absolutely nothing. amazingly weird I must say.