an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Installation > Database connection error
Last Post 3/26/2008 8:26:35 AM By lukezy. 1 replies.
3/26/2008 5:02:46 AM
Raolin
Posts: 1
Joined: 4/23/2008
Database connection error

Hi!

I tried DotShoppingCart on a WIndows 2008 Server. The Installation went fine, i installed without the eMail-Parameters.

Now i get following Errors:

<span>

Die von der Anmeldung angeforderte "dotshoppingcart"-Datenbank kann nicht geöffnet werden. Fehler bei der Anmeldung.
Fehler bei der Anmeldung für den Benutzer 'NT-AUTORITÄT\NETZWERKDIENST'.

[SqlException (0x80131904): Die von der Anmeldung angeforderte "dotshoppingcart"-Datenbank kann nicht geöffnet werden. Fehler bei der Anmeldung.
Fehler bei der Anmeldung für den Benutzer 'NT-AUTORITÄT\NETZWERKDIENST'.]
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +435
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
   System.Data.SqlClient.SqlConnection.Open() +111
   Microsoft.Practices.EnterpriseLibrary.Data.Database.OpenConnection() +136
   Microsoft.Practices.EnterpriseLibrary.Data.Database.DiscoverParameters(DbCommand command) +36
   Microsoft.Practices.EnterpriseLibrary.Data.ParameterCache.SetParameters(DbCommand command, Database database) +125
   Microsoft.Practices.EnterpriseLibrary.Data.Database.GetStoredProcCommand(String storedProcedureName, Object[] parameterValues) +84
   XShan.DotShoppingCart.Common.Object.Task.IsScheduledToRun(String host, String taskName, Int32 intervalInMiniute, Nullable`1 startAt) in D:\sites\PublicEdition\Common\Object\Task.cs:27
   XShan.DotShoppingCart.OrderPipeline.TaskProvider.Proccess(String host) in D:\sites\PublicEdition\OrderPipeline\OrderPipeline\TaskProvider.cs:48
   XShan.DotShoppingCart.OrderPipeline.ProcessorProvider.Run() in D:\sites\PublicEdition\OrderPipeline\OrderPipeline\ProcessorProvider.cs:32
   Microsoft.Practices.EnterpriseLibrary.Data.Database.OpenConnection() +136
   Microsoft.Practices.EnterpriseLibrary.Data.Database.DiscoverParameters(DbCommand command) +36
   Microsoft.Practices.EnterpriseLibrary.Data.ParameterCache.SetParameters(DbCommand command, Database database) +125
   Microsoft.Practices.EnterpriseLibrary.Data.Database.GetStoredProcCommand(String storedProcedureName, Object[] parameterValues) +84
   XShan.DotShoppingCart.Common.Object.DbFileBase.GetTimeStamp(String host, Object key, SqlCacheDependency& dep) in D:\sites\PublicEdition\Common\Object\DbFileBase.cs:90
   XShan.DotShoppingCart.Common.Object.DbFileBase.GetFile(String host, Object key) in D:\sites\PublicEdition\Common\Object\DbFileBase.cs:66
   XShan.DotShoppingCart.Common.DSCPage.OnPreInit(EventArgs e) in D:\sites\PublicEdition\Common\DSCPage.cs:45
   XShan.DotShoppingCart.OrderPipeline.RunnableProvider.StartRun() in D:\sites\PublicEdition\OrderPipeline\OrderPipeline\RunnableProvider.cs:43
   System.Threading.ThreadHelper.ThreadStart_Context(Object state) +58
   System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) +128
   System.Threading.ThreadHelper.ThreadStart() +63
 
Any help would be greatly appreciated.
Best regards
Raolin
</span>

3/26/2008 8:26:35 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Database connection error

Sorry, I cannot read that language. I guess it was saying "Network Service" doesn't have permission to access DB "dotshoppingcart", right? If so, try manually granting the permission to the account 'NT-AUTORITÄT\NETZWERKDIENST'.

DotShoppingCart Staff