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 June 8th, 2006, 09:06 AM
Registered User
 
Join Date: Jun 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to newbie_inasp2.0
Default Error in Saving Ordered Items

I encountered an error when I tried to save (submit order) the items in the solution at the line:

cn.Open();

- from the public override int InsertOrderItem(OrderItemDetails orderItem) method.

The error message was:

MSDTC on server 'RS2H-LAP1154\DCF57AFB-1738-40' is unavailable.

I've tried it on both my WinXP Home and Win2000 Pro PCs but it produced the same error.

Can somebody help me with this?

Thanks.


 
Old August 12th, 2007, 06:00 AM
Authorized User
 
Join Date: Aug 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Has anyone got any ideas on this previous post as it appears I have the same problem


cheers

 
Old August 12th, 2007, 06:02 AM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 488
Thanks: 2
Thanked 11 Times in 10 Posts
Default

MSDTC on server 'RS2H-LAP1154\DCF57AFB-1738-40' is unavailable.

This is the microsoft distributed transaction server. Try a google on that and see if you can find any links. from the brief description, it would appear that either you (or your hosters) transaction server service is either disabled or not running (or not installed).

jimi

http://www.jamestollan.com
 
Old August 12th, 2007, 06:09 AM
Authorized User
 
Join Date: Aug 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I know nothing about the "transaction server service", what a "google" is, all I know is everyting works perfect on my own machine, this happens using server EXPRESS and IIS and it happens with my custom code and the Beerhouse code, most embarrising

again


 
Old August 12th, 2007, 06:16 AM
Authorized User
 
Join Date: Aug 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

"everything works perfect" that is until I reach this point in the code, this results in this message

MSDTC on server '*******\A5D66880-F45D-47' 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 '********\A5D66880-F45D-47' is unavailable.

Source Error:


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;


Source File: c:\Documents and Settings\******\My Documents\TheBeerHouse\TBH_Web\App_Code\DAL\SqlCli ent\SqlStoreProvider.cs Line: 660


 
Old August 12th, 2007, 08:08 AM
Authorized User
 
Join Date: Aug 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorted.......eventually worked it out

:)

 
Old August 22nd, 2007, 05:11 PM
Registered User
 
Join Date: Aug 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello gb012993,
Can you please share the resolution? I have the same issue.



Thanks
Prasad





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 for saving data csharpa SQL Server 2005 0 February 21st, 2007 07:48 AM
SELECT list re-ordered stuart.pinfold Classic ASP Basics 0 January 24th, 2007 02:36 PM
Append String to an ordered list item mat41 HTML Code Clinic 8 October 8th, 2004 09:25 PM
Saving Listbox Items antonducabre VB.NET 2002/2003 Basics 1 July 16th, 2003 12:46 PM





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