Wrox Programmer Forums
|
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 March 17th, 2008, 10:02 PM
Authorized User
 
Join Date: Sep 2007
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default It has error when submit order

when i submit order it has error "Server Error in '/TBH_Web' Application.
--------------------------------------------------------------------------------

MSDTC on server 'WIN06V9\1982F005-9F78-46' is unavailable.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: MSDTC on server 'WIN06V9\1982F005-9F78-46' is unavailable.

Source Error:


Line 519: cmd.Parameters.Add("@Quantity", SqlDbType.Int).Value = orderItem.Quantity
Line 520: cmd.Parameters.Add("@OrderItemID", SqlDbType.Int).Direction = ParameterDirection.Output
Line 521: cn.Open()
Line 522: Dim ret As Integer = ExecuteNonQuery(cmd)
Line 523: Return CInt(cmd.Parameters("@OrderItemID").Value)

" why error occor, and how i can solve this proplem
                                 thank

 
Old March 17th, 2008, 11:14 PM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

The Store module uses transactions. If you are running in a cluster environment and the host node gets rebooted, it can turn the MSDTC service off. Try turning the MSDTC service back on by clicking Start > Settings > Control Panel > Administrative Tools > Services. Find the service called 'Distributed Transaction Coordinator', right click on it, and select > Start.

 
Old March 18th, 2008, 08:55 PM
Authorized User
 
Join Date: Sep 2007
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes, i can solve this problem, thank very much






Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR 145: ORDER BY ITEMS... SELECT DISTINCT... tbaquero SQL Server 2000 7 May 8th, 2008 02:30 AM
error when trying to submit form to access gillrajb Infopath 0 June 8th, 2007 02:06 PM
How do I flag an error message on a Submit button? Lucy Javascript How-To 1 January 21st, 2005 06:24 AM
plz help me out - form submit error marsali2004 General .NET 5 July 1st, 2004 12:48 PM
How can we submit a form without a submit butto phpsharma BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 4 October 20th, 2003 08:50 AM





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