ShippingManagerCache Data Source Error
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Commerce Server General > ShippingManagerCache Data Source Error




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

    ShippingManagerCache Data Source Error  
Colin Bowern


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


 
03-14-05 10:54 PM

Hi,

In my total pipeline I'm running into a problem with the
ShippingManagerCache.  The CS2002 site is built on ASP.NET 1.1 and we've
been using the starter site as a guide however not the class libraries
included with them.

When the total pipeline is first run it throws back the following error
however after the retry interval it works fine:

Event Type: Error
Event Source: Commerce Server 2002
Event Category: None
Event ID: 8192
Date:  3/14/2005
Time:  2:02:05 PM
User:  N/A
Computer: COLIN-DESKTOP
Description:
The CacheManager encountered an error during a refresh of the cache:
'Commerce.ShippingManagerCache: Could not connect to datasource'

Any thoughts on what might be causing this?  It seems to connect alright the
second time.  I've checked the connection strings in the Commerce Server
Manager and they appear to be correct.   Are we required to setup the
CacheManager similar to what is outlined in the following for .NET apps?

http://msdn.microsoft.com/library/d...ingobj_vklo.asp

Cheers,
Colin








[ Post a follow-up to this message ]



    RE: ShippingManagerCache Data Source Error  
Nihit Kaul [MSFT]


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


 
03-28-05 11:13 PM

So this does not occur when you run the Basket or the Checkout pipelines?

With the ASP.Net based site, the cache etc. should be created and
configured automatically according to the Web.Config settings.

What are the web.config ShippingManagerCache settings like? Could you check
the retry/refresh intervals set in the web.config file?

Thanks,

Nihit Kaul[MSFT]
Commerce Server
http://blogs.msdn.com/nihitk

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
From: "Colin Bowern" <colin.bowern@nospam.officialcommunity.com>
Subject: ShippingManagerCache Data Source Error
Date: Mon, 14 Mar 2005 14:22:40 -0500
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
Message-ID: <uh50ysMKFHA.3552@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: mail.officialcommunity.net 207.188.77.211
Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP1
2.phx.gbl
Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.commerceserver.general:15760
X-Tomcat-NG: microsoft.public.commerceserver.general

Hi,

In my total pipeline I'm running into a problem with the
ShippingManagerCache.  The CS2002 site is built on ASP.NET 1.1 and we've
been using the starter site as a guide however not the class libraries
included with them.

When the total pipeline is first run it throws back the following error
however after the retry interval it works fine:

Event Type: Error
Event Source: Commerce Server 2002
Event Category: None
Event ID: 8192
Date:  3/14/2005
Time:  2:02:05 PM
User:  N/A
Computer: COLIN-DESKTOP
Description:
The CacheManager encountered an error during a refresh of the cache:
'Commerce.ShippingManagerCache: Could not connect to datasource'

Any thoughts on what might be causing this?  It seems to connect alright the
second time.  I've checked the connection strings in the Commerce Server
Manager and they appear to be correct.   Are we required to setup the
CacheManager similar to what is outlined in the following for .NET apps?

http://msdn.microsoft.com/library/d...-us/csvr2002/ht
m/cs_sp_shippingobj_vklo.asp

Cheers,
Colin









[ Post a follow-up to this message ]



    Re: ShippingManagerCache Data Source Error  
Colin Bowern


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


 
03-28-05 11:13 PM

Hi Nihit,

The problem seems to have gone away for now.  For the longest time I could
reproduce it without a problem.  The web.config contains the following:

<cache name="ShippingManagerCache" type="Shipping"
loaderProgId="Commerce.ShippingManagerCache" refreshInterval="0"
retryInterval="60" />

I'll be keeping an eye on it to see if it reoccurs.  Something that did
happen around the same time it went away, however I'm not sure is related,
is that I added the SampleRegionalTaxCache to the web.config:

<cache name="SampleRegionalTaxCache" type="Tax"
loaderProgId="Commerce.SampleRegionalTaxCache" refreshInterval="0"
retryInterval="60" />

Cheers,
Colin

"Nihit Kaul [MSFT]" <nihitk@online.microsoft.com> wrote in message
news:FASTPf%23MFHA.964@TK2MSFTNGXA03.phx.gbl...
> So this does not occur when you run the Basket or the Checkout pipelines?
>
> With the ASP.Net based site, the cache etc. should be created and
> configured automatically according to the Web.Config settings.
>
> What are the web.config ShippingManagerCache settings like? Could you
> check
> the retry/refresh intervals set in the web.config file?
>
> Thanks,
>
> Nihit Kaul[MSFT]
> Commerce Server
> http://blogs.msdn.com/nihitk
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> Use of included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
> --------------------
> From: "Colin Bowern" <colin.bowern@nospam.officialcommunity.com>
> Subject: ShippingManagerCache Data Source Error
> Date: Mon, 14 Mar 2005 14:22:40 -0500
> Lines: 34
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
> X-RFC2646: Format=Flowed; Original
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
> Message-ID: <uh50ysMKFHA.3552@TK2MSFTNGP12.phx.gbl>
> Newsgroups: microsoft.public.commerceserver.general
> NNTP-Posting-Host: mail.officialcommunity.net 207.188.77.211
> Path:
> TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNG
P1
> 2.phx.gbl
> Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.commerceserver.general:15760
> X-Tomcat-NG: microsoft.public.commerceserver.general
>
> Hi,
>
> In my total pipeline I'm running into a problem with the
> ShippingManagerCache.  The CS2002 site is built on ASP.NET 1.1 and we've
> been using the starter site as a guide however not the class libraries
> included with them.
>
> When the total pipeline is first run it throws back the following error
> however after the retry interval it works fine:
>
> Event Type: Error
> Event Source: Commerce Server 2002
> Event Category: None
> Event ID: 8192
> Date:  3/14/2005
> Time:  2:02:05 PM
> User:  N/A
> Computer: COLIN-DESKTOP
> Description:
> The CacheManager encountered an error during a refresh of the cache:
> 'Commerce.ShippingManagerCache: Could not connect to datasource'
>
> Any thoughts on what might be causing this?  It seems to connect alright
> the
> second time.  I've checked the connection strings in the Commerce Server
> Manager and they appear to be correct.   Are we required to setup the
> CacheManager similar to what is outlined in the following for .NET apps?
>
> [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csvr2002/ht[/ur
l]
> m/cs_sp_shippingobj_vklo.asp
>
> Cheers,
> Colin
>
>
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:12 AM.      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