Commerce Server General - CS2K2 Pipelines in a Service

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > July 2006 > CS2K2 Pipelines in a Service





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 CS2K2 Pipelines in a Service
David OHara

2006-06-23, 1:18 pm

I've run into a bit of a snag and I'm lookin for a little guidance/help...

We're using CS for our order system but have a number of interfaces for it. They are currently all web interfaces (based on the Sample Site code) and have to be maintained individually. This is a real pain so I'm attempting to centralize the code by creating an ordering service that can then be used by all the interfaces in a more consistent and reliable manner and allow us to maintain a single instance of the processes.

So everything has been going well (I've used the BCL objects btw) until the basket pipeline. I simply cannot get it to run properly. It will instantiate but the following is the error that it returns in the log files:
Sink started at 2006/06/23 08:33:44.0403
PIPELINE:++ 2006/06/23 08:33:44.0403 Pipeline Execution starts (lMode==0x1, lFlags==0x0)
14 components in the list
PIPELINE:++ component[0x0] about to be called ProgID: Commerce.QueryCatalogInfo.1
RootObject: ReadValue items VT_DISPATCH PV=[0xaeb3550] VT_EMPTY __empty__
PIPELINE:-- component [0x0] returned hr: 0x80004002, IErrorLevel=4 in 47 milliseconds
Error Description: Component Execution failed for component[0x0] hr: 0x80004002
ProgID: Commerce.QueryCatalogInfo.1
Failure during cache refresh in component Commerce.LRUCacheFlush: Hresult: 0x80004002
PIPELINE:-- 2006/06/23 08:33:44.0450 Pipeline Execution completed returning hr: 0x80004002
i: 0x1
hrLoop: 0x80004002
*plErrorLevel: 1000
Sink stopped at 2006/06/23 08:33:44.0450
I've attempted to use Reflector to check out the code that's being called but, alas, the CacheCompLib.dll is just a COM wrapper so I'm out of luck there. Does anyone know what objects I'm missing?? What would I need to do to make this happen?? Any help at all??


Thanks,
David O'Hara
Dan Nemesek

2006-06-23, 7:19 pm

David,

What version and Service Pack of CS are you on?
The HRESULT often means there were data access issues. Does the service
account have the required perms to the CS databases?

Thanks,

Dan

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation.
All rights reserved.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Please reply to the newsgroups only.
David OHara

2006-06-26, 1:18 pm

Dan,

I'm running 2002 with Feature Pack 1 currently.

I've double checked the permissions and everything appears to be correct in
regards to permissions - I even tried running with admin creds just to be
sure.


Thanks,
David O'Hara


Dan Nemesek

2006-06-26, 7:17 pm

Hi,

Try reregistering mscore.dll and mscscache.dll and see if the problem is
still occuring.
If it is, run regmon from www.sysinternals.com and then repro the problem.
Regmon may shed some light on why E_NOINTERFACE is being returned.

HTH,

Dan

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation.
All rights reserved.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Please reply to the newsgroups only.
David OHara

2006-06-27, 7:16 pm

Dan,

I've could not find either of the dlls that you mentioned so I reinstalled
instead but to no avail. I thought I'd mention that I'm running Commerce
Server 2002 sp3 with fp1 again but I don't think that would cause me to be
missing these files.

I've dumped from regmon but there's nothing specific to indicate that
anything is missing - it finds the LRUCacheFlush registry entries so I'm not
sure how to proceed from here. I sure do appreciate your help!

Has anyone else tried something like this?? Suggestions for alternatives??


Thanks,
David O'Hara

"Dan Nemesek" <DanNemesek@online.microsoft.com> wrote in message
news:8NFoFMXmGHA.4948@TK2MSFTNGXA01.phx.gbl...
> Hi,
>
> Try reregistering mscore.dll and mscscache.dll and see if the problem is
> still occuring.
> If it is, run regmon from www.sysinternals.com and then repro the problem.
> Regmon may shed some light on why E_NOINTERFACE is being returned.
>
> HTH,
>
> Dan
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> You assume all risk for your use. © 2002 Microsoft Corporation.
> All rights reserved.
> Use of included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
> Please reply to the newsgroups only.



Dan Nemesek

2006-06-28, 7:17 pm

Dave,

I am out of ideas. I think a small repro will help us here.
Can you send me in detail the steps that you are using and some small code
snippets?

Thanks,

Dan

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation.
All rights reserved.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Please reply to the newsgroups only.
David OHara

2006-07-05, 7:16 pm

Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 65.240.66.50
Xref: leafnode.mcse.ms microsoft.public.commerceserver.general:132

Dan,

I appreciate the help and effort. I ended up getting this fixed "offline"
with Nihit's help. Basically, I was not instantiating a few objects in the
correct fashion and that's why the pipeline was erroring out. All's well
(for now) but I'll be sure to yell if anything else comes up.


Thanks,
David O'Hara

"Dan Nemesek" <DanNemesek@online.microsoft.com> wrote in message
news:27c8aXwmGHA.5184@TK2MSFTNGXA01.phx.gbl...
> Dave,
>
> I am out of ideas. I think a small repro will help us here.
> Can you send me in detail the steps that you are using and some small code
> snippets?
>
> Thanks,
>
> Dan
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> You assume all risk for your use. © 2002 Microsoft Corporation.
> All rights reserved.
> Use of included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
> Please reply to the newsgroups only.



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com