Microsoft Content Management Server - MCMSADRotator Issue

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > April 2007 > MCMSADRotator Issue





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author MCMSADRotator Issue
Tom

2007-04-26, 7:14 pm

I upgraded my Windows 2003 Server to SP2 32 bit.

I also applied MCMS Security patch to my existing CMS 2002 SP2 server. The
patch was
Microsoft Content Management Server 2002 Service Pack 2 - Download the
update (KB924429)
http://www.microsoft.com/downloads/...16-592EBFB0AC04

I am using Stefan's MCMSAdrotator class and Mondosearch.. But today, after
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 about
the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: Bad variable
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


Tom

2007-04-26, 7:14 pm

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. The
> patch was
> Microsoft Content Management Server 2002 Service Pack 2 - Download the
> update (KB924429)
> http://www.microsoft.com/downloads/...16-592EBFB0AC04
>
> I am using Stefan's MCMSAdrotator class and Mondosearch.. But today, after
> 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 about
> the error and where it originated in the code.
>
> Exception Details: System.Runtime.InteropServices.COMException: Bad variable
> 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
>
>

Stefan Goßner [MSFT]

2007-04-27, 7:15 am

Hi Tom,

never seen this. It is also strange that a COM exeception occurs.
You should open a support case for this.

Cheers,
Stefan


"Tom" <Tom@discussions.microsoft.com> wrote in message
news:E85242AB-C6B2-41A7-81AC-3B04BFC7CCCC@microsoft.com...[vbcol=seagreen]
> One more note..
> This error is happening intermittent. Most of the time the image rotates
> and other times it does not.
>
> "Tom" wrote:
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com