There is several reasons why this error might happen. The most common one is of course that your rom is not OK. Under VPiname - find setup.exe - run it. Press the test button and scroll down to the xenon rom and test it. You should see OK for all the files inside the rom zip file. IF NOT, that is the reason. Pinmame or VP won't work without a wrong rom. I recommend to go to VPU and in the upper right corner - put in the name xenon.zip
VPU is the best place to get your roms for - believe me.
If however they all show OK. Well, then it is a high chance that you are running the video settings with exclusive full screen enable. That will not work if you at the same time is running ddraw enabled. You have to disable ddraw for the rom. There should be a lot of information on these forums how to do that.
I´ve just tried it again, right now, same error. It was working fine til upgrade to 10.7. Now doesn´t work in 10.6 neither 10.7 
Thanks for your help.
audit the rom in vpinmame, using setup.exe as thalamus said
If it fails and you are sure the ROM is in place, check pinmame's rom path
Also, did you upgrade pinmame recently?
If you upgraded, you may find some ROMs that you need to download newer more accurate dumps
10.7 has no changes to vpinmame, only vpx itself, so it should not have change anything in that aspect
I think he has something else going on because I sent him my rom & it still did not work for him & it works for both of my Xenon tables.
ROM is ok on VPINMame test
using version 3.3 (dec 18 2019)
Found another table with problem today (getaway, that was working fine before), thinking about formating and doing a new clean instalation
EDIT (SOLVED) - Formated and did a clean instalation (using windows 10 instead of 7 and back to 10.6) everything working fine, no more issues.
Thanks a lot for everyone that helped me, special thanks to wiesshund and clyde for help and patience.
Have a nice play!
Edited by granja, 18 February 2021 - 10:52 AM.