I created dnn site as this:i remove the default iis site and create a new site point to dnn322 directory.
after that i removed "dotnetnuke" from the webinfo, dotnetnuke.sln, dotnetnuke.all.sln , the path in these files now is http://localhost/XXX, still the same error.
i add a virtual directory "dotnetnuke" under localhost, it works. but one more problem, i can't see any files under desktopmodules in vs 2003.
by the way, my enviorment is : windows server 2003, vs2003.