Gmod create server error

Whenever i try to create a server, it starts loading, then when its about to start it puts me back at the main menu! Please help D: