
Veteran
Joined: Jul 2009
Posts: 4077
Location: Florida |
#1 Posted: 3/7/2012 7:00:03 PM Server Error in '/' Application.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)
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:
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 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): 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)]
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +706
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +89
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +6372046
System.Data.SqlClient.SqlConnection.Open() +300
Spring.Data.Support.ConnectionUtils.DoGetConnection(IDbProvider provider) +238
Spring.Data.Support.ConnectionUtils.GetConnectionTxPair(IDbProvider provider) +37
[CannotGetAdoConnectionException: Could not get ADO.NET connection.]
Spring.Data.Support.ConnectionUtils.GetConnectionTxPair(IDbProvider provider) +135
Spring.Data.Core.AdoTemplate.Execute(ICommandCallback action) +97
Spring.Data.Core.AdoTemplate.DeriveParameters(String procedureName, Boolean includeReturnParameter) +96
Spring.Data.Objects.Generic.StoredProcedure.DeriveParameters(Boolean includeReturnParameter) +33
Covers.Common.Authentication.Domain.Repository.GetUserByIdSp..ctor(IDbProvider dbProvider) +93
Covers.Common.Authentication.Domain.Repository.UserRepository..ctor(IDbProvider dbProvider) +108
_dynamic_Covers.Common.Authentication.Domain.Repository.UserRepository..ctor(Object[] ) +60
Spring.Util.ObjectUtils.InstantiateType(ConstructorInfo constructor, Object[] arguments) +457
[FatalReflectionException: Cannot instantiate Type [Covers.Common.Authentication.Domain.Repository.UserRepository] using ctor [Void .ctor(Spring.Data.Common.IDbProvider)] : 'Could not get ADO.NET connection.']
Spring.Util.ObjectUtils.InstantiateType(ConstructorInfo constructor, Object[] arguments) +1280
Spring.Objects.Factory.Support.ConstructorResolver.AutowireConstructor(String objectName, RootObjectDefinition rod, ConstructorInfo[] chosenCtors, Object[] explicitArgs) +134
Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory.CreateObjectInstance(String objectName, RootObjectDefinition objectDefinition, Object[] arguments) +278
Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory.InstantiateObject(String name, RootObjectDefinition definition, Object[] arguments, Boolean allowEagerCaching, Boolean suppressConfigure) +667
[ObjectCreationException: Error creating object with name 'UserRepository' defined in 'assembly [Covers.Common.Authentication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null], resource [Covers.Common.Authentication.Infrastructure.Spring.dao.xml] line 11' : Initialization of object failed : Cannot instantiate Type [Covers.Common.Authentication.Domain.Repository.UserRepository] using ctor [Void .ctor(Spring.Data.Common.IDbProvider)] : 'Could not get ADO.NET connection.']
Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory.InstantiateObject(String name, RootObjectDefinition definition, Object[] arguments, Boolean allowEagerCaching, Boolean suppressConfigure) +1419
Spring.Objects.Factory.Support.AbstractObjectFactory.CreateAndCacheSingletonInstance(String objectName, RootObjectDefinition objectDefinition, Object[] arguments) +415
Spring.Objects.Factory.Support.AbstractObjectFactory.GetObjectInternal(String name, Type requiredType, Object[] arguments, Boolean suppressConfigure) +2216
Spring.Objects.Factory.Support.DefaultListableObjectFactory.PreInstantiateSingletons() +884
Spring.Context.Support.AbstractApplicationContext.Refresh() +1227
Spring.Context.Support.WebApplicationContext..ctor(WebApplicationContextArgs args) +164
_dynamic_Spring.Context.Support.WebApplicationContext..ctor(Object[] ) +228
Spring.Context.Support.RootContextInstantiator.InvokeContextConstructor(ConstructorInfo ctor) +168
Spring.Context.Support.ContextInstantiator.InstantiateContext() +68
Spring.Context.Support.WebContextHandler.InstantiateContext(IApplicationContext parent, Object configContext, String contextName, Type contextType, Boolean caseSensitive, String[] resources) +409
Spring.Context.Support.ContextHandler.Create(Object parent, Object configContext, XmlNode section) +514
[
|
|