When i start to attach the same file to AdRotator object, it didn't work :
AdRotator1.AdvertisementFile = Server.MapPath("~/Data/Ads.xml");
Then i used, and it worked:
AdRotator1.AdvertisementFile = "~/Data/Ads.xml";
Can anyone tell me when to use Server.MapPath?