Dataconnection in VS2008 generating error

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
Odettes
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 102
Joined: Wed Apr 02, 2008 11:00 am
Location: Stockholm, Sweden
Contact:

Dataconnection in VS2008 generating error

Post by Odettes » Tue Jun 24, 2008 4:46 pm

Hi!

If i open Data Connections in the Server Explorer of VS2008 and look around in the tables area my website stops to work and generates this output:
Server Error in '/' Application.
--------------------------------------------------------------------------------

Cannot open user default database. Login failed.
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.
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: Cannot open user default database. Login failed.
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[SqlException (0x80131904): Cannot open user default database. Login failed.
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.]
CommerceBuilder.Common.Token.get_Instance() +463
CommerceBuilder.Stores.AuditEventDataSource.CountForStore() +9
CommerceBuilder.Services.AbleCommerceHttpModule.Init(HttpApplication context) +230
System.Web.HttpApplication.InitModulesCommon() +66
System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1006
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +259
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +114
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +350

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
The only way to get the site to work again is to shutdown VS2008.
I guess Im missing some kind of setting in the database or soo?
Any idees?

Best regards, Thomas
Sincerely,
Thomas Berglund

https://traileronline.se
AbleCommerce Gold R11 Custom

Post Reply