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 December 2nd, 2007, 08:44 AM
Registered User
 
Join Date: Nov 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem With MSDTC

Server Error in '/TBH_Web' Application.
--------------------------------------------------------------------------------

MSDTC on server 'S10025564\9C361DC6-B0E8-4D' 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 'S10025564\9C361DC6-B0E8-4D' 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: d:\Project (FyP)\EbuzzFinal\EBuzz\TBH_Web\App_Code\DAL\SqlCli ent\SqlStoreProvider.cs Line: 660

Stack Trace:


[SqlException (0x80131904): MSDTC on server 'S10025564\9C361DC6-B0E8-4D' is unavailable.]
   System.Data.SqlClient.SqlConnection.OnError(SqlExc eption exception, Boolean breakConnection) +177
   System.Data.SqlClient.SqlInternalConnection.OnErro r(SqlException exception, Boolean breakConnection) +68
   System.Data.SqlClient.TdsParser.ThrowExceptionAndW arning(TdsParserStateObject stateObj) +199
   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2414
   System.Data.SqlClient.SqlDataReader.ConsumeMetaDat a() +31
   System.Data.SqlClient.SqlDataReader.get_MetaData() +62
   System.Data.SqlClient.TdsParser.TdsExecuteTransact ionManagerRequest(Byte[] buffer, TransactionManagerRequestType request, String transactionName, TransactionManagerIsolationLevel isoLevel, Int32 timeout, SqlInternalTransaction transaction, TdsParserStateObject stateObj) +602
   System.Data.SqlClient.TdsParser.GetDTCAddress(Int3 2 timeout, TdsParserStateObject stateObj) +41
   System.Data.SqlClient.SqlInternalConnectionTds.Get DTCAddress() +26
   System.Data.SqlClient.SqlInternalConnection.Enlist NonNull(Transaction tx) +444
   System.Data.SqlClient.SqlInternalConnection.Enlist (Transaction tx) +50
   System.Data.SqlClient.SqlInternalConnectionTds.Act ivate(Transaction transaction) +47
   System.Data.ProviderBase.DbConnectionInternal.Acti vateConnection(Transaction transaction) +28
   System.Data.ProviderBase.DbConnectionPool.GetConne ction(DbConnection owningObject) +1242
   System.Data.ProviderBase.DbConnectionFactory.GetCo nnection(DbConnection owningConnection) +85
   System.Data.ProviderBase.DbConnectionClosed.OpenCo nnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +89
   System.Data.SqlClient.SqlConnection.Open() +160
   MB.EBuzz.DAL.SqlClient.SqlStoreProvider.InsertOrde rItem(OrderItemDetails orderItem) in d:\Project (FyP)\EbuzzFinal\EBuzz\TBH_Web\App_Code\DAL\SqlCli ent\SqlStoreProvider.cs:660
   MB.EBuzz.BLL.Store.Order.InsertOrder(ShoppingCart shoppingCart, String shippingMethod, Decimal shipping, String shippingFirstName, String shippingLastName, String shippingStreet, String shippingPostalCode, String shippingCity, String shippingState, String shippingCountry, String customerEmail, String customerPhone, String customerFax, String transactionID) in d:\Project (FyP)\EbuzzFinal\EBuzz\TBH_Web\App_Code\BLL\Store\ Order.cs:371
   MB.EBuzz.UI.ShoppingCart.wizSubmitOrder_FinishButt onClick(Object sender, WizardNavigationEventArgs e) in d:\Project (FyP)\EbuzzFinal\EBuzz\TBH_Web\ShoppingCart.aspx.c s:87
   System.Web.UI.WebControls.Wizard.OnFinishButtonCli ck(WizardNavigationEventArgs e) +75
   System.Web.UI.WebControls.Wizard.OnBubbleEvent(Obj ect source, EventArgs e) +620
   System.Web.UI.WebControls.WizardChildTable.OnBubbl eEvent(Object source, EventArgs args) +17
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35
   System.Web.UI.WebControls.LinkButton.OnCommand(Com mandEventArgs e) +85
   System.Web.UI.WebControls.LinkButton.RaisePostBack Event(String eventArgument) +155
   System.Web.UI.WebControls.LinkButton.System.Web.UI .IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +11
   System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +172
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4920



what does this mean??
anyone can help?
i am doing the very last part le
but keep having this problem

 
Old December 2nd, 2007, 10:24 AM
Authorized User
 
Join Date: Nov 2007
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
Default

make sure that the dtc service is running on that server.






Similar Threads
Thread Thread Starter Forum Replies Last Post
"MSDTC on server 'N\2984CABA-D249-43' is unavailab nesrine SQL Server DTS 1 April 23rd, 2007 11:32 AM
MSDTC Issue swapnil06 Biztalk 1 February 6th, 2007 08:10 PM





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