Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a Sharepoint 2010 site I'm setting up where I want to have an AdRotator on every page, so I added the control to my master page in Sharepoint designer.

However when I look at my site, all the configuration settings on my AdRotator are missing and it looks as though it can't find the Adverts.xml file ( in one of my site assets document libraries ) in order to display anything and I just get a missing image graphic instead.

share|improve this question
    
We need more information to help answer your question. Can you please edit it and add further specific details such the AdRotator snippet from your master page? Screenshots may help as well. –  Alex Angas Jul 5 '11 at 2:36
    
Are the properties for the control (such as the path to your Adverts.xml) passed in properly when you added it to the masterpage? You'll need a <Properties> tag, with one or more <Property Name='someProperty' Value='someValue'/> tags inside. –  James Love Jul 5 '11 at 7:23

1 Answer 1

Most likely the problem was in relative path which in the case of master pages is calculated in relation to the mater page gallery (/_catalogs/masterpage) instead of the site or site collection root (/).

In many cases the URL such as "SiteAssets" will turn to "/_catalogs/masterpage/SiteAssets" when rendered, that will cause the unexpected behavior as described..

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.