Provide the full error details:
Some general points in hosting site with windows xp
You could host one site with Windows XP Professional and it's IIS.
However, Windows XP is desktop operating system, not optimized for high server performance: optimized disk access, possibility to accept and serve lot of incoming TCP/IP connections, fine tune caching systems ...
In short: yes, you can, but much better choice is real server operating system.