adrotator issue with subsite

Jul 10, 2008 at 5:58 PM
Hi - I am using the adrotator in my portal.  I am using it on my root site where I have a list named Images it works fine .  But when I put the webpart on a subsite beneath it does not populate the images from Images list.  Probably the


SPWeb oSPWeb = SPControl.GetContextWeb(Context); method in SPAdRotator,cs file is failing.  Any help is highly aprreciated.
Jul 10, 2008 at 6:04 PM
"Improperly configured image library. Check the settings for this web part to make sure that you have selected an image library"  is the error which I get.  My rootsite is News (in which I have the list named "Images" and my subsite is events.