Thanks MasterZ i re-installed the appserv with a new password and i don't have the access denied problem any more, now i have the following
i have gone in to maps.cs,mapstable.cs and programs.cs and traced all those lines but i don't understand what is wrong with them..