This is from a wallet.dat file from a friend who is probably worse than me
i loaded the file into bitcoin core , the password to unlock the wallet works
I don't mean to jump to conclusions but these are usually signs of having a fake wallet file, specially since it contains a popular transaction the scammers use in these fake files.
You should make sure your
friend has actually created this wallet himself and hasn't bought it.
but sending from the core interface gives a transaction signing error
How did you come up with the signed transaction you posted above?
i tried dumpprivkey function and i get private key not known for the address
Technically the output you are trying to spend doesn't have any address since it is a P2PK output. So you should check if the private key you get produces the same public key
04f51f8d0c4dc4a5338bef745098e6f6364f8936fee6aa5a9d4ab0c214e7cdd727f094f442779b37d9046e53ea3f0b988aefaa6e0adb0662155cd763229e8519aa