Creating new CS2007 ASP.NET site fails
Two Windows Server 2003 systems, CS2007 and SQL2005 - both in the same domain depending on which adapter is enabled - but the box hosting Commerce Server is in the DMZ.
I have CS and SQL2005 configured just fine. I create a new project from VS2005 and it churns, churns, and churns, and eventually the wizard terminates and says something along the lines of "the unpacking process returned an error, see pup.log"
so I check Pup.log and the only error there is this:
Error importing object data for Transaction Config from file C:\Documents and Settings\Administrator\Local Settings\Temp\1\Transaction Config 80131501:The transaction has already been implicitly or explicitly committed or aborted.
WTH does that mean?
I have reproduced this over and over and if it weren't for the MSDN Forums I would have driven a nail through a thin part of my skull by now. Hopefully someone can help.
(BTW I had a slew of other errors trying to create the same site over and over again - you have to delete everything in CS Manager and IIS at the very least)
Thanks,
Dan Waters
P.S. Found this in the Application event log
Event Type: Error
Event Source: Commerce Server Orders
Event Category: None
Event ID: 4301
Date: 11/27/2006
Time: 5:10:43 PM
User: N/A
Computer: TESTCOMMERCE
Description:
Failed to import orders configuration data. System.Transactions.TransactionException: The transaction has already been implicitly or explicitly committed or aborted. > System.Runtime.InteropServices.COMException (0x8004D00E): The transaction has already been implicitly or explicitly committed or aborted (Exception from HRESULT: 0x8004D00E)
at System.Transactions.Oletx.ITransactionShim.Export(UInt32 whereaboutsSize, Byte[] whereabouts, Int32& cookieIndex, UInt32& cookieSize, CoTaskMemHandle& cookieBuffer)
at System.Transactions.TransactionInterop.GetExportCookie(Transaction transaction, Byte[] whereabouts)
End of inner exception stack trace
Server stack trace:
at System.Transactions.Oletx.OletxTransactionManager.ProxyException(COMException comException)
at System.Transactions.TransactionInterop.GetExportCookie(Transaction transaction, Byte[] whereabouts)
at System.Data.SqlClient.SqlInternalConnection.EnlistNonNull(Transaction tx)
at System.Data.SqlClient.SqlInternalConnection.Enlist(Transaction tx)
at System.Data.SqlClient.SqlInternalConnectionTds.Activate(Transaction transaction)
at System.Data.ProviderBase.DbConnectionInternal.ActivateConnection(Transaction transaction)
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at Microsoft.CommerceServer.Internal.Orders.MtsTxHelper.ExecuteSqlCommandNonQuery(String connStr, String commandText, ArrayList sqlParamNames, ArrayList sqlParamValues, Int32 timeout)
at System.Runtime.Remoting.Messaging.Message.Dispatch(Object target, Boolean fExecuteInContext)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.CommerceServer.Internal.Orders.MtsTxHelper.ExecuteSqlCommandNonQuery(String connStr, String commandText, ArrayList sqlParamNames, ArrayList sqlParamValues, Int32 timeout)
at Microsoft.CommerceServer.Orders.DataManagement.ServerOrderSystem.ImportRegionCodes(String txnConfigResourceConnectionString, DataTable regionCodesTable)
at Microsoft.CommerceServer.Orders.DataManagement.ServerOrderSystem.ImportConfigurationData(Stream stream, String txnConfigResourceConnectionString)
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

