MCMSADRotator Issue
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > MCMSADRotator Issue




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    MCMSADRotator Issue  
Tom


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-07 12:14 AM

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/.../>
92EBFB0AC04

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 abou
t
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







[ Post a follow-up to this message ]



    RE: MCMSADRotator Issue  
Tom


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Re: MCMSADRotator Issue  
Stefan Goßner [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-07 12:15 PM

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:
> 







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:21 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register