Exception when running basket pipeline...
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 > Exception when running basket pipeline...




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

    Exception when running basket pipeline...  
ams8764@netscape.net


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


 
01-06-06 10:54 PM

We are using Commerce Server 2002 SP3 in an ASP.NET 1.1 application
running on Windows 2000 Advanced Server SP4.

We are getting an exception when running the basket pipeline (which is
the default pipeline, not a custom one).

This exception does not occur in all cases, only for one user and on
our production machine.

I copy hereafter the information I gathered from our exception catching
mecanism.

I would appreciate any help in a starting point to investigate this
issue.


1) Exception Information
 ****************************************
*****
Exception Type: OurApp.VorException
Message: Cannot run pipeline <basket> on PurchaseOrder with
ID=75dc550e-d1af-4ac2-b79e-525cff37968c

2) Exception Information
 ****************************************
*****
Exception Type: System.Configuration.ConfigurationException
Message: The message for the resource id ur_badpayment was not found in
the specified resources. (X:\XYZ\web.config line 152)
BareMessage: The message for the resource id ur_badpayment was not
found in the specified resources.
Filename: X:\XYZ\web.config
Line: 152
TargetSite: System.Object Evaluate(System.String,
System.Web.Configuration.SectionRecord)
HelpLink: NULL
Source: System.Web

StackTrace Information
 ****************************************
*****
at System.Web.Configuration.HttpConfigurationRecord.Evaluate(String
configKey, SectionRecord section)
at System.Web.Configuration.HttpConfigurationRecord.GetConfig(String
configKey, Boolean cacheResult)
at System.Web.Configuration.HttpConfigurationRecord.GetConfig(String
configKey, Boolean cacheResult)
at System.Web.Configuration.HttpConfigurationRecord.GetConfig(String
configKey, Boolean cacheResult)
at System.Web.HttpContext.GetConfig(String name)
at
Microsoft.CommerceServer.Runtime.CommerceApplicationModule.get_MessageManage
r()
at Microsoft.CommerceServer.Runtime.Orders.PipelineInfo..ctor(String
pipelineName)
at OurApp.RunPipeline(PurchaseOrder pOrder)
 ****************************************
*****

We do have MessageManager strings defined in a satellite assembly, but
for the "pur_badpayment " string, not for "ur_badpayment ".

Thanks in advance,

AMS






[ Post a follow-up to this message ]



    RE: Exception when running basket pipeline...  
Ravi Shankar


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


 
01-09-06 10:57 PM

Hi ams8764,

Looks like you're executing a purchaseorder.runpipeline("basket.pcf") call
somewhere in your code. If for some reason you want to operate on the
purchase order object again, you should load the PO into the basket using th
e
basket.Load(PurchaseOrder) call and then run
basket.runpipeline("basket.pcf")... If you're doing this as part of order
modification then you should typically cancel the previous PO using the
"status_code" variable and post reconfirmation of the basket persist it as a
new PO object (remember you can persist a po with the same tracking number a
s
the cancelled PO is you wish)

Hope this helps.
--
Ravi Shankar


"ams8764@netscape.net" wrote:

> We are using Commerce Server 2002 SP3 in an ASP.NET 1.1 application
> running on Windows 2000 Advanced Server SP4.
>
> We are getting an exception when running the basket pipeline (which is
> the default pipeline, not a custom one).
>
> This exception does not occur in all cases, only for one user and on
> our production machine.
>
> I copy hereafter the information I gathered from our exception catching
> mecanism.
>
> I would appreciate any help in a starting point to investigate this
> issue.
>
>
> 1) Exception Information
>  ****************************************
*****
> Exception Type: OurApp.VorException
> Message: Cannot run pipeline <basket> on PurchaseOrder with
> ID=75dc550e-d1af-4ac2-b79e-525cff37968c
>
> 2) Exception Information
>  ****************************************
*****
> Exception Type: System.Configuration.ConfigurationException
> Message: The message for the resource id ur_badpayment was not found in
> the specified resources. (X:\XYZ\web.config line 152)
> BareMessage: The message for the resource id ur_badpayment was not
> found in the specified resources.
> Filename: X:\XYZ\web.config
> Line: 152
> TargetSite: System.Object Evaluate(System.String,
> System.Web.Configuration.SectionRecord)
> HelpLink: NULL
> Source: System.Web
>
> StackTrace Information
>  ****************************************
*****
> at System.Web.Configuration.HttpConfigurationRecord.Evaluate(String
> configKey, SectionRecord section)
> at System.Web.Configuration.HttpConfigurationRecord.GetConfig(String
> configKey, Boolean cacheResult)
> at System.Web.Configuration.HttpConfigurationRecord.GetConfig(String
> configKey, Boolean cacheResult)
> at System.Web.Configuration.HttpConfigurationRecord.GetConfig(String
> configKey, Boolean cacheResult)
> at System.Web.HttpContext.GetConfig(String name)
> at
> Microsoft.CommerceServer.Runtime.CommerceApplicationModule.get_MessageMana
ger()
> at Microsoft.CommerceServer.Runtime.Orders.PipelineInfo..ctor(String
> pipelineName)
> at OurApp.RunPipeline(PurchaseOrder pOrder)
>  ****************************************
*****
>
> We do have MessageManager strings defined in a satellite assembly, but
> for the "pur_badpayment " string, not for "ur_badpayment ".
>
> Thanks in advance,
>
> AMS
>
>





[ Post a follow-up to this message ]



    Re: Exception when running basket pipeline...  
Quinn Wilson


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


 
01-19-06 12:58 PM

Ravi Shankar wrote:
> Hi ams8764,
>
> Looks like you're executing a purchaseorder.runpipeline("basket.pcf") call
> somewhere in your code. If for some reason you want to operate on the
> purchase order object again, you should load the PO into the basket using 
the
> basket.Load(PurchaseOrder) call and then run
> basket.runpipeline("basket.pcf")... If you're doing this as part of order
> modification then you should typically cancel the previous PO using the
> "status_code" variable and post reconfirmation of the basket persist it as
 a
> new PO object (remember you can persist a po with the same tracking number
 as
> the cancelled PO is you wish)

Hi Ravi. Is this what you do? I also need to make order modifications.
What does this do? Create a new order using the same ordergroup_id ? new
ordergroup_id ? Can you elaborate on what you do? Or provide some reference?

>
> Hope this helps.





[ Post a follow-up to this message ]



    Re: Exception when running basket pipeline...  
Ravi Shankar


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


 
01-21-06 07:48 AM

Hi Quinn,

Yes, this is the process we followed at our site. The Order Modification was
treated as a combination of order cancellation and creation of new order. To
achieve this we followed the step as

1. When the user wishes to modify their order the existing order is marked
as cancelled (only if the user was allowed.. what happened was the backoffic
e
updated the order status based on the order state. So once the order was
released for picking the user was to be prevented from modification.. the
user could return the complete order and this was handled as part of the
sales return process ). This was achieved by setting the
"order_status_code" to 8 (a code we created for deleted)
2. The order deletion was communicated to the backend system
3. The ordergroup was loaded into the users basket using the
basket.add(ordergroup) call. The addresses speciied in the order were
reloaded into the ordergroup.addresses collection.
4. The user was redirected to the basket page (after execution of the
basket pipeline which re-evaluates the discounts, promotions, etc)
5. Once the user confirms, they were sent through the same order
confirmation stages as for a new order (shipping, credit, etc) and a new
order was logged in the system.

In our system, since it was cash on delivery we did not face much issues
pertaining to payments, but it is my opinion that the payments would need to
be addressed in terms of refund or execess over authorised amount somewhere
in the checkout process...

There is no reference (to my knowledge) to which I can direct you to. We
used the business process as defined to provide this functionality.
--
Ravi Shankar


"Quinn Wilson" wrote:

> Ravi Shankar wrote: 
>
> Hi Ravi. Is this what you do? I also need to make order modifications.
> What does this do? Create a new order using the same ordergroup_id ? new
> ordergroup_id ? Can you elaborate on what you do? Or provide some referenc
e?
> 
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:02 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