04-27-07 12:14 AM
One more note..
This error is happening intermittent. Most of the time the image rotates
and other times it does not.
"Tom" wrote:
> I upgraded my Windows 2003 Server to SP2 32 bit.
>
> I also applied MCMS Security patch to my existing CMS 2002 SP2 server. Th
e
> patch was
> Microsoft Content Management Server 2002 Service Pack 2 - Download the
> update (KB924429)
> http://www.microsoft.com/downloads/...
-592EBFB0AC04
>
> I am using Stefan's MCMSAdrotator class and Mondosearch.. But today, afte
r
> entering text in the search box and clicking search, I am now getting this
> error just before my search page is rendered and fails.
>
> Here is the error:
>
> Bad variable type. (Exception from HRESULT: 0x80020008 (DISP_E_BADVARTYPE)
)
> Description: An unhandled exception occurred during the execution of the
> current web request. Please review the stack trace for more information ab
out
> the error and where it originated in the code.
>
> Exception Details: System.Runtime.InteropServices.COMException: Bad variab
le
> type. (Exception from HRESULT: 0x80020008 (DISP_E_BADVARTYPE))
>
> Source Error:
>
>
> Line 61: //Randomly pick one of the images
> Line 62: int resourceIndex = Randomizer(ads.Count);
> Line 63: Resource r = ads[resourceIndex];
> Line 64: //display the image
> Line 65: return r.Url;
>
>
> Source File: E:\inetpub\wwwroot\FHLBCIN\MCMSAdRotator
\MCMSAdRotator.cs
> Line: 63
>
>
> Can anyone assist?
>
> Thanks
>
> Tom
>
>
[ Post a follow-up to this message ]
|