is it legal to make a website in visual studio 2008 in asp.net and upload it on server without comercial licence
Without a commercial license for what? For the server? It will need Windows running on it, so that needs a license, but your web site doesn't.