an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > Can i have two versions of DotShoppingCart runn...
Last Post 1/25/2010 9:55:04 PM By lukezy. 1 replies.
1/25/2010 1:48:24 PM
bansal_db
Posts: 181
Joined: 4/13/2009
Can i have two versions of DotShoppingCart running on the same box?
Hey Luke,
 
I have ver3.1 and 4.0 running on the development machine.
 
Would this cause any problem? I installed orderpipeline only once though (with 3.1).
 
I am getting some errors on the machine because of orderpipeline service. If i keep it stopped, machine is working fine. Whenever i start the orderpipeline service, the CPU performance goes 100%. Here is the error log that i found in event log.
 
Can you please help?
 
Thanks
 
 
Timestamp: 1/25/2010 9:43:42 PM
Message: Tracing to LogSource 'General' failed. Processing for other sources will continue. See summary information below for more information. Should this problem persist, stop the service and check the configuration file(s) for possible error(s) in the configuration of the categories and sinks.


Summary for Enterprise Library Distributor Service:
======================================
-->
Message:
Timestamp: 1/25/2010 9:43:42 PM
Message: HandlingInstanceID: 4ee92efc-5a3b-4e7b-9f84-a3f691fba59a
An exception of type 'System.Data.SqlClient.SqlException' occurred and was caught.
----------------------------------------------------------------------------------
01/25/2010 16:43:42
Type : System.Data.SqlClient.SqlException, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Source : .Net SqlClient Data Provider
Help link :
Errors : System.Data.SqlClient.SqlErrorCollection
Class : 20
LineNumber : 0
Number : 2
Procedure :
Server :
State : 0
ErrorCode : -2146232060
Data : System.Collections.ListDictionaryInternal
TargetSite : Void OnError(System.Data.SqlClient.SqlException, Boolean)
Stack Trace :    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject)
   at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
   at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
   at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
   at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
   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 SqlDependencyProcessDispatcher.SqlConnectionContainer..ctor(SqlConnectionContainerHashHelper hashHelper, String appDomainKey, Boolean useDefaults)
   at SqlDependencyProcessDispatcher.Start(String connectionString, String& server, DbConnectionPoolIdentity& identity, String& user, String& database, String& queueService, String appDomainKey, SqlDependencyPerAppDomainDispatcher dispatcher, Boolean& errorOccurred, Boolean& appDomainStart, Boolean useDefaults)
   at SqlDependencyProcessDispatcher.StartWithDefault(String connectionString, String& server, DbConnectionPoolIdentity& identity, String& user, String& database, String& service, String appDomainKey, SqlDependencyPerAppDomainDispatcher dispatcher, Boolean& errorOccurred, Boolean& appDomainStart)
   at System.Data.SqlClient.SqlDependency.Start(String connectionString, String queue, Boolean useDefaults)
   at System.Data.SqlClient.SqlDependency.Start(String connectionString)
   at DotShoppingCart.Commercial.Base.DBController.GetSqlCacheDependency(String host, SqlCommand cmd)
   at DotShoppingCart.Commercial.Core.OrderPipelineProcessor.GetAll(String host)
   at DotShoppingCart.Commercial.Core.OrderPipelineProcessor.GetConfiguredProcessors(String host, String orderPipeline)
   at DotShoppingCart.Commercial.Core.OrderPipelineProcessor.GetAllConfiguredProcessors(String host)
   at DotShoppingCart.Commercial.OrderPipeline.OrderProcessorProvider.Proccess(String host, IConfigurationSource cfgSrc)
   at DotShoppingCart.Commercial.OrderPipeline.ProcessorProvider.Run()
   at DotShoppingCart.Commercial.OrderPipeline.RunnableProvider.StartRun()

Additional Info:

MachineName : DEV-MACHINE
TimeStamp : 1/25/2010 9:43:42 PM
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null
AppDomainName : DotShoppingCart.Commercial.OrderPipelineService.exe
ThreadIdentity :
WindowsIdentity : CELLUCOM\Administrator

Category: General
Priority: 0
EventId: 100
Severity: Error
Title:Enterprise Library Exception Handling
Machine: DEV-MACHINE
App Domain: DotShoppingCart.Commercial.OrderPipelineService.exe
ProcessId: 3136
Process Name: C:\DSC\Install\OrderPipeline\DotShoppingCart.Commercial.OrderPipelineService.exe
Thread Name:
Win32 ThreadId:3188
Extended Properties: HelpLink.ProdName - Microsoft SQL Server
HelpLink.EvtSrc - MSSQLServer
HelpLink.EvtID - 2
HelpLink.BaseHelpUrl - http://go.microsoft.com/fwlink
HelpLink.LinkId - 20476
host - dsc

--> MachineName: DEV-MACHINE
--> TimeStamp: 1/25/2010 9:43:42 PM
--> FullName: Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null
--> AppDomainName: DotShoppingCart.Commercial.OrderPipelineService.exe
--> WindowsIdentity: CELLUCOM\Administrator

Exception Information Details:
======================================
Exception Type: System.ArgumentException
Message: The parameter 'address' cannot be an empty string.
Parameter name: address
ParamName: address
Data: System.Collections.ListDictionaryInternal
TargetSite: Void .ctor(System.String, System.String, System.Text.Encoding)
HelpLink: NULL
Source: System

StackTrace Information Details:
======================================
   at System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding)
   at System.Net.Mail.MailAddress..ctor(String address)
   at Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.EmailMessage.CreateMailMessage()
   at Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.EmailMessage.Send()
   at Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.EmailTraceListener.TraceData(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, Object data)
   at Microsoft.Practices.EnterpriseLibrary.Logging.LogSource.TraceData(TraceEventType eventType, Int32 id, LogEntry logEntry, TraceListenerFilter traceListenerFilter)
   at Microsoft.Practices.EnterpriseLibrary.Logging.LogWriter.ProcessLog(LogEntry log)
Category:
Priority: -1
EventId: 6352
Severity: Error
Title:
Machine: DEV-MACHINE
Application Domain: DotShoppingCart.Commercial.OrderPipelineService.exe
Process Id: 3136
Process Name: C:\DSC\Install\OrderPipeline\DotShoppingCart.Commercial.OrderPipelineService.exe
Win32 Thread Id: 3188
Thread Name:
Extended Properties:

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
1/25/2010 9:55:04 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Can i have two versions of DotShoppingCart running on the same box?
Yes, you can have both versions of web sites running on your dev box. But only one version of OrderPipeline service can run on your box. If you want to run both versions of OrerPipeline service you will have to change the service name for the second one so that they won't conflict with each other. I would suggest you only run V4 version.
DotShoppingCart Staff