Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 20th, 2009, 11:04 AM
Registered User
Points: 20, Level: 1
Points: 20, Level: 1 Points: 20, Level: 1 Points: 20, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with the sending order to paypal

Someone please help! I am getting this problem when I click on ORDER SUBMIT link to send order to paypal for processing.

The partner transaction manager has disabled its support for remote/network transactions. (Exception from HRESULT: 0x8004D025)

Line 658: cmd.Parameters.Add("@Quantity", SqlDbType.Int).Value = orderItem.Quantity;Line 659: cmd.Parameters.Add("@OrderItemID", SqlDbType.Int).Direction = ParameterDirection.Output;Line 660: cn.Open();Line 661: int ret = ExecuteNonQuery(cmd);Line 662: return (int)cmd.Parameters["@OrderItemID"].Value;

Can anyone please tell me how to resovle this problem.
 
Old October 23rd, 2009, 08:09 AM
Registered User
Points: 20, Level: 1
Points: 20, Level: 1 Points: 20, Level: 1 Points: 20, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by squatter42 View Post
Someone please help! I am getting this problem when I click on ORDER SUBMIT link to send order to paypal for processing.

The partner transaction manager has disabled its support for remote/network transactions. (Exception from HRESULT: 0x8004D025)

Line 658: cmd.Parameters.Add("@Quantity", SqlDbType.Int).Value = orderItem.Quantity;Line 659: cmd.Parameters.Add("@OrderItemID", SqlDbType.Int).Direction = ParameterDirection.Output;Line 660: cn.Open();Line 661: int ret = ExecuteNonQuery(cmd);Line 662: return (int)cmd.Parameters["@OrderItemID"].Value;

Can anyone please tell me how to resovle this problem.
This problem has been resolved by setting up a new transactionScope in the App_Code/BLL/Store/Order.cs.




Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with order of application of styles hertendreef ASP.NET 2.0 Basics 0 May 15th, 2007 03:28 AM
SQL "Order By" problem bear88 SQL Language 3 April 13th, 2005 10:45 AM
SQL "Order By" problem bear88 SQL Language 1 April 12th, 2005 12:18 AM
Descending order Query problem dssachdeva SQL Language 1 September 17th, 2003 11:44 AM
Desc order problem dssachdeva Oracle 0 September 17th, 2003 04:42 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.